├── .eslintignore
├── .eslintrc.js
├── .gitattributes
├── .github
├── ISSUE_TEMPLATE
│ └── bug_report.md
└── PULL_REQUEST_TEMPLATE.md
├── .gitignore
├── .npmignore
├── .prettierrc.json
├── .watchmanconfig
├── LICENSE.md
├── PeekAndPop.podspec
├── README.md
├── commitlint.config.js
├── example
├── .buckconfig
├── .gitattributes
├── .gitignore
├── App.tsx
├── __tests__
│ └── App-test.js
├── android
│ ├── app
│ │ ├── BUCK
│ │ ├── build.gradle
│ │ ├── build_defs.bzl
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── debug
│ │ │ └── AndroidManifest.xml
│ │ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ ├── 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
│ ├── example-tvOS
│ │ └── Info.plist
│ ├── example-tvOSTests
│ │ └── Info.plist
│ ├── example.xcodeproj
│ │ ├── project.pbxproj
│ │ └── xcshareddata
│ │ │ └── xcschemes
│ │ │ ├── example-tvOS.xcscheme
│ │ │ └── example.xcscheme
│ ├── example
│ │ ├── AppDelegate.h
│ │ ├── AppDelegate.m
│ │ ├── Base.lproj
│ │ │ └── LaunchScreen.xib
│ │ ├── Images.xcassets
│ │ │ ├── AppIcon.appiconset
│ │ │ │ └── Contents.json
│ │ │ └── Contents.json
│ │ ├── Info.plist
│ │ └── main.m
│ └── exampleTests
│ │ ├── Info.plist
│ │ └── exampleTests.m
├── metro.config.js
├── package.json
└── yarn.lock
├── ios
├── PeekAndPop.h
├── PeekAndPop.m
├── PeekAndPop.xcodeproj
│ └── project.pbxproj
└── PeekAndPop.xcworkspace
│ └── contents.xcworkspacedata
├── package.json
├── src
└── index.tsx
├── tsconfig.json
└── yarn.lock
/.eslintignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 |
3 | # generated by bob
4 | lib/
5 |
--------------------------------------------------------------------------------
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | extends: ['@react-native-community'],
3 | };
4 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about:
4 | Please search the existing issues and read the documentation before opening
5 | an issue.
6 | title: ''
7 | labels: bug
8 | assignees: ''
9 | ---
10 |
11 |
12 |
13 | ### Current behaviour
14 |
15 |
16 |
17 | ### Expected behaviour
18 |
19 |
20 |
21 | ### Code sample
22 |
23 |
24 |
25 | ### Screenshots (if applicable)
26 |
27 |
28 |
29 | ### What have you tried
30 |
31 |
32 |
33 | ### Your Environment
34 |
35 | | software | version |
36 | | ------------------------------------ | ------- |
37 | | ios |
38 | | react-native |
39 | | @react-native-community/peek-and-pop |
40 | | node |
41 | | npm or yarn |
42 |
--------------------------------------------------------------------------------
/.github/PULL_REQUEST_TEMPLATE.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ### Motivation
5 |
6 |
7 |
8 | ### Test plan
9 |
10 |
11 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # OSX
2 | #
3 | .DS_Store
4 |
5 | # node.js
6 | #
7 | node_modules/
8 | npm-debug.log
9 | yarn-error.log
10 |
11 | # Xcode
12 | #
13 | build/
14 | *.pbxuser
15 | !default.pbxuser
16 | *.mode1v3
17 | !default.mode1v3
18 | *.mode2v3
19 | !default.mode2v3
20 | *.perspectivev3
21 | !default.perspectivev3
22 | xcuserdata
23 | *.xccheckout
24 | *.moved-aside
25 | DerivedData
26 | *.hmap
27 | *.ipa
28 | *.xcuserstate
29 | project.xcworkspace
30 |
31 | # generated by bob
32 | lib/
33 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | example
2 |
--------------------------------------------------------------------------------
/.prettierrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "singleQuote": true,
3 | "tabWidth": 2,
4 | "trailingComma": "es5",
5 | "useTabs": false
6 | }
7 |
--------------------------------------------------------------------------------
/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 React Native Community
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 |
--------------------------------------------------------------------------------
/PeekAndPop.podspec:
--------------------------------------------------------------------------------
1 | require "json"
2 |
3 | package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4 |
5 | Pod::Spec.new do |s|
6 | s.name = "PeekAndPop"
7 | s.version = package["version"]
8 | s.summary = package["description"]
9 | s.description = <<-DESC
10 | PeekAndPop
11 | DESC
12 | s.homepage = "https://github.com/author/PeekAndPop"
13 | s.license = "MIT"
14 | # s.license = { :type => "MIT", :file => "FILE_LICENSE" }
15 | s.author = { "author" => "author@domain.cn" }
16 | s.platform = :ios, "7.0"
17 | s.source = { :git => "https://github.com/author/PeekAndPop.git", :tag => "#{s.version}" }
18 |
19 | s.source_files = "ios/**/*.{h,m}"
20 | s.requires_arc = true
21 |
22 | s.dependency "React"
23 | #s.dependency "others"
24 | end
25 |
26 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # @react-native-community/peek-and-pop
2 |
3 | React Native component which exposes the Peek and Pop pattern on iOS.
4 |
5 | ## Getting started
6 |
7 | ### Installation
8 |
9 | Open a Terminal in the project root and run:
10 |
11 | ```sh
12 | yarn add @react-native-community/peek-and-pop
13 | ```
14 |
15 | Or if you use `npm`:
16 |
17 | ```sh
18 | npm install @react-native-community/peek-and-pop --save
19 | ```
20 |
21 | ### Linking
22 |
23 | The library includes native code and needs to be linked. If you're using React Native 0.60+, then this step should be fully automatic. Otherwise, you'll need to link the library with one of the following methods:
24 |
25 | #### Mostly automatic linking
26 |
27 | ```
28 | # RN >= 0.60
29 | npx pod-install
30 |
31 | # RN < 0.60
32 | react-native link @react-native-community/peek-and-pop
33 | ```
34 |
35 | #### Manual linking (iOS)
36 |
37 | 1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`
38 | 2. Go to `node_modules` ➜ `@react-native-community/peek-and-pop` and add `PeekAndPop.xcodeproj`
39 | 3. In XCode, in the project navigator, select your project. Add `libPeekAndPop.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`
40 | 4. Run your project (`Cmd+R`)<
41 |
42 | ## Usage
43 |
44 | ```js
45 | import * as React from 'react';
46 | import { View } from 'react-native';
47 | import PeekAndPop from '@react-native-community/peek-and-pop';
48 |
49 | export default function App() {
50 | return (
51 | (
53 |
56 | )}
57 | >
58 |
65 |
66 | );
67 | }
68 | ```
69 |
70 | ## API reference
71 |
72 | The package exports the `PeekAndPop` component as the default export. It can be used to wrap any component to provide the peek and pop behavior for the component.
73 |
74 | The component accepts the following props:
75 |
76 | ### `renderPreview` (required)
77 |
78 | Callback which returns a React element to display as the preview on the force touch gesture.
79 |
80 | ```js
81 | renderPreview={() => (
82 | This text will be shown on force touch
83 | )}
84 | ```
85 |
86 | ### `onPeek`
87 |
88 | Callback which is called when a peek is triggered, i.e. the preview is shown.
89 |
90 | ```js
91 | onPeek={() => console.log('Peeked')}
92 | ```
93 |
94 | ### `onPop`
95 |
96 | Callback which is called when a pop is triggered, i.e. the user lifts their finger.
97 |
98 | ```js
99 | onPop={() => console.log('Popped')}
100 | ```
101 |
102 | ### `onDisappear`
103 |
104 | Callback which is called when the preview disappears.
105 |
106 | ```js
107 | onDisappear={() => console.log('Disappeared')}
108 | ```
109 |
110 | ### `previewActions`
111 |
112 | Array of action objects to show as action buttons in the preview.
113 |
114 | Each object contains of following properties:
115 |
116 | #### `label`
117 |
118 | Label text for the button.
119 |
120 | #### `type`
121 |
122 | `normal` or `group` (defaults to `normal`). Controls whether the button has sub-actions.
123 |
124 | #### `selected`
125 |
126 | If `type` is `normal`, then this specifies if a tick mark should be visible or not (default to `false`).
127 |
128 | #### `onPress`
129 |
130 | If `type` is `normal`, then this specifies the function to call when the button is pressed.
131 |
132 | #### `actions`
133 |
134 | If `type` is `group`, sub-actions for the group can be nested under `actions` key.
135 |
136 | Usage:
137 |
138 | ```js
139 | previewActions={[
140 | {
141 | type: 'destructive',
142 | label: 'remove',
143 | onPress: () => {},
144 | },
145 | {
146 | label: 'normal',
147 | onPress: () => {},
148 | },
149 | {
150 | type: 'destructive',
151 | label: 'remove',
152 | onPress: () => {},
153 | },
154 | {
155 | type: 'group',
156 | label: 'group',
157 | actions: [
158 | {
159 | selected: true,
160 | label: 'selected',
161 | onPress: () => {},
162 | },
163 | {
164 | type: 'normal',
165 | selected: false,
166 | label: 'not selected',
167 | onPress: () => {},
168 | },
169 | ],
170 | },
171 | ]}
172 | ```
173 |
174 | ## Contributing
175 |
176 | To setup the development environment, open a Terminal in the repo directory and run the following:
177 |
178 | ```sh
179 | yarn bootstrap
180 | ```
181 |
182 | While developing, you can run the example app to test your changes:
183 |
184 | ```sh
185 | cd example && react-native run-ios
186 | ```
187 |
188 | Make sure your code passes TypeScript and ESLint. Run the following to verify:
189 |
190 | ```sh
191 | yarn typescript
192 | yarn lint
193 | ```
194 |
195 | To fix formatting errors, run the following:
196 |
197 | ```sh
198 | yarn lint --fix
199 | ```
200 |
201 | For bigger changes, please open a issue to discuss it first before sending a pull request.
202 |
--------------------------------------------------------------------------------
/commitlint.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | extends: ['@commitlint/config-conventional'],
3 | };
4 |
--------------------------------------------------------------------------------
/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/.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/App.tsx:
--------------------------------------------------------------------------------
1 | import * as React from 'react';
2 | import { StyleSheet, View } from 'react-native';
3 | import PeekAndPop from '@react-native-community/peek-and-pop';
4 |
5 | class App extends React.Component {
6 | render() {
7 | return (
8 |
9 | (
11 |
14 | )}
15 | onPeek={() => console.log('onPeek')}
16 | onPop={() => console.warn('pop')}
17 | onDisappear={() => console.log('onDisappear')}
18 | previewActions={[
19 | {
20 | type: 'destructive',
21 | label: 'remove',
22 | onPress: () => console.warn('1'),
23 | },
24 | {
25 | label: 'normal',
26 | onPress: () => console.warn('N'),
27 | },
28 | {
29 | type: 'destructive',
30 | label: 'remove2',
31 | onPress: () => console.warn('2'),
32 | },
33 | {
34 | type: 'group',
35 | label: 'group',
36 | actions: [
37 | {
38 | selected: true,
39 | label: 'selected',
40 | onPress: () => console.warn('3'),
41 | },
42 | {
43 | type: 'normal',
44 | selected: false,
45 | label: 'selected2',
46 | onPress: () => console.warn('4'),
47 | },
48 | ],
49 | },
50 | ]}
51 | >
52 |
59 |
60 |
61 | );
62 | }
63 | }
64 |
65 | const styles = StyleSheet.create({
66 | container: {
67 | flex: 1,
68 | backgroundColor: '#2b0b0c',
69 | justifyContent: 'center',
70 | alignItems: 'center',
71 | },
72 | tabbar: {
73 | alignSelf: 'stretch',
74 | flexDirection: 'row',
75 | justifyContent: 'space-around',
76 | backgroundColor: '#eee',
77 | borderTopWidth: 1,
78 | borderColor: '#ddd',
79 | },
80 | textInput: {
81 | backgroundColor: 'white',
82 | borderWidth: 1,
83 | padding: 10,
84 | marginHorizontal: 20,
85 | alignSelf: 'stretch',
86 | borderColor: 'black',
87 | },
88 | });
89 |
90 | export default App;
91 |
--------------------------------------------------------------------------------
/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.example",
39 | )
40 |
41 | android_resource(
42 | name = "res",
43 | package = "com.example",
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.example"
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 fileTree(dir: "libs", include: ["*.jar"])
142 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
143 | implementation "com.facebook.react:react-native:+" // From node_modules
144 | }
145 |
146 | // Run this once to be able to run the application with BUCK
147 | // puts all compile dependencies into folder libs for BUCK to use
148 | task copyDownloadableDepsToLibs(type: Copy) {
149 | from configurations.compile
150 | into 'libs'
151 | }
152 |
--------------------------------------------------------------------------------
/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/example/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.example;
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 "example";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/example/android/app/src/main/java/com/example/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.example;
2 |
3 | import android.app.Application;
4 |
5 | import com.facebook.react.ReactApplication;
6 | import com.facebook.react.ReactNativeHost;
7 | import com.facebook.react.ReactPackage;
8 | import com.facebook.react.shell.MainReactPackage;
9 | import com.facebook.soloader.SoLoader;
10 |
11 | import java.util.Arrays;
12 | import java.util.List;
13 |
14 | public class MainApplication extends Application implements ReactApplication {
15 |
16 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
17 | @Override
18 | public boolean getUseDeveloperSupport() {
19 | return BuildConfig.DEBUG;
20 | }
21 |
22 | @Override
23 | protected List getPackages() {
24 | return Arrays.asList(
25 | new MainReactPackage()
26 | );
27 | }
28 |
29 | @Override
30 | protected String getJSMainModuleName() {
31 | return "index";
32 | }
33 | };
34 |
35 | @Override
36 | public ReactNativeHost getReactNativeHost() {
37 | return mReactNativeHost;
38 | }
39 |
40 | @Override
41 | public void onCreate() {
42 | super.onCreate();
43 | SoLoader.init(this, /* native exopackage */ false);
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/osdnk/peek-and-pop/30bf902704fc87ce03799f969f01b967c1395730/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/osdnk/peek-and-pop/30bf902704fc87ce03799f969f01b967c1395730/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/osdnk/peek-and-pop/30bf902704fc87ce03799f969f01b967c1395730/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/osdnk/peek-and-pop/30bf902704fc87ce03799f969f01b967c1395730/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/osdnk/peek-and-pop/30bf902704fc87ce03799f969f01b967c1395730/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/osdnk/peek-and-pop/30bf902704fc87ce03799f969f01b967c1395730/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/osdnk/peek-and-pop/30bf902704fc87ce03799f969f01b967c1395730/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/osdnk/peek-and-pop/30bf902704fc87ce03799f969f01b967c1395730/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/osdnk/peek-and-pop/30bf902704fc87ce03799f969f01b967c1395730/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/osdnk/peek-and-pop/30bf902704fc87ce03799f969f01b967c1395730/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | example
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.4.0")
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/osdnk/peek-and-pop/30bf902704fc87ce03799f969f01b967c1395730/example/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/example/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 |
--------------------------------------------------------------------------------
/example/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | #
4 | # Copyright 2015 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | ##############################################################################
20 | ##
21 | ## Gradle start up script for UN*X
22 | ##
23 | ##############################################################################
24 |
25 | # Attempt to set APP_HOME
26 | # Resolve links: $0 may be a link
27 | PRG="$0"
28 | # Need this for relative symlinks.
29 | while [ -h "$PRG" ] ; do
30 | ls=`ls -ld "$PRG"`
31 | link=`expr "$ls" : '.*-> \(.*\)$'`
32 | if expr "$link" : '/.*' > /dev/null; then
33 | PRG="$link"
34 | else
35 | PRG=`dirname "$PRG"`"/$link"
36 | fi
37 | done
38 | SAVED="`pwd`"
39 | cd "`dirname \"$PRG\"`/" >/dev/null
40 | APP_HOME="`pwd -P`"
41 | cd "$SAVED" >/dev/null
42 |
43 | APP_NAME="Gradle"
44 | APP_BASE_NAME=`basename "$0"`
45 |
46 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
47 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
48 |
49 | # Use the maximum available, or set MAX_FD != -1 to use that value.
50 | MAX_FD="maximum"
51 |
52 | warn () {
53 | echo "$*"
54 | }
55 |
56 | die () {
57 | echo
58 | echo "$*"
59 | echo
60 | exit 1
61 | }
62 |
63 | # OS specific support (must be 'true' or 'false').
64 | cygwin=false
65 | msys=false
66 | darwin=false
67 | nonstop=false
68 | case "`uname`" in
69 | CYGWIN* )
70 | cygwin=true
71 | ;;
72 | Darwin* )
73 | darwin=true
74 | ;;
75 | MINGW* )
76 | msys=true
77 | ;;
78 | NONSTOP* )
79 | nonstop=true
80 | ;;
81 | esac
82 |
83 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
84 |
85 | # Determine the Java command to use to start the JVM.
86 | if [ -n "$JAVA_HOME" ] ; then
87 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
88 | # IBM's JDK on AIX uses strange locations for the executables
89 | JAVACMD="$JAVA_HOME/jre/sh/java"
90 | else
91 | JAVACMD="$JAVA_HOME/bin/java"
92 | fi
93 | if [ ! -x "$JAVACMD" ] ; then
94 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
95 |
96 | Please set the JAVA_HOME variable in your environment to match the
97 | location of your Java installation."
98 | fi
99 | else
100 | JAVACMD="java"
101 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
102 |
103 | Please set the JAVA_HOME variable in your environment to match the
104 | location of your Java installation."
105 | fi
106 |
107 | # Increase the maximum file descriptors if we can.
108 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
109 | MAX_FD_LIMIT=`ulimit -H -n`
110 | if [ $? -eq 0 ] ; then
111 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
112 | MAX_FD="$MAX_FD_LIMIT"
113 | fi
114 | ulimit -n $MAX_FD
115 | if [ $? -ne 0 ] ; then
116 | warn "Could not set maximum file descriptor limit: $MAX_FD"
117 | fi
118 | else
119 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
120 | fi
121 | fi
122 |
123 | # For Darwin, add options to specify how the application appears in the dock
124 | if $darwin; then
125 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
126 | fi
127 |
128 | # For Cygwin, switch paths to Windows format before running java
129 | if $cygwin ; then
130 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
131 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
132 | JAVACMD=`cygpath --unix "$JAVACMD"`
133 |
134 | # We build the pattern for arguments to be converted via cygpath
135 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
136 | SEP=""
137 | for dir in $ROOTDIRSRAW ; do
138 | ROOTDIRS="$ROOTDIRS$SEP$dir"
139 | SEP="|"
140 | done
141 | OURCYGPATTERN="(^($ROOTDIRS))"
142 | # Add a user-defined pattern to the cygpath arguments
143 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
144 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
145 | fi
146 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
147 | i=0
148 | for arg in "$@" ; do
149 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
150 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
151 |
152 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
153 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
154 | else
155 | eval `echo args$i`="\"$arg\""
156 | fi
157 | i=$((i+1))
158 | done
159 | case $i in
160 | (0) set -- ;;
161 | (1) set -- "$args0" ;;
162 | (2) set -- "$args0" "$args1" ;;
163 | (3) set -- "$args0" "$args1" "$args2" ;;
164 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
165 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
166 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
167 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
168 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
169 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
170 | esac
171 | fi
172 |
173 | # Escape application args
174 | save () {
175 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
176 | echo " "
177 | }
178 | APP_ARGS=$(save "$@")
179 |
180 | # Collect all arguments for the java command, following the shell quoting and substitution rules
181 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
182 |
183 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
184 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
185 | cd "$(dirname "$0")"
186 | fi
187 |
188 | exec "$JAVACMD" "$@"
189 |
--------------------------------------------------------------------------------
/example/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @rem
2 | @rem Copyright 2015 the original author or authors.
3 | @rem
4 | @rem Licensed under the Apache License, Version 2.0 (the "License");
5 | @rem you may not use this file except in compliance with the License.
6 | @rem You may obtain a copy of the License at
7 | @rem
8 | @rem http://www.apache.org/licenses/LICENSE-2.0
9 | @rem
10 | @rem Unless required by applicable law or agreed to in writing, software
11 | @rem distributed under the License is distributed on an "AS IS" BASIS,
12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | @rem See the License for the specific language governing permissions and
14 | @rem limitations under the License.
15 | @rem
16 |
17 | @if "%DEBUG%" == "" @echo off
18 | @rem ##########################################################################
19 | @rem
20 | @rem Gradle startup script for Windows
21 | @rem
22 | @rem ##########################################################################
23 |
24 | @rem Set local scope for the variables with windows NT shell
25 | if "%OS%"=="Windows_NT" setlocal
26 |
27 | set DIRNAME=%~dp0
28 | if "%DIRNAME%" == "" set DIRNAME=.
29 | set APP_BASE_NAME=%~n0
30 | set APP_HOME=%DIRNAME%
31 |
32 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
33 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
34 |
35 | @rem Find java.exe
36 | if defined JAVA_HOME goto findJavaFromJavaHome
37 |
38 | set JAVA_EXE=java.exe
39 | %JAVA_EXE% -version >NUL 2>&1
40 | if "%ERRORLEVEL%" == "0" goto init
41 |
42 | echo.
43 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
44 | echo.
45 | echo Please set the JAVA_HOME variable in your environment to match the
46 | echo location of your Java installation.
47 |
48 | goto fail
49 |
50 | :findJavaFromJavaHome
51 | set JAVA_HOME=%JAVA_HOME:"=%
52 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
53 |
54 | if exist "%JAVA_EXE%" goto init
55 |
56 | echo.
57 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
58 | echo.
59 | echo Please set the JAVA_HOME variable in your environment to match the
60 | echo location of your Java installation.
61 |
62 | goto fail
63 |
64 | :init
65 | @rem Get command-line arguments, handling Windows variants
66 |
67 | if not "%OS%" == "Windows_NT" goto win9xME_args
68 |
69 | :win9xME_args
70 | @rem Slurp the command line arguments.
71 | set CMD_LINE_ARGS=
72 | set _SKIP=2
73 |
74 | :win9xME_args_slurp
75 | if "x%~1" == "x" goto execute
76 |
77 | set CMD_LINE_ARGS=%*
78 |
79 | :execute
80 | @rem Setup the command line
81 |
82 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
83 |
84 | @rem Execute Gradle
85 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
86 |
87 | :end
88 | @rem End local scope for the variables with windows NT shell
89 | if "%ERRORLEVEL%"=="0" goto mainEnd
90 |
91 | :fail
92 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
93 | rem the _cmd.exe /c_ return code!
94 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
95 | exit /b 1
96 |
97 | :mainEnd
98 | if "%OS%"=="Windows_NT" endlocal
99 |
100 | :omega
101 |
--------------------------------------------------------------------------------
/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 = 'example'
2 |
3 | include ':app'
4 |
--------------------------------------------------------------------------------
/example/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "example",
3 | "displayName": "example"
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/example-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/example-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/example.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };
13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };
14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
15 | 00E356F31AD99517003FC87E /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; };
16 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
17 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };
18 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };
19 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; };
20 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
21 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
22 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
23 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
24 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
25 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.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 /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; };
38 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; };
39 | 6646A19622CBCE3200A9A238 /* libPeekAndPop.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6646A19522CBCE1B00A9A238 /* libPeekAndPop.a */; };
40 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
41 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
42 | E61E2253EDED4E72ADB4B9DA /* libPeekAndPop.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 38CF7A1E30334A979AFDA688 /* libPeekAndPop.a */; };
43 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; };
44 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED2971642150620600B7C4FE /* JavaScriptCore.framework */; };
45 | /* End PBXBuildFile section */
46 |
47 | /* Begin PBXContainerItemProxy section */
48 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
49 | isa = PBXContainerItemProxy;
50 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
51 | proxyType = 2;
52 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
53 | remoteInfo = RCTActionSheet;
54 | };
55 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
56 | isa = PBXContainerItemProxy;
57 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
58 | proxyType = 2;
59 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
60 | remoteInfo = RCTGeolocation;
61 | };
62 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
63 | isa = PBXContainerItemProxy;
64 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
65 | proxyType = 2;
66 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
67 | remoteInfo = RCTImage;
68 | };
69 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
70 | isa = PBXContainerItemProxy;
71 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
72 | proxyType = 2;
73 | remoteGlobalIDString = 58B511DB1A9E6C8500147676;
74 | remoteInfo = RCTNetwork;
75 | };
76 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
77 | isa = PBXContainerItemProxy;
78 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
79 | proxyType = 2;
80 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
81 | remoteInfo = RCTVibration;
82 | };
83 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
84 | isa = PBXContainerItemProxy;
85 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
86 | proxyType = 1;
87 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
88 | remoteInfo = example;
89 | };
90 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
91 | isa = PBXContainerItemProxy;
92 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
93 | proxyType = 2;
94 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
95 | remoteInfo = RCTSettings;
96 | };
97 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
98 | isa = PBXContainerItemProxy;
99 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
100 | proxyType = 2;
101 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
102 | remoteInfo = RCTWebSocket;
103 | };
104 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
105 | isa = PBXContainerItemProxy;
106 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
107 | proxyType = 2;
108 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
109 | remoteInfo = React;
110 | };
111 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = {
112 | isa = PBXContainerItemProxy;
113 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
114 | proxyType = 1;
115 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7;
116 | remoteInfo = "example-tvOS";
117 | };
118 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
119 | isa = PBXContainerItemProxy;
120 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
121 | proxyType = 2;
122 | remoteGlobalIDString = ADD01A681E09402E00F6D226;
123 | remoteInfo = "RCTBlob-tvOS";
124 | };
125 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
126 | isa = PBXContainerItemProxy;
127 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
128 | proxyType = 2;
129 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32;
130 | remoteInfo = fishhook;
131 | };
132 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
133 | isa = PBXContainerItemProxy;
134 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
135 | proxyType = 2;
136 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32;
137 | remoteInfo = "fishhook-tvOS";
138 | };
139 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = {
140 | isa = PBXContainerItemProxy;
141 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
142 | proxyType = 2;
143 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5;
144 | remoteInfo = jsinspector;
145 | };
146 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = {
147 | isa = PBXContainerItemProxy;
148 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
149 | proxyType = 2;
150 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5;
151 | remoteInfo = "jsinspector-tvOS";
152 | };
153 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = {
154 | isa = PBXContainerItemProxy;
155 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
156 | proxyType = 2;
157 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7;
158 | remoteInfo = "third-party";
159 | };
160 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = {
161 | isa = PBXContainerItemProxy;
162 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
163 | proxyType = 2;
164 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8;
165 | remoteInfo = "third-party-tvOS";
166 | };
167 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = {
168 | isa = PBXContainerItemProxy;
169 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
170 | proxyType = 2;
171 | remoteGlobalIDString = 139D7E881E25C6D100323FB7;
172 | remoteInfo = "double-conversion";
173 | };
174 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = {
175 | isa = PBXContainerItemProxy;
176 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
177 | proxyType = 2;
178 | remoteGlobalIDString = 3D383D621EBD27B9005632C8;
179 | remoteInfo = "double-conversion-tvOS";
180 | };
181 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
182 | isa = PBXContainerItemProxy;
183 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
184 | proxyType = 2;
185 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
186 | remoteInfo = "RCTImage-tvOS";
187 | };
188 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
189 | isa = PBXContainerItemProxy;
190 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
191 | proxyType = 2;
192 | remoteGlobalIDString = 2D2A28471D9B043800D4039D;
193 | remoteInfo = "RCTLinking-tvOS";
194 | };
195 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
196 | isa = PBXContainerItemProxy;
197 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
198 | proxyType = 2;
199 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
200 | remoteInfo = "RCTNetwork-tvOS";
201 | };
202 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
203 | isa = PBXContainerItemProxy;
204 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
205 | proxyType = 2;
206 | remoteGlobalIDString = 2D2A28611D9B046600D4039D;
207 | remoteInfo = "RCTSettings-tvOS";
208 | };
209 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
210 | isa = PBXContainerItemProxy;
211 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
212 | proxyType = 2;
213 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
214 | remoteInfo = "RCTText-tvOS";
215 | };
216 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
217 | isa = PBXContainerItemProxy;
218 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
219 | proxyType = 2;
220 | remoteGlobalIDString = 2D2A28881D9B049200D4039D;
221 | remoteInfo = "RCTWebSocket-tvOS";
222 | };
223 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
224 | isa = PBXContainerItemProxy;
225 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
226 | proxyType = 2;
227 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
228 | remoteInfo = "React-tvOS";
229 | };
230 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
231 | isa = PBXContainerItemProxy;
232 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
233 | proxyType = 2;
234 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
235 | remoteInfo = yoga;
236 | };
237 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = {
238 | isa = PBXContainerItemProxy;
239 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
240 | proxyType = 2;
241 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
242 | remoteInfo = "yoga-tvOS";
243 | };
244 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = {
245 | isa = PBXContainerItemProxy;
246 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
247 | proxyType = 2;
248 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
249 | remoteInfo = cxxreact;
250 | };
251 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
252 | isa = PBXContainerItemProxy;
253 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
254 | proxyType = 2;
255 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
256 | remoteInfo = "cxxreact-tvOS";
257 | };
258 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
259 | isa = PBXContainerItemProxy;
260 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
261 | proxyType = 2;
262 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
263 | remoteInfo = RCTAnimation;
264 | };
265 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
266 | isa = PBXContainerItemProxy;
267 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
268 | proxyType = 2;
269 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
270 | remoteInfo = "RCTAnimation-tvOS";
271 | };
272 | 6646A17D22CBCDBA00A9A238 /* PBXContainerItemProxy */ = {
273 | isa = PBXContainerItemProxy;
274 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
275 | proxyType = 2;
276 | remoteGlobalIDString = EDEBC6D6214B3E7000DD5AC8;
277 | remoteInfo = jsi;
278 | };
279 | 6646A17F22CBCDBA00A9A238 /* PBXContainerItemProxy */ = {
280 | isa = PBXContainerItemProxy;
281 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
282 | proxyType = 2;
283 | remoteGlobalIDString = EDEBC73B214B45A300DD5AC8;
284 | remoteInfo = jsiexecutor;
285 | };
286 | 6646A18122CBCDBA00A9A238 /* PBXContainerItemProxy */ = {
287 | isa = PBXContainerItemProxy;
288 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
289 | proxyType = 2;
290 | remoteGlobalIDString = ED296FB6214C9A0900B7C4FE;
291 | remoteInfo = "jsi-tvOS";
292 | };
293 | 6646A18322CBCDBA00A9A238 /* PBXContainerItemProxy */ = {
294 | isa = PBXContainerItemProxy;
295 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
296 | proxyType = 2;
297 | remoteGlobalIDString = ED296FEE214C9CF800B7C4FE;
298 | remoteInfo = "jsiexecutor-tvOS";
299 | };
300 | 6646A19422CBCE1B00A9A238 /* PBXContainerItemProxy */ = {
301 | isa = PBXContainerItemProxy;
302 | containerPortal = 6646A19022CBCE1A00A9A238 /* PeekAndPop.xcodeproj */;
303 | proxyType = 2;
304 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
305 | remoteInfo = PeekAndPop;
306 | };
307 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
308 | isa = PBXContainerItemProxy;
309 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
310 | proxyType = 2;
311 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
312 | remoteInfo = RCTLinking;
313 | };
314 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
315 | isa = PBXContainerItemProxy;
316 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
317 | proxyType = 2;
318 | remoteGlobalIDString = 58B5119B1A9E6C1200147676;
319 | remoteInfo = RCTText;
320 | };
321 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = {
322 | isa = PBXContainerItemProxy;
323 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
324 | proxyType = 2;
325 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814;
326 | remoteInfo = RCTBlob;
327 | };
328 | /* End PBXContainerItemProxy section */
329 |
330 | /* Begin PBXFileReference section */
331 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
332 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
333 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
334 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
335 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
336 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
337 | 00E356EE1AD99517003FC87E /* exampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = exampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
338 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
339 | 00E356F21AD99517003FC87E /* exampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = exampleTests.m; sourceTree = ""; };
340 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
341 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
342 | 13B07F961A680F5B00A75B9A /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; };
343 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = example/AppDelegate.h; sourceTree = ""; };
344 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = example/AppDelegate.m; sourceTree = ""; };
345 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
346 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = ""; };
347 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = ""; };
348 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = ""; };
349 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
350 | 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
351 | 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "example-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
352 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
353 | 38CF7A1E30334A979AFDA688 /* libPeekAndPop.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libPeekAndPop.a; sourceTree = ""; };
354 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; };
355 | 6646A19022CBCE1A00A9A238 /* PeekAndPop.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = PeekAndPop.xcodeproj; path = ../../ios/PeekAndPop.xcodeproj; sourceTree = ""; };
356 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
357 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
358 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; };
359 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
360 | 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; };
361 | /* End PBXFileReference section */
362 |
363 | /* Begin PBXFrameworksBuildPhase section */
364 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
365 | isa = PBXFrameworksBuildPhase;
366 | buildActionMask = 2147483647;
367 | files = (
368 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */,
369 | );
370 | runOnlyForDeploymentPostprocessing = 0;
371 | };
372 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
373 | isa = PBXFrameworksBuildPhase;
374 | buildActionMask = 2147483647;
375 | files = (
376 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */,
377 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
378 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */,
379 | 146834051AC3E58100842450 /* libReact.a in Frameworks */,
380 | 6646A19622CBCE3200A9A238 /* libPeekAndPop.a in Frameworks */,
381 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
382 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
383 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
384 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
385 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
386 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
387 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
388 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
389 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
390 | E61E2253EDED4E72ADB4B9DA /* libPeekAndPop.a in Frameworks */,
391 | );
392 | runOnlyForDeploymentPostprocessing = 0;
393 | };
394 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = {
395 | isa = PBXFrameworksBuildPhase;
396 | buildActionMask = 2147483647;
397 | files = (
398 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */,
399 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */,
400 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */,
401 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */,
402 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */,
403 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */,
404 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */,
405 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */,
406 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */,
407 | );
408 | runOnlyForDeploymentPostprocessing = 0;
409 | };
410 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = {
411 | isa = PBXFrameworksBuildPhase;
412 | buildActionMask = 2147483647;
413 | files = (
414 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */,
415 | );
416 | runOnlyForDeploymentPostprocessing = 0;
417 | };
418 | /* End PBXFrameworksBuildPhase section */
419 |
420 | /* Begin PBXGroup section */
421 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
422 | isa = PBXGroup;
423 | children = (
424 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
425 | );
426 | name = Products;
427 | sourceTree = "";
428 | };
429 | 00C302B61ABCB90400DB3ED1 /* Products */ = {
430 | isa = PBXGroup;
431 | children = (
432 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
433 | );
434 | name = Products;
435 | sourceTree = "";
436 | };
437 | 00C302BC1ABCB91800DB3ED1 /* Products */ = {
438 | isa = PBXGroup;
439 | children = (
440 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
441 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
442 | );
443 | name = Products;
444 | sourceTree = "";
445 | };
446 | 00C302D41ABCB9D200DB3ED1 /* Products */ = {
447 | isa = PBXGroup;
448 | children = (
449 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
450 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
451 | );
452 | name = Products;
453 | sourceTree = "";
454 | };
455 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
456 | isa = PBXGroup;
457 | children = (
458 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
459 | );
460 | name = Products;
461 | sourceTree = "";
462 | };
463 | 00E356EF1AD99517003FC87E /* exampleTests */ = {
464 | isa = PBXGroup;
465 | children = (
466 | 00E356F21AD99517003FC87E /* exampleTests.m */,
467 | 00E356F01AD99517003FC87E /* Supporting Files */,
468 | );
469 | path = exampleTests;
470 | sourceTree = "";
471 | };
472 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
473 | isa = PBXGroup;
474 | children = (
475 | 00E356F11AD99517003FC87E /* Info.plist */,
476 | );
477 | name = "Supporting Files";
478 | sourceTree = "";
479 | };
480 | 139105B71AF99BAD00B5F7CC /* Products */ = {
481 | isa = PBXGroup;
482 | children = (
483 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
484 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
485 | );
486 | name = Products;
487 | sourceTree = "";
488 | };
489 | 139FDEE71B06529A00C62182 /* Products */ = {
490 | isa = PBXGroup;
491 | children = (
492 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
493 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
494 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */,
495 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */,
496 | );
497 | name = Products;
498 | sourceTree = "";
499 | };
500 | 13B07FAE1A68108700A75B9A /* example */ = {
501 | isa = PBXGroup;
502 | children = (
503 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
504 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
505 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
506 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
507 | 13B07FB61A68108700A75B9A /* Info.plist */,
508 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
509 | 13B07FB71A68108700A75B9A /* main.m */,
510 | );
511 | name = example;
512 | sourceTree = "";
513 | };
514 | 146834001AC3E56700842450 /* Products */ = {
515 | isa = PBXGroup;
516 | children = (
517 | 146834041AC3E56700842450 /* libReact.a */,
518 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */,
519 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
520 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
521 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
522 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
523 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */,
524 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */,
525 | 2DF0FFE32056DD460020B375 /* libthird-party.a */,
526 | 2DF0FFE52056DD460020B375 /* libthird-party.a */,
527 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */,
528 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */,
529 | 6646A17E22CBCDBA00A9A238 /* libjsi.a */,
530 | 6646A18022CBCDBA00A9A238 /* libjsiexecutor.a */,
531 | 6646A18222CBCDBA00A9A238 /* libjsi-tvOS.a */,
532 | 6646A18422CBCDBA00A9A238 /* libjsiexecutor-tvOS.a */,
533 | );
534 | name = Products;
535 | sourceTree = "";
536 | };
537 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
538 | isa = PBXGroup;
539 | children = (
540 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
541 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */,
542 | 2D16E6891FA4F8E400B85C8A /* libReact.a */,
543 | );
544 | name = Frameworks;
545 | sourceTree = "";
546 | };
547 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = {
548 | isa = PBXGroup;
549 | children = (
550 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
551 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */,
552 | );
553 | name = Products;
554 | sourceTree = "";
555 | };
556 | 6646A15722CBCDB900A9A238 /* Recovered References */ = {
557 | isa = PBXGroup;
558 | children = (
559 | 38CF7A1E30334A979AFDA688 /* libPeekAndPop.a */,
560 | );
561 | name = "Recovered References";
562 | sourceTree = "";
563 | };
564 | 6646A19122CBCE1A00A9A238 /* Products */ = {
565 | isa = PBXGroup;
566 | children = (
567 | 6646A19522CBCE1B00A9A238 /* libPeekAndPop.a */,
568 | );
569 | name = Products;
570 | sourceTree = "";
571 | };
572 | 78C398B11ACF4ADC00677621 /* Products */ = {
573 | isa = PBXGroup;
574 | children = (
575 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
576 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
577 | );
578 | name = Products;
579 | sourceTree = "";
580 | };
581 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
582 | isa = PBXGroup;
583 | children = (
584 | 6646A19022CBCE1A00A9A238 /* PeekAndPop.xcodeproj */,
585 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
586 | 146833FF1AC3E56700842450 /* React.xcodeproj */,
587 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
588 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */,
589 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
590 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
591 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
592 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
593 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
594 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
595 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
596 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
597 | );
598 | name = Libraries;
599 | sourceTree = "";
600 | };
601 | 832341B11AAA6A8300B99B32 /* Products */ = {
602 | isa = PBXGroup;
603 | children = (
604 | 832341B51AAA6A8300B99B32 /* libRCTText.a */,
605 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
606 | );
607 | name = Products;
608 | sourceTree = "";
609 | };
610 | 83CBB9F61A601CBA00E9B192 = {
611 | isa = PBXGroup;
612 | children = (
613 | 13B07FAE1A68108700A75B9A /* example */,
614 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
615 | 00E356EF1AD99517003FC87E /* exampleTests */,
616 | 83CBBA001A601CBA00E9B192 /* Products */,
617 | 2D16E6871FA4F8E400B85C8A /* Frameworks */,
618 | 6646A15722CBCDB900A9A238 /* Recovered References */,
619 | );
620 | indentWidth = 2;
621 | sourceTree = "";
622 | tabWidth = 2;
623 | usesTabs = 0;
624 | };
625 | 83CBBA001A601CBA00E9B192 /* Products */ = {
626 | isa = PBXGroup;
627 | children = (
628 | 13B07F961A680F5B00A75B9A /* example.app */,
629 | 00E356EE1AD99517003FC87E /* exampleTests.xctest */,
630 | 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */,
631 | 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */,
632 | );
633 | name = Products;
634 | sourceTree = "";
635 | };
636 | ADBDB9201DFEBF0600ED6528 /* Products */ = {
637 | isa = PBXGroup;
638 | children = (
639 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */,
640 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */,
641 | );
642 | name = Products;
643 | sourceTree = "";
644 | };
645 | /* End PBXGroup section */
646 |
647 | /* Begin PBXNativeTarget section */
648 | 00E356ED1AD99517003FC87E /* exampleTests */ = {
649 | isa = PBXNativeTarget;
650 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */;
651 | buildPhases = (
652 | 00E356EA1AD99517003FC87E /* Sources */,
653 | 00E356EB1AD99517003FC87E /* Frameworks */,
654 | 00E356EC1AD99517003FC87E /* Resources */,
655 | );
656 | buildRules = (
657 | );
658 | dependencies = (
659 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
660 | );
661 | name = exampleTests;
662 | productName = exampleTests;
663 | productReference = 00E356EE1AD99517003FC87E /* exampleTests.xctest */;
664 | productType = "com.apple.product-type.bundle.unit-test";
665 | };
666 | 13B07F861A680F5B00A75B9A /* example */ = {
667 | isa = PBXNativeTarget;
668 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */;
669 | buildPhases = (
670 | 13B07F871A680F5B00A75B9A /* Sources */,
671 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
672 | 13B07F8E1A680F5B00A75B9A /* Resources */,
673 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
674 | );
675 | buildRules = (
676 | );
677 | dependencies = (
678 | );
679 | name = example;
680 | productName = "Hello World";
681 | productReference = 13B07F961A680F5B00A75B9A /* example.app */;
682 | productType = "com.apple.product-type.application";
683 | };
684 | 2D02E47A1E0B4A5D006451C7 /* example-tvOS */ = {
685 | isa = PBXNativeTarget;
686 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOS" */;
687 | buildPhases = (
688 | 2D02E4771E0B4A5D006451C7 /* Sources */,
689 | 2D02E4781E0B4A5D006451C7 /* Frameworks */,
690 | 2D02E4791E0B4A5D006451C7 /* Resources */,
691 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */,
692 | );
693 | buildRules = (
694 | );
695 | dependencies = (
696 | );
697 | name = "example-tvOS";
698 | productName = "example-tvOS";
699 | productReference = 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */;
700 | productType = "com.apple.product-type.application";
701 | };
702 | 2D02E48F1E0B4A5D006451C7 /* example-tvOSTests */ = {
703 | isa = PBXNativeTarget;
704 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOSTests" */;
705 | buildPhases = (
706 | 2D02E48C1E0B4A5D006451C7 /* Sources */,
707 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */,
708 | 2D02E48E1E0B4A5D006451C7 /* Resources */,
709 | );
710 | buildRules = (
711 | );
712 | dependencies = (
713 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */,
714 | );
715 | name = "example-tvOSTests";
716 | productName = "example-tvOSTests";
717 | productReference = 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */;
718 | productType = "com.apple.product-type.bundle.unit-test";
719 | };
720 | /* End PBXNativeTarget section */
721 |
722 | /* Begin PBXProject section */
723 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
724 | isa = PBXProject;
725 | attributes = {
726 | LastUpgradeCheck = 940;
727 | ORGANIZATIONNAME = Facebook;
728 | TargetAttributes = {
729 | 00E356ED1AD99517003FC87E = {
730 | CreatedOnToolsVersion = 6.2;
731 | DevelopmentTeam = J5FM626PE2;
732 | TestTargetID = 13B07F861A680F5B00A75B9A;
733 | };
734 | 13B07F861A680F5B00A75B9A = {
735 | DevelopmentTeam = J5FM626PE2;
736 | };
737 | 2D02E47A1E0B4A5D006451C7 = {
738 | CreatedOnToolsVersion = 8.2.1;
739 | ProvisioningStyle = Automatic;
740 | };
741 | 2D02E48F1E0B4A5D006451C7 = {
742 | CreatedOnToolsVersion = 8.2.1;
743 | ProvisioningStyle = Automatic;
744 | TestTargetID = 2D02E47A1E0B4A5D006451C7;
745 | };
746 | };
747 | };
748 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */;
749 | compatibilityVersion = "Xcode 3.2";
750 | developmentRegion = English;
751 | hasScannedForEncodings = 0;
752 | knownRegions = (
753 | English,
754 | en,
755 | Base,
756 | );
757 | mainGroup = 83CBB9F61A601CBA00E9B192;
758 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
759 | projectDirPath = "";
760 | projectReferences = (
761 | {
762 | ProductGroup = 6646A19122CBCE1A00A9A238 /* Products */;
763 | ProjectRef = 6646A19022CBCE1A00A9A238 /* PeekAndPop.xcodeproj */;
764 | },
765 | {
766 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
767 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
768 | },
769 | {
770 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
771 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
772 | },
773 | {
774 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */;
775 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
776 | },
777 | {
778 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
779 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
780 | },
781 | {
782 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
783 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
784 | },
785 | {
786 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
787 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
788 | },
789 | {
790 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
791 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
792 | },
793 | {
794 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
795 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
796 | },
797 | {
798 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
799 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
800 | },
801 | {
802 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
803 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
804 | },
805 | {
806 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
807 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
808 | },
809 | {
810 | ProductGroup = 146834001AC3E56700842450 /* Products */;
811 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
812 | },
813 | );
814 | projectRoot = "";
815 | targets = (
816 | 13B07F861A680F5B00A75B9A /* example */,
817 | 00E356ED1AD99517003FC87E /* exampleTests */,
818 | 2D02E47A1E0B4A5D006451C7 /* example-tvOS */,
819 | 2D02E48F1E0B4A5D006451C7 /* example-tvOSTests */,
820 | );
821 | };
822 | /* End PBXProject section */
823 |
824 | /* Begin PBXReferenceProxy section */
825 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
826 | isa = PBXReferenceProxy;
827 | fileType = archive.ar;
828 | path = libRCTActionSheet.a;
829 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
830 | sourceTree = BUILT_PRODUCTS_DIR;
831 | };
832 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
833 | isa = PBXReferenceProxy;
834 | fileType = archive.ar;
835 | path = libRCTGeolocation.a;
836 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
837 | sourceTree = BUILT_PRODUCTS_DIR;
838 | };
839 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
840 | isa = PBXReferenceProxy;
841 | fileType = archive.ar;
842 | path = libRCTImage.a;
843 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
844 | sourceTree = BUILT_PRODUCTS_DIR;
845 | };
846 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
847 | isa = PBXReferenceProxy;
848 | fileType = archive.ar;
849 | path = libRCTNetwork.a;
850 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
851 | sourceTree = BUILT_PRODUCTS_DIR;
852 | };
853 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
854 | isa = PBXReferenceProxy;
855 | fileType = archive.ar;
856 | path = libRCTVibration.a;
857 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
858 | sourceTree = BUILT_PRODUCTS_DIR;
859 | };
860 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
861 | isa = PBXReferenceProxy;
862 | fileType = archive.ar;
863 | path = libRCTSettings.a;
864 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
865 | sourceTree = BUILT_PRODUCTS_DIR;
866 | };
867 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
868 | isa = PBXReferenceProxy;
869 | fileType = archive.ar;
870 | path = libRCTWebSocket.a;
871 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
872 | sourceTree = BUILT_PRODUCTS_DIR;
873 | };
874 | 146834041AC3E56700842450 /* libReact.a */ = {
875 | isa = PBXReferenceProxy;
876 | fileType = archive.ar;
877 | path = libReact.a;
878 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
879 | sourceTree = BUILT_PRODUCTS_DIR;
880 | };
881 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = {
882 | isa = PBXReferenceProxy;
883 | fileType = archive.ar;
884 | path = "libRCTBlob-tvOS.a";
885 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */;
886 | sourceTree = BUILT_PRODUCTS_DIR;
887 | };
888 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = {
889 | isa = PBXReferenceProxy;
890 | fileType = archive.ar;
891 | path = libfishhook.a;
892 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */;
893 | sourceTree = BUILT_PRODUCTS_DIR;
894 | };
895 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = {
896 | isa = PBXReferenceProxy;
897 | fileType = archive.ar;
898 | path = "libfishhook-tvOS.a";
899 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */;
900 | sourceTree = BUILT_PRODUCTS_DIR;
901 | };
902 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = {
903 | isa = PBXReferenceProxy;
904 | fileType = archive.ar;
905 | path = libjsinspector.a;
906 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */;
907 | sourceTree = BUILT_PRODUCTS_DIR;
908 | };
909 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = {
910 | isa = PBXReferenceProxy;
911 | fileType = archive.ar;
912 | path = "libjsinspector-tvOS.a";
913 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */;
914 | sourceTree = BUILT_PRODUCTS_DIR;
915 | };
916 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = {
917 | isa = PBXReferenceProxy;
918 | fileType = archive.ar;
919 | path = "libthird-party.a";
920 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */;
921 | sourceTree = BUILT_PRODUCTS_DIR;
922 | };
923 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = {
924 | isa = PBXReferenceProxy;
925 | fileType = archive.ar;
926 | path = "libthird-party.a";
927 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */;
928 | sourceTree = BUILT_PRODUCTS_DIR;
929 | };
930 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = {
931 | isa = PBXReferenceProxy;
932 | fileType = archive.ar;
933 | path = "libdouble-conversion.a";
934 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */;
935 | sourceTree = BUILT_PRODUCTS_DIR;
936 | };
937 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = {
938 | isa = PBXReferenceProxy;
939 | fileType = archive.ar;
940 | path = "libdouble-conversion.a";
941 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */;
942 | sourceTree = BUILT_PRODUCTS_DIR;
943 | };
944 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
945 | isa = PBXReferenceProxy;
946 | fileType = archive.ar;
947 | path = "libRCTImage-tvOS.a";
948 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
949 | sourceTree = BUILT_PRODUCTS_DIR;
950 | };
951 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
952 | isa = PBXReferenceProxy;
953 | fileType = archive.ar;
954 | path = "libRCTLinking-tvOS.a";
955 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
956 | sourceTree = BUILT_PRODUCTS_DIR;
957 | };
958 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
959 | isa = PBXReferenceProxy;
960 | fileType = archive.ar;
961 | path = "libRCTNetwork-tvOS.a";
962 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
963 | sourceTree = BUILT_PRODUCTS_DIR;
964 | };
965 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
966 | isa = PBXReferenceProxy;
967 | fileType = archive.ar;
968 | path = "libRCTSettings-tvOS.a";
969 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
970 | sourceTree = BUILT_PRODUCTS_DIR;
971 | };
972 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
973 | isa = PBXReferenceProxy;
974 | fileType = archive.ar;
975 | path = "libRCTText-tvOS.a";
976 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
977 | sourceTree = BUILT_PRODUCTS_DIR;
978 | };
979 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
980 | isa = PBXReferenceProxy;
981 | fileType = archive.ar;
982 | path = "libRCTWebSocket-tvOS.a";
983 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
984 | sourceTree = BUILT_PRODUCTS_DIR;
985 | };
986 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
987 | isa = PBXReferenceProxy;
988 | fileType = archive.ar;
989 | path = libReact.a;
990 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
991 | sourceTree = BUILT_PRODUCTS_DIR;
992 | };
993 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
994 | isa = PBXReferenceProxy;
995 | fileType = archive.ar;
996 | path = libyoga.a;
997 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */;
998 | sourceTree = BUILT_PRODUCTS_DIR;
999 | };
1000 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = {
1001 | isa = PBXReferenceProxy;
1002 | fileType = archive.ar;
1003 | path = libyoga.a;
1004 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */;
1005 | sourceTree = BUILT_PRODUCTS_DIR;
1006 | };
1007 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = {
1008 | isa = PBXReferenceProxy;
1009 | fileType = archive.ar;
1010 | path = libcxxreact.a;
1011 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */;
1012 | sourceTree = BUILT_PRODUCTS_DIR;
1013 | };
1014 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = {
1015 | isa = PBXReferenceProxy;
1016 | fileType = archive.ar;
1017 | path = libcxxreact.a;
1018 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
1019 | sourceTree = BUILT_PRODUCTS_DIR;
1020 | };
1021 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1022 | isa = PBXReferenceProxy;
1023 | fileType = archive.ar;
1024 | path = libRCTAnimation.a;
1025 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1026 | sourceTree = BUILT_PRODUCTS_DIR;
1027 | };
1028 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1029 | isa = PBXReferenceProxy;
1030 | fileType = archive.ar;
1031 | path = libRCTAnimation.a;
1032 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1033 | sourceTree = BUILT_PRODUCTS_DIR;
1034 | };
1035 | 6646A17E22CBCDBA00A9A238 /* libjsi.a */ = {
1036 | isa = PBXReferenceProxy;
1037 | fileType = archive.ar;
1038 | path = libjsi.a;
1039 | remoteRef = 6646A17D22CBCDBA00A9A238 /* PBXContainerItemProxy */;
1040 | sourceTree = BUILT_PRODUCTS_DIR;
1041 | };
1042 | 6646A18022CBCDBA00A9A238 /* libjsiexecutor.a */ = {
1043 | isa = PBXReferenceProxy;
1044 | fileType = archive.ar;
1045 | path = libjsiexecutor.a;
1046 | remoteRef = 6646A17F22CBCDBA00A9A238 /* PBXContainerItemProxy */;
1047 | sourceTree = BUILT_PRODUCTS_DIR;
1048 | };
1049 | 6646A18222CBCDBA00A9A238 /* libjsi-tvOS.a */ = {
1050 | isa = PBXReferenceProxy;
1051 | fileType = archive.ar;
1052 | path = "libjsi-tvOS.a";
1053 | remoteRef = 6646A18122CBCDBA00A9A238 /* PBXContainerItemProxy */;
1054 | sourceTree = BUILT_PRODUCTS_DIR;
1055 | };
1056 | 6646A18422CBCDBA00A9A238 /* libjsiexecutor-tvOS.a */ = {
1057 | isa = PBXReferenceProxy;
1058 | fileType = archive.ar;
1059 | path = "libjsiexecutor-tvOS.a";
1060 | remoteRef = 6646A18322CBCDBA00A9A238 /* PBXContainerItemProxy */;
1061 | sourceTree = BUILT_PRODUCTS_DIR;
1062 | };
1063 | 6646A19522CBCE1B00A9A238 /* libPeekAndPop.a */ = {
1064 | isa = PBXReferenceProxy;
1065 | fileType = archive.ar;
1066 | path = libPeekAndPop.a;
1067 | remoteRef = 6646A19422CBCE1B00A9A238 /* PBXContainerItemProxy */;
1068 | sourceTree = BUILT_PRODUCTS_DIR;
1069 | };
1070 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
1071 | isa = PBXReferenceProxy;
1072 | fileType = archive.ar;
1073 | path = libRCTLinking.a;
1074 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
1075 | sourceTree = BUILT_PRODUCTS_DIR;
1076 | };
1077 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
1078 | isa = PBXReferenceProxy;
1079 | fileType = archive.ar;
1080 | path = libRCTText.a;
1081 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
1082 | sourceTree = BUILT_PRODUCTS_DIR;
1083 | };
1084 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = {
1085 | isa = PBXReferenceProxy;
1086 | fileType = archive.ar;
1087 | path = libRCTBlob.a;
1088 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */;
1089 | sourceTree = BUILT_PRODUCTS_DIR;
1090 | };
1091 | /* End PBXReferenceProxy section */
1092 |
1093 | /* Begin PBXResourcesBuildPhase section */
1094 | 00E356EC1AD99517003FC87E /* Resources */ = {
1095 | isa = PBXResourcesBuildPhase;
1096 | buildActionMask = 2147483647;
1097 | files = (
1098 | );
1099 | runOnlyForDeploymentPostprocessing = 0;
1100 | };
1101 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
1102 | isa = PBXResourcesBuildPhase;
1103 | buildActionMask = 2147483647;
1104 | files = (
1105 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
1106 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
1107 | );
1108 | runOnlyForDeploymentPostprocessing = 0;
1109 | };
1110 | 2D02E4791E0B4A5D006451C7 /* Resources */ = {
1111 | isa = PBXResourcesBuildPhase;
1112 | buildActionMask = 2147483647;
1113 | files = (
1114 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */,
1115 | );
1116 | runOnlyForDeploymentPostprocessing = 0;
1117 | };
1118 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = {
1119 | isa = PBXResourcesBuildPhase;
1120 | buildActionMask = 2147483647;
1121 | files = (
1122 | );
1123 | runOnlyForDeploymentPostprocessing = 0;
1124 | };
1125 | /* End PBXResourcesBuildPhase section */
1126 |
1127 | /* Begin PBXShellScriptBuildPhase section */
1128 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
1129 | isa = PBXShellScriptBuildPhase;
1130 | buildActionMask = 2147483647;
1131 | files = (
1132 | );
1133 | inputPaths = (
1134 | );
1135 | name = "Bundle React Native code and images";
1136 | outputPaths = (
1137 | );
1138 | runOnlyForDeploymentPostprocessing = 0;
1139 | shellPath = /bin/sh;
1140 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1141 | };
1142 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
1143 | isa = PBXShellScriptBuildPhase;
1144 | buildActionMask = 2147483647;
1145 | files = (
1146 | );
1147 | inputPaths = (
1148 | );
1149 | name = "Bundle React Native Code And Images";
1150 | outputPaths = (
1151 | );
1152 | runOnlyForDeploymentPostprocessing = 0;
1153 | shellPath = /bin/sh;
1154 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1155 | };
1156 | /* End PBXShellScriptBuildPhase section */
1157 |
1158 | /* Begin PBXSourcesBuildPhase section */
1159 | 00E356EA1AD99517003FC87E /* Sources */ = {
1160 | isa = PBXSourcesBuildPhase;
1161 | buildActionMask = 2147483647;
1162 | files = (
1163 | 00E356F31AD99517003FC87E /* exampleTests.m in Sources */,
1164 | );
1165 | runOnlyForDeploymentPostprocessing = 0;
1166 | };
1167 | 13B07F871A680F5B00A75B9A /* Sources */ = {
1168 | isa = PBXSourcesBuildPhase;
1169 | buildActionMask = 2147483647;
1170 | files = (
1171 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
1172 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
1173 | );
1174 | runOnlyForDeploymentPostprocessing = 0;
1175 | };
1176 | 2D02E4771E0B4A5D006451C7 /* Sources */ = {
1177 | isa = PBXSourcesBuildPhase;
1178 | buildActionMask = 2147483647;
1179 | files = (
1180 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */,
1181 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */,
1182 | );
1183 | runOnlyForDeploymentPostprocessing = 0;
1184 | };
1185 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = {
1186 | isa = PBXSourcesBuildPhase;
1187 | buildActionMask = 2147483647;
1188 | files = (
1189 | 2DCD954D1E0B4F2C00145EB5 /* exampleTests.m in Sources */,
1190 | );
1191 | runOnlyForDeploymentPostprocessing = 0;
1192 | };
1193 | /* End PBXSourcesBuildPhase section */
1194 |
1195 | /* Begin PBXTargetDependency section */
1196 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
1197 | isa = PBXTargetDependency;
1198 | target = 13B07F861A680F5B00A75B9A /* example */;
1199 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
1200 | };
1201 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = {
1202 | isa = PBXTargetDependency;
1203 | target = 2D02E47A1E0B4A5D006451C7 /* example-tvOS */;
1204 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */;
1205 | };
1206 | /* End PBXTargetDependency section */
1207 |
1208 | /* Begin PBXVariantGroup section */
1209 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
1210 | isa = PBXVariantGroup;
1211 | children = (
1212 | 13B07FB21A68108700A75B9A /* Base */,
1213 | );
1214 | name = LaunchScreen.xib;
1215 | path = example;
1216 | sourceTree = "";
1217 | };
1218 | /* End PBXVariantGroup section */
1219 |
1220 | /* Begin XCBuildConfiguration section */
1221 | 00E356F61AD99517003FC87E /* Debug */ = {
1222 | isa = XCBuildConfiguration;
1223 | buildSettings = {
1224 | BUNDLE_LOADER = "$(TEST_HOST)";
1225 | DEVELOPMENT_TEAM = J5FM626PE2;
1226 | GCC_PREPROCESSOR_DEFINITIONS = (
1227 | "DEBUG=1",
1228 | "$(inherited)",
1229 | );
1230 | HEADER_SEARCH_PATHS = (
1231 | "$(inherited)",
1232 | "$(SRCROOT)/../../../ios",
1233 | );
1234 | INFOPLIST_FILE = exampleTests/Info.plist;
1235 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1236 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1237 | LIBRARY_SEARCH_PATHS = (
1238 | "$(inherited)",
1239 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1240 | );
1241 | OTHER_LDFLAGS = (
1242 | "-ObjC",
1243 | "-lc++",
1244 | );
1245 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1246 | PRODUCT_NAME = "$(TARGET_NAME)";
1247 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example";
1248 | };
1249 | name = Debug;
1250 | };
1251 | 00E356F71AD99517003FC87E /* Release */ = {
1252 | isa = XCBuildConfiguration;
1253 | buildSettings = {
1254 | BUNDLE_LOADER = "$(TEST_HOST)";
1255 | COPY_PHASE_STRIP = NO;
1256 | DEVELOPMENT_TEAM = J5FM626PE2;
1257 | HEADER_SEARCH_PATHS = (
1258 | "$(inherited)",
1259 | "$(SRCROOT)/../../../ios",
1260 | );
1261 | INFOPLIST_FILE = exampleTests/Info.plist;
1262 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1263 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1264 | LIBRARY_SEARCH_PATHS = (
1265 | "$(inherited)",
1266 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1267 | );
1268 | OTHER_LDFLAGS = (
1269 | "-ObjC",
1270 | "-lc++",
1271 | );
1272 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1273 | PRODUCT_NAME = "$(TARGET_NAME)";
1274 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example";
1275 | };
1276 | name = Release;
1277 | };
1278 | 13B07F941A680F5B00A75B9A /* Debug */ = {
1279 | isa = XCBuildConfiguration;
1280 | buildSettings = {
1281 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1282 | CURRENT_PROJECT_VERSION = 1;
1283 | DEAD_CODE_STRIPPING = NO;
1284 | DEVELOPMENT_TEAM = J5FM626PE2;
1285 | HEADER_SEARCH_PATHS = (
1286 | "$(inherited)",
1287 | "$(SRCROOT)/../../../ios",
1288 | );
1289 | INFOPLIST_FILE = example/Info.plist;
1290 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1291 | OTHER_LDFLAGS = (
1292 | "$(inherited)",
1293 | "-ObjC",
1294 | "-lc++",
1295 | );
1296 | PRODUCT_BUNDLE_IDENTIFIER = org.reactjs.native.example.peekandpop;
1297 | PRODUCT_NAME = example;
1298 | VERSIONING_SYSTEM = "apple-generic";
1299 | };
1300 | name = Debug;
1301 | };
1302 | 13B07F951A680F5B00A75B9A /* Release */ = {
1303 | isa = XCBuildConfiguration;
1304 | buildSettings = {
1305 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1306 | CURRENT_PROJECT_VERSION = 1;
1307 | DEVELOPMENT_TEAM = J5FM626PE2;
1308 | HEADER_SEARCH_PATHS = (
1309 | "$(inherited)",
1310 | "$(SRCROOT)/../../../ios",
1311 | );
1312 | INFOPLIST_FILE = example/Info.plist;
1313 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1314 | OTHER_LDFLAGS = (
1315 | "$(inherited)",
1316 | "-ObjC",
1317 | "-lc++",
1318 | );
1319 | PRODUCT_BUNDLE_IDENTIFIER = org.reactjs.native.example.peekandpop;
1320 | PRODUCT_NAME = example;
1321 | VERSIONING_SYSTEM = "apple-generic";
1322 | };
1323 | name = Release;
1324 | };
1325 | 2D02E4971E0B4A5E006451C7 /* Debug */ = {
1326 | isa = XCBuildConfiguration;
1327 | buildSettings = {
1328 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1329 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1330 | CLANG_ANALYZER_NONNULL = YES;
1331 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1332 | CLANG_WARN_INFINITE_RECURSION = YES;
1333 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1334 | DEBUG_INFORMATION_FORMAT = dwarf;
1335 | ENABLE_TESTABILITY = YES;
1336 | GCC_NO_COMMON_BLOCKS = YES;
1337 | HEADER_SEARCH_PATHS = (
1338 | "$(inherited)",
1339 | "$(SRCROOT)/../../../ios",
1340 | );
1341 | INFOPLIST_FILE = "example-tvOS/Info.plist";
1342 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1343 | LIBRARY_SEARCH_PATHS = (
1344 | "$(inherited)",
1345 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1346 | );
1347 | OTHER_LDFLAGS = (
1348 | "-ObjC",
1349 | "-lc++",
1350 | );
1351 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOS";
1352 | PRODUCT_NAME = "$(TARGET_NAME)";
1353 | SDKROOT = appletvos;
1354 | TARGETED_DEVICE_FAMILY = 3;
1355 | TVOS_DEPLOYMENT_TARGET = 9.2;
1356 | };
1357 | name = Debug;
1358 | };
1359 | 2D02E4981E0B4A5E006451C7 /* Release */ = {
1360 | isa = XCBuildConfiguration;
1361 | buildSettings = {
1362 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1363 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1364 | CLANG_ANALYZER_NONNULL = YES;
1365 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1366 | CLANG_WARN_INFINITE_RECURSION = YES;
1367 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1368 | COPY_PHASE_STRIP = NO;
1369 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1370 | GCC_NO_COMMON_BLOCKS = YES;
1371 | HEADER_SEARCH_PATHS = (
1372 | "$(inherited)",
1373 | "$(SRCROOT)/../../../ios",
1374 | );
1375 | INFOPLIST_FILE = "example-tvOS/Info.plist";
1376 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1377 | LIBRARY_SEARCH_PATHS = (
1378 | "$(inherited)",
1379 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1380 | );
1381 | OTHER_LDFLAGS = (
1382 | "-ObjC",
1383 | "-lc++",
1384 | );
1385 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOS";
1386 | PRODUCT_NAME = "$(TARGET_NAME)";
1387 | SDKROOT = appletvos;
1388 | TARGETED_DEVICE_FAMILY = 3;
1389 | TVOS_DEPLOYMENT_TARGET = 9.2;
1390 | };
1391 | name = Release;
1392 | };
1393 | 2D02E4991E0B4A5E006451C7 /* Debug */ = {
1394 | isa = XCBuildConfiguration;
1395 | buildSettings = {
1396 | BUNDLE_LOADER = "$(TEST_HOST)";
1397 | CLANG_ANALYZER_NONNULL = YES;
1398 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1399 | CLANG_WARN_INFINITE_RECURSION = YES;
1400 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1401 | DEBUG_INFORMATION_FORMAT = dwarf;
1402 | ENABLE_TESTABILITY = YES;
1403 | GCC_NO_COMMON_BLOCKS = YES;
1404 | HEADER_SEARCH_PATHS = (
1405 | "$(inherited)",
1406 | "$(SRCROOT)/../../../ios",
1407 | );
1408 | INFOPLIST_FILE = "example-tvOSTests/Info.plist";
1409 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1410 | LIBRARY_SEARCH_PATHS = (
1411 | "$(inherited)",
1412 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1413 | );
1414 | OTHER_LDFLAGS = (
1415 | "-ObjC",
1416 | "-lc++",
1417 | );
1418 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOSTests";
1419 | PRODUCT_NAME = "$(TARGET_NAME)";
1420 | SDKROOT = appletvos;
1421 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example-tvOS.app/example-tvOS";
1422 | TVOS_DEPLOYMENT_TARGET = 10.1;
1423 | };
1424 | name = Debug;
1425 | };
1426 | 2D02E49A1E0B4A5E006451C7 /* Release */ = {
1427 | isa = XCBuildConfiguration;
1428 | buildSettings = {
1429 | BUNDLE_LOADER = "$(TEST_HOST)";
1430 | CLANG_ANALYZER_NONNULL = YES;
1431 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1432 | CLANG_WARN_INFINITE_RECURSION = YES;
1433 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1434 | COPY_PHASE_STRIP = NO;
1435 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1436 | GCC_NO_COMMON_BLOCKS = YES;
1437 | HEADER_SEARCH_PATHS = (
1438 | "$(inherited)",
1439 | "$(SRCROOT)/../../../ios",
1440 | );
1441 | INFOPLIST_FILE = "example-tvOSTests/Info.plist";
1442 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1443 | LIBRARY_SEARCH_PATHS = (
1444 | "$(inherited)",
1445 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1446 | );
1447 | OTHER_LDFLAGS = (
1448 | "-ObjC",
1449 | "-lc++",
1450 | );
1451 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOSTests";
1452 | PRODUCT_NAME = "$(TARGET_NAME)";
1453 | SDKROOT = appletvos;
1454 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example-tvOS.app/example-tvOS";
1455 | TVOS_DEPLOYMENT_TARGET = 10.1;
1456 | };
1457 | name = Release;
1458 | };
1459 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
1460 | isa = XCBuildConfiguration;
1461 | buildSettings = {
1462 | ALWAYS_SEARCH_USER_PATHS = NO;
1463 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1464 | CLANG_CXX_LIBRARY = "libc++";
1465 | CLANG_ENABLE_MODULES = YES;
1466 | CLANG_ENABLE_OBJC_ARC = YES;
1467 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
1468 | CLANG_WARN_BOOL_CONVERSION = YES;
1469 | CLANG_WARN_COMMA = YES;
1470 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1471 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
1472 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1473 | CLANG_WARN_EMPTY_BODY = YES;
1474 | CLANG_WARN_ENUM_CONVERSION = YES;
1475 | CLANG_WARN_INFINITE_RECURSION = YES;
1476 | CLANG_WARN_INT_CONVERSION = YES;
1477 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
1478 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1479 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
1480 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1481 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
1482 | CLANG_WARN_STRICT_PROTOTYPES = YES;
1483 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1484 | CLANG_WARN_UNREACHABLE_CODE = YES;
1485 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1486 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1487 | COPY_PHASE_STRIP = NO;
1488 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1489 | ENABLE_TESTABILITY = YES;
1490 | GCC_C_LANGUAGE_STANDARD = gnu99;
1491 | GCC_DYNAMIC_NO_PIC = NO;
1492 | GCC_NO_COMMON_BLOCKS = YES;
1493 | GCC_OPTIMIZATION_LEVEL = 0;
1494 | GCC_PREPROCESSOR_DEFINITIONS = (
1495 | "DEBUG=1",
1496 | "$(inherited)",
1497 | );
1498 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
1499 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1500 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1501 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1502 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1503 | GCC_WARN_UNUSED_FUNCTION = YES;
1504 | GCC_WARN_UNUSED_VARIABLE = YES;
1505 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1506 | MTL_ENABLE_DEBUG_INFO = YES;
1507 | ONLY_ACTIVE_ARCH = YES;
1508 | SDKROOT = iphoneos;
1509 | };
1510 | name = Debug;
1511 | };
1512 | 83CBBA211A601CBA00E9B192 /* Release */ = {
1513 | isa = XCBuildConfiguration;
1514 | buildSettings = {
1515 | ALWAYS_SEARCH_USER_PATHS = NO;
1516 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1517 | CLANG_CXX_LIBRARY = "libc++";
1518 | CLANG_ENABLE_MODULES = YES;
1519 | CLANG_ENABLE_OBJC_ARC = YES;
1520 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
1521 | CLANG_WARN_BOOL_CONVERSION = YES;
1522 | CLANG_WARN_COMMA = YES;
1523 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1524 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
1525 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1526 | CLANG_WARN_EMPTY_BODY = YES;
1527 | CLANG_WARN_ENUM_CONVERSION = YES;
1528 | CLANG_WARN_INFINITE_RECURSION = YES;
1529 | CLANG_WARN_INT_CONVERSION = YES;
1530 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
1531 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1532 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
1533 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1534 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
1535 | CLANG_WARN_STRICT_PROTOTYPES = YES;
1536 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1537 | CLANG_WARN_UNREACHABLE_CODE = YES;
1538 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1539 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1540 | COPY_PHASE_STRIP = YES;
1541 | ENABLE_NS_ASSERTIONS = NO;
1542 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1543 | GCC_C_LANGUAGE_STANDARD = gnu99;
1544 | GCC_NO_COMMON_BLOCKS = YES;
1545 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1546 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1547 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1548 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1549 | GCC_WARN_UNUSED_FUNCTION = YES;
1550 | GCC_WARN_UNUSED_VARIABLE = YES;
1551 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1552 | MTL_ENABLE_DEBUG_INFO = NO;
1553 | SDKROOT = iphoneos;
1554 | VALIDATE_PRODUCT = YES;
1555 | };
1556 | name = Release;
1557 | };
1558 | /* End XCBuildConfiguration section */
1559 |
1560 | /* Begin XCConfigurationList section */
1561 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */ = {
1562 | isa = XCConfigurationList;
1563 | buildConfigurations = (
1564 | 00E356F61AD99517003FC87E /* Debug */,
1565 | 00E356F71AD99517003FC87E /* Release */,
1566 | );
1567 | defaultConfigurationIsVisible = 0;
1568 | defaultConfigurationName = Release;
1569 | };
1570 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */ = {
1571 | isa = XCConfigurationList;
1572 | buildConfigurations = (
1573 | 13B07F941A680F5B00A75B9A /* Debug */,
1574 | 13B07F951A680F5B00A75B9A /* Release */,
1575 | );
1576 | defaultConfigurationIsVisible = 0;
1577 | defaultConfigurationName = Release;
1578 | };
1579 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOS" */ = {
1580 | isa = XCConfigurationList;
1581 | buildConfigurations = (
1582 | 2D02E4971E0B4A5E006451C7 /* Debug */,
1583 | 2D02E4981E0B4A5E006451C7 /* Release */,
1584 | );
1585 | defaultConfigurationIsVisible = 0;
1586 | defaultConfigurationName = Release;
1587 | };
1588 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOSTests" */ = {
1589 | isa = XCConfigurationList;
1590 | buildConfigurations = (
1591 | 2D02E4991E0B4A5E006451C7 /* Debug */,
1592 | 2D02E49A1E0B4A5E006451C7 /* Release */,
1593 | );
1594 | defaultConfigurationIsVisible = 0;
1595 | defaultConfigurationName = Release;
1596 | };
1597 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */ = {
1598 | isa = XCConfigurationList;
1599 | buildConfigurations = (
1600 | 83CBBA201A601CBA00E9B192 /* Debug */,
1601 | 83CBBA211A601CBA00E9B192 /* Release */,
1602 | );
1603 | defaultConfigurationIsVisible = 0;
1604 | defaultConfigurationName = Release;
1605 | };
1606 | /* End XCConfigurationList section */
1607 | };
1608 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
1609 | }
1610 |
--------------------------------------------------------------------------------
/example/ios/example.xcodeproj/xcshareddata/xcschemes/example-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/example.xcodeproj/xcshareddata/xcschemes/example.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/example/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/example/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:@"example"
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/example/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/example/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/example/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/example/ios/example/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | example
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 | NSAppTransportSecurity
28 |
29 | NSAllowsArbitraryLoads
30 |
31 | NSExceptionDomains
32 |
33 | localhost
34 |
35 | NSExceptionAllowsInsecureHTTPLoads
36 |
37 |
38 |
39 |
40 | NSLocationWhenInUseUsageDescription
41 |
42 | UILaunchStoryboardName
43 | LaunchScreen
44 | UIRequiredDeviceCapabilities
45 |
46 | armv7
47 |
48 | UISupportedInterfaceOrientations
49 |
50 | UIInterfaceOrientationPortrait
51 | UIInterfaceOrientationLandscapeLeft
52 | UIInterfaceOrientationLandscapeRight
53 |
54 | UIViewControllerBasedStatusBarAppearance
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/example/ios/example/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/exampleTests/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/exampleTests/exampleTests.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 exampleTests : XCTestCase
18 |
19 | @end
20 |
21 | @implementation exampleTests
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 | const path = require('path');
2 | const escape = require('escape-string-regexp');
3 | const blacklist = require('metro-config/src/defaults/blacklist');
4 | const pkg = require('../package.json');
5 |
6 | const peerDependencies = Object.keys(pkg.peerDependencies);
7 |
8 | module.exports = {
9 | projectRoot: __dirname,
10 | watchFolders: [path.resolve(__dirname, '..')],
11 | transformer: {
12 | getTransformOptions: async () => ({
13 | transform: {
14 | experimentalImportSupport: false,
15 | inlineRequires: false,
16 | },
17 | }),
18 | },
19 | resolver: {
20 | blacklistRE: blacklist([
21 | new RegExp(
22 | `^${escape(path.resolve(__dirname, '..', 'node_modules'))}\\/.*$`
23 | ),
24 | ]),
25 | providesModuleNodeModules: ['@babel/runtime', ...peerDependencies],
26 | },
27 | };
28 |
--------------------------------------------------------------------------------
/example/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "example",
3 | "version": "0.0.1",
4 | "private": true,
5 | "scripts": {
6 | "start": "node node_modules/react-native/local-cli/cli.js start",
7 | "test": "jest"
8 | },
9 | "dependencies": {
10 | "@babel/runtime": "^7.4.5",
11 | "react": "16.8.3",
12 | "react-native": "0.59.9"
13 | },
14 | "devDependencies": {
15 | "@babel/core": "^7.4.5",
16 | "babel-jest": "^24.8.0",
17 | "escape-string-regexp": "^2.0.0",
18 | "glob-to-regexp": "^0.4.1",
19 | "jest": "^24.8.0",
20 | "metro-react-native-babel-preset": "^0.54.1",
21 | "react-test-renderer": "16.8.3"
22 | },
23 | "jest": {
24 | "preset": "react-native"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/ios/PeekAndPop.h:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 |
4 |
5 | @interface PeekAndPop : RCTViewManager
6 |
7 | @end
8 |
--------------------------------------------------------------------------------
/ios/PeekAndPop.m:
--------------------------------------------------------------------------------
1 | #import "PeekAndPop.h"
2 | #import
3 | #import
4 | #import
5 |
6 | @class RNPreviewViewController;
7 |
8 | @interface RNPeekableWrapper : RCTView ;
9 |
10 | @property (nonatomic, copy) UIViewController *screenController;
11 | @property (nonatomic, copy) RNPreviewViewController *previewController;
12 | @property (nonatomic, copy) RCTDirectEventBlock onPop;
13 | @property (nonatomic, copy) RCTDirectEventBlock onPeek;
14 | @property (nonatomic, copy) RCTDirectEventBlock onAction;
15 | @property (nonatomic, copy) RCTDirectEventBlock onDisappear;
16 | @property (nonatomic, copy) NSArray *actionsForPreviewing;
17 |
18 | - (instancetype)initWithUIManager:(RCTUIManager *)uiManager;
19 | - (void)onPeekEvent;
20 |
21 | @end
22 |
23 | @interface RNPreviewViewController : UIViewController
24 |
25 | - (instancetype)initWithWrapper:(RNPeekableWrapper *) wrapper;
26 |
27 | @end
28 |
29 | @implementation RNPreviewViewController {
30 | RNPeekableWrapper *_wrapper;
31 | }
32 |
33 |
34 | - (instancetype)initWithWrapper:(RNPeekableWrapper *) wrapper
35 | {
36 | if (self = [super init]) {
37 | _wrapper = wrapper;
38 | }
39 | return self;
40 | }
41 |
42 | - (UIViewController *)previewingContext:(id)previewingContext viewControllerForLocation:(CGPoint)location
43 | {
44 | [_wrapper onPeekEvent];
45 | return _wrapper.previewController;
46 | }
47 |
48 | - (void)previewingContext:(id)previewingContext
49 | commitViewController:(UIViewController *)viewControllerToCommit
50 | {
51 | if (_wrapper.onPop) {
52 | _wrapper.onPop(nil);
53 | }
54 | }
55 |
56 | - (NSArray> *)previewActionItems {
57 | return _wrapper.actionsForPreviewing;
58 | }
59 |
60 | - (void)viewDidDisappear:(BOOL)animated {
61 | if (_wrapper.onDisappear) {
62 | _wrapper.onDisappear(nil);
63 | }
64 | }
65 |
66 | @end
67 |
68 |
69 | @implementation RNPeekableWrapper {
70 | RCTUIManager *_uiManager;
71 | UIView *_child;
72 | }
73 |
74 |
75 | - (instancetype)initWithUIManager:(RCTUIManager *)uiManager
76 | {
77 | if (self = [super initWithFrame:self.frame]) {
78 | _uiManager = uiManager;
79 | _previewController = [[RNPreviewViewController alloc] initWithWrapper:self];
80 | }
81 |
82 | return self;
83 | }
84 |
85 | - (void)setPreviewActions:(NSArray *)actions
86 | {
87 | _actionsForPreviewing = [self translateToUIPreviewActionStyles: actions];
88 | }
89 |
90 | - (NSArray *) translateToUIPreviewActionStyles:(NSArray *)actions
91 | {
92 | NSMutableArray *result = [[NSMutableArray alloc] init];
93 | for (NSDictionary *action in actions) {
94 | if ([@"group" isEqualToString:action[@"type"]]) {
95 | NSArray *innerActions = [self translateToUIPreviewActionStyles: action[@"actions"]];
96 | UIPreviewActionGroup *previewAction = [UIPreviewActionGroup actionGroupWithTitle:action[@"label"] style:UIPreviewActionStyleDefault actions:innerActions];
97 | [result addObject:previewAction];
98 | } else if ([@"destructive" isEqualToString:action[@"type"]]) {
99 | UIPreviewAction *previewAction = [UIPreviewAction actionWithTitle:action[@"label"] style:UIPreviewActionStyleDestructive handler:^(UIPreviewAction * _Nonnull _, UIViewController * _Nonnull previewViewController) {
100 | _onAction(@{@"key": action[@"_key"]});
101 | }];
102 | [result addObject:previewAction];
103 | } else {
104 | if (action[@"selected"] && [[action objectForKey:@"selected"] boolValue]) {
105 | UIPreviewAction *previewAction = [UIPreviewAction actionWithTitle:action[@"label"] style:UIPreviewActionStyleSelected handler:^(UIPreviewAction * _Nonnull _, UIViewController * _Nonnull previewViewController) {
106 | _onAction(@{@"key": action[@"_key"]});
107 | }];
108 | [result addObject:previewAction];
109 | } else {
110 | UIPreviewAction *previewAction = [UIPreviewAction actionWithTitle:action[@"label"] style:UIPreviewActionStyleDefault handler:^(UIPreviewAction * _Nonnull _, UIViewController * _Nonnull previewViewController) {
111 | _onAction(@{@"key": action[@"_key"]});
112 | }];
113 | [result addObject:previewAction];
114 | }
115 | }
116 | }
117 | return result;
118 | }
119 |
120 | - (void)setChildRef:(NSInteger)reactTag
121 | {
122 | _child = [_uiManager viewForReactTag:[NSNumber numberWithInteger: reactTag]];
123 | _previewController.view = super.reactSubviews[0];
124 | }
125 |
126 | -(void)onPeekEvent {
127 | if (self.onPeek) {
128 | _previewController.preferredContentSize = _previewController.view.bounds.size;
129 | self.onPeek(nil);
130 | }
131 | }
132 |
133 | - (void)layoutSubviews {
134 | [super layoutSubviews];
135 | // Called after attaching
136 | BOOL isRNScreen = NO;
137 | UIView *superScreen = self;
138 | while (![superScreen isKindOfClass:RCTRootView.class] && !isRNScreen) {
139 | superScreen = [superScreen reactSuperview];
140 | NSString *name = NSStringFromClass ([superScreen class]);
141 | // React-native-screens changes react hierarchy and searching
142 | // for root view is not positive. It does not follow any
143 | // good programming rules but I wished not to add RNS as
144 | // a dependency and make it workable and without this lib
145 | isRNScreen = ([name isEqualToString:@"RNScreenView"]);
146 | }
147 |
148 | if (isRNScreen) {
149 | _screenController = (UIViewController *)[superScreen valueForKey: @"controller"];
150 |
151 | } else {
152 | _screenController = ((RCTRootView*) superScreen).reactViewController;
153 | }
154 | [_screenController registerForPreviewingWithDelegate:_previewController sourceView:_child];
155 |
156 | }
157 |
158 |
159 | - (void)invalidate
160 | {
161 | // TODO: maybe not needed. Maybe memory leak?
162 | // [_screenController unregisterForPreviewingWithContext:_previewController];
163 | _previewController.view = nil;
164 | _previewController = nil;
165 | }
166 |
167 | @end
168 |
169 |
170 | @implementation PeekAndPop
171 |
172 |
173 | RCT_EXPORT_MODULE()
174 |
175 | RCT_EXPORT_VIEW_PROPERTY(active, BOOL)
176 | RCT_EXPORT_VIEW_PROPERTY(childRef, NSInteger)
177 | RCT_EXPORT_VIEW_PROPERTY(previewActions, NSArray)
178 | RCT_EXPORT_VIEW_PROPERTY(onPop, RCTDirectEventBlock);
179 | RCT_EXPORT_VIEW_PROPERTY(onPeek, RCTDirectEventBlock);
180 | RCT_EXPORT_VIEW_PROPERTY(onAction, RCTDirectEventBlock);
181 | RCT_EXPORT_VIEW_PROPERTY(onDisappear, RCTDirectEventBlock);
182 |
183 | - (UIView *)view
184 | {
185 | return [[RNPeekableWrapper alloc] initWithUIManager:self.bridge.uiManager];
186 | }
187 |
188 |
189 |
190 | @end
191 |
192 |
--------------------------------------------------------------------------------
/ios/PeekAndPop.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | B3E7B58A1CC2AC0600A0062D /* PeekAndPop.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* PeekAndPop.m */; };
11 | /* End PBXBuildFile section */
12 |
13 | /* Begin PBXCopyFilesBuildPhase section */
14 | 58B511D91A9E6C8500147676 /* CopyFiles */ = {
15 | isa = PBXCopyFilesBuildPhase;
16 | buildActionMask = 2147483647;
17 | dstPath = "include/$(PRODUCT_NAME)";
18 | dstSubfolderSpec = 16;
19 | files = (
20 | );
21 | runOnlyForDeploymentPostprocessing = 0;
22 | };
23 | /* End PBXCopyFilesBuildPhase section */
24 |
25 | /* Begin PBXFileReference section */
26 | 134814201AA4EA6300B7C361 /* libPeekAndPop.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPeekAndPop.a; sourceTree = BUILT_PRODUCTS_DIR; };
27 | B3E7B5881CC2AC0600A0062D /* PeekAndPop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PeekAndPop.h; sourceTree = ""; };
28 | B3E7B5891CC2AC0600A0062D /* PeekAndPop.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PeekAndPop.m; sourceTree = ""; };
29 | /* End PBXFileReference section */
30 |
31 | /* Begin PBXFrameworksBuildPhase section */
32 | 58B511D81A9E6C8500147676 /* Frameworks */ = {
33 | isa = PBXFrameworksBuildPhase;
34 | buildActionMask = 2147483647;
35 | files = (
36 | );
37 | runOnlyForDeploymentPostprocessing = 0;
38 | };
39 | /* End PBXFrameworksBuildPhase section */
40 |
41 | /* Begin PBXGroup section */
42 | 134814211AA4EA7D00B7C361 /* Products */ = {
43 | isa = PBXGroup;
44 | children = (
45 | 134814201AA4EA6300B7C361 /* libPeekAndPop.a */,
46 | );
47 | name = Products;
48 | sourceTree = "";
49 | };
50 | 58B511D21A9E6C8500147676 = {
51 | isa = PBXGroup;
52 | children = (
53 | B3E7B5881CC2AC0600A0062D /* PeekAndPop.h */,
54 | B3E7B5891CC2AC0600A0062D /* PeekAndPop.m */,
55 | 134814211AA4EA7D00B7C361 /* Products */,
56 | );
57 | sourceTree = "";
58 | };
59 | /* End PBXGroup section */
60 |
61 | /* Begin PBXNativeTarget section */
62 | 58B511DA1A9E6C8500147676 /* PeekAndPop */ = {
63 | isa = PBXNativeTarget;
64 | buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "PeekAndPop" */;
65 | buildPhases = (
66 | 58B511D71A9E6C8500147676 /* Sources */,
67 | 58B511D81A9E6C8500147676 /* Frameworks */,
68 | 58B511D91A9E6C8500147676 /* CopyFiles */,
69 | );
70 | buildRules = (
71 | );
72 | dependencies = (
73 | );
74 | name = PeekAndPop;
75 | productName = RCTDataManager;
76 | productReference = 134814201AA4EA6300B7C361 /* libPeekAndPop.a */;
77 | productType = "com.apple.product-type.library.static";
78 | };
79 | /* End PBXNativeTarget section */
80 |
81 | /* Begin PBXProject section */
82 | 58B511D31A9E6C8500147676 /* Project object */ = {
83 | isa = PBXProject;
84 | attributes = {
85 | LastUpgradeCheck = 0920;
86 | ORGANIZATIONNAME = Facebook;
87 | TargetAttributes = {
88 | 58B511DA1A9E6C8500147676 = {
89 | CreatedOnToolsVersion = 6.1.1;
90 | };
91 | };
92 | };
93 | buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "PeekAndPop" */;
94 | compatibilityVersion = "Xcode 3.2";
95 | developmentRegion = English;
96 | hasScannedForEncodings = 0;
97 | knownRegions = (
98 | en,
99 | );
100 | mainGroup = 58B511D21A9E6C8500147676;
101 | productRefGroup = 58B511D21A9E6C8500147676;
102 | projectDirPath = "";
103 | projectRoot = "";
104 | targets = (
105 | 58B511DA1A9E6C8500147676 /* PeekAndPop */,
106 | );
107 | };
108 | /* End PBXProject section */
109 |
110 | /* Begin PBXSourcesBuildPhase section */
111 | 58B511D71A9E6C8500147676 /* Sources */ = {
112 | isa = PBXSourcesBuildPhase;
113 | buildActionMask = 2147483647;
114 | files = (
115 | B3E7B58A1CC2AC0600A0062D /* PeekAndPop.m in Sources */,
116 | );
117 | runOnlyForDeploymentPostprocessing = 0;
118 | };
119 | /* End PBXSourcesBuildPhase section */
120 |
121 | /* Begin XCBuildConfiguration section */
122 | 58B511ED1A9E6C8500147676 /* Debug */ = {
123 | isa = XCBuildConfiguration;
124 | buildSettings = {
125 | ALWAYS_SEARCH_USER_PATHS = NO;
126 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
127 | CLANG_CXX_LIBRARY = "libc++";
128 | CLANG_ENABLE_MODULES = YES;
129 | CLANG_ENABLE_OBJC_ARC = YES;
130 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
131 | CLANG_WARN_BOOL_CONVERSION = YES;
132 | CLANG_WARN_COMMA = YES;
133 | CLANG_WARN_CONSTANT_CONVERSION = YES;
134 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
135 | CLANG_WARN_EMPTY_BODY = YES;
136 | CLANG_WARN_ENUM_CONVERSION = YES;
137 | CLANG_WARN_INFINITE_RECURSION = YES;
138 | CLANG_WARN_INT_CONVERSION = YES;
139 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
140 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
141 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
142 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
143 | CLANG_WARN_STRICT_PROTOTYPES = YES;
144 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
145 | CLANG_WARN_UNREACHABLE_CODE = YES;
146 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
147 | COPY_PHASE_STRIP = NO;
148 | ENABLE_STRICT_OBJC_MSGSEND = YES;
149 | ENABLE_TESTABILITY = YES;
150 | GCC_C_LANGUAGE_STANDARD = gnu99;
151 | GCC_DYNAMIC_NO_PIC = NO;
152 | GCC_NO_COMMON_BLOCKS = YES;
153 | GCC_OPTIMIZATION_LEVEL = 0;
154 | GCC_PREPROCESSOR_DEFINITIONS = (
155 | "DEBUG=1",
156 | "$(inherited)",
157 | );
158 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
159 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
160 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
161 | GCC_WARN_UNDECLARED_SELECTOR = YES;
162 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
163 | GCC_WARN_UNUSED_FUNCTION = YES;
164 | GCC_WARN_UNUSED_VARIABLE = YES;
165 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
166 | MTL_ENABLE_DEBUG_INFO = YES;
167 | ONLY_ACTIVE_ARCH = YES;
168 | SDKROOT = iphoneos;
169 | };
170 | name = Debug;
171 | };
172 | 58B511EE1A9E6C8500147676 /* Release */ = {
173 | isa = XCBuildConfiguration;
174 | buildSettings = {
175 | ALWAYS_SEARCH_USER_PATHS = NO;
176 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
177 | CLANG_CXX_LIBRARY = "libc++";
178 | CLANG_ENABLE_MODULES = YES;
179 | CLANG_ENABLE_OBJC_ARC = YES;
180 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
181 | CLANG_WARN_BOOL_CONVERSION = YES;
182 | CLANG_WARN_COMMA = YES;
183 | CLANG_WARN_CONSTANT_CONVERSION = YES;
184 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
185 | CLANG_WARN_EMPTY_BODY = YES;
186 | CLANG_WARN_ENUM_CONVERSION = YES;
187 | CLANG_WARN_INFINITE_RECURSION = YES;
188 | CLANG_WARN_INT_CONVERSION = YES;
189 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
190 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
191 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
192 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
193 | CLANG_WARN_STRICT_PROTOTYPES = YES;
194 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
195 | CLANG_WARN_UNREACHABLE_CODE = YES;
196 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
197 | COPY_PHASE_STRIP = YES;
198 | ENABLE_NS_ASSERTIONS = NO;
199 | ENABLE_STRICT_OBJC_MSGSEND = YES;
200 | GCC_C_LANGUAGE_STANDARD = gnu99;
201 | GCC_NO_COMMON_BLOCKS = YES;
202 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
203 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
204 | GCC_WARN_UNDECLARED_SELECTOR = YES;
205 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
206 | GCC_WARN_UNUSED_FUNCTION = YES;
207 | GCC_WARN_UNUSED_VARIABLE = YES;
208 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
209 | MTL_ENABLE_DEBUG_INFO = NO;
210 | SDKROOT = iphoneos;
211 | VALIDATE_PRODUCT = YES;
212 | };
213 | name = Release;
214 | };
215 | 58B511F01A9E6C8500147676 /* Debug */ = {
216 | isa = XCBuildConfiguration;
217 | buildSettings = {
218 | HEADER_SEARCH_PATHS = (
219 | "$(inherited)",
220 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
221 | "$(SRCROOT)/../../../React/**",
222 | "$(SRCROOT)/../../react-native/React/**",
223 | );
224 | LIBRARY_SEARCH_PATHS = "$(inherited)";
225 | OTHER_LDFLAGS = "-ObjC";
226 | PRODUCT_NAME = PeekAndPop;
227 | SKIP_INSTALL = YES;
228 | };
229 | name = Debug;
230 | };
231 | 58B511F11A9E6C8500147676 /* Release */ = {
232 | isa = XCBuildConfiguration;
233 | buildSettings = {
234 | HEADER_SEARCH_PATHS = (
235 | "$(inherited)",
236 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
237 | "$(SRCROOT)/../../../React/**",
238 | "$(SRCROOT)/../../react-native/React/**",
239 | );
240 | LIBRARY_SEARCH_PATHS = "$(inherited)";
241 | OTHER_LDFLAGS = "-ObjC";
242 | PRODUCT_NAME = PeekAndPop;
243 | SKIP_INSTALL = YES;
244 | };
245 | name = Release;
246 | };
247 | /* End XCBuildConfiguration section */
248 |
249 | /* Begin XCConfigurationList section */
250 | 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "PeekAndPop" */ = {
251 | isa = XCConfigurationList;
252 | buildConfigurations = (
253 | 58B511ED1A9E6C8500147676 /* Debug */,
254 | 58B511EE1A9E6C8500147676 /* Release */,
255 | );
256 | defaultConfigurationIsVisible = 0;
257 | defaultConfigurationName = Release;
258 | };
259 | 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "PeekAndPop" */ = {
260 | isa = XCConfigurationList;
261 | buildConfigurations = (
262 | 58B511F01A9E6C8500147676 /* Debug */,
263 | 58B511F11A9E6C8500147676 /* Release */,
264 | );
265 | defaultConfigurationIsVisible = 0;
266 | defaultConfigurationName = Release;
267 | };
268 | /* End XCConfigurationList section */
269 | };
270 | rootObject = 58B511D31A9E6C8500147676 /* Project object */;
271 | }
272 |
--------------------------------------------------------------------------------
/ios/PeekAndPop.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@react-native-community/peek-and-pop",
3 | "version": "0.1.0",
4 | "description": "React Native component which exposes the peek and pop pattern on iOS",
5 | "keywords": [
6 | "react-native",
7 | "ios",
8 | "peek",
9 | "pop"
10 | ],
11 | "author": "Michał Osadnik (https://github.com/osdnk/)",
12 | "license": "MIT",
13 | "repository": {
14 | "type": "git",
15 | "url": "git+https://github.com/react-native-community/peek-and-pop.git"
16 | },
17 | "main": "lib/commonjs/index.js",
18 | "module": "lib/module/index.js",
19 | "react-native": "src/index.tsx",
20 | "types": "lib/typescript/src/index.d.ts",
21 | "files": [
22 | "src",
23 | "lib"
24 | ],
25 | "scripts": {
26 | "lint": "eslint --ext .js,.ts,.tsx .",
27 | "typescript": "tsc --noEmit",
28 | "test": "echo \"Error: no test specified\" && exit 1",
29 | "bootstrap": "yarn --cwd example && yarn",
30 | "prepare": "bob build"
31 | },
32 | "peerDependencies": {
33 | "react": "^16.5.0",
34 | "react-native": ">=0.57.0-rc.0 <1.0.x"
35 | },
36 | "devDependencies": {
37 | "@commitlint/config-conventional": "^8.0.0",
38 | "@react-native-community/bob": "^0.6.1",
39 | "@react-native-community/eslint-config": "^0.0.5",
40 | "@types/react": "^16.8.23",
41 | "@types/react-native": "^0.57.65",
42 | "commitlint": "^8.0.0",
43 | "eslint": "^6.0.1",
44 | "eslint-plugin-prettier": "^3.1.0",
45 | "husky": "^3.0.0",
46 | "prettier": "^1.18.2",
47 | "react": "^16.5.0",
48 | "react-native": "^0.59.4",
49 | "typescript": "^3.5.2"
50 | },
51 | "husky": {
52 | "hooks": {
53 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
54 | "pre-commit": "yarn lint && yarn typescript"
55 | }
56 | },
57 | "@react-native-community/bob": {
58 | "source": "src",
59 | "output": "lib",
60 | "targets": [
61 | "commonjs",
62 | "module",
63 | "typescript"
64 | ]
65 | }
66 | }
67 |
--------------------------------------------------------------------------------
/src/index.tsx:
--------------------------------------------------------------------------------
1 | import * as React from 'react';
2 | import {
3 | requireNativeComponent,
4 | View,
5 | findNodeHandle,
6 | Dimensions,
7 | ViewStyle,
8 | StyleProp,
9 | ViewProps,
10 | } from 'react-native';
11 |
12 | type PreviewAction =
13 | | {
14 | type?: 'normal';
15 | selected?: boolean;
16 | label: string;
17 | onPress: () => void;
18 | }
19 | | {
20 | type: 'destructive';
21 | label: string;
22 | onPress: () => void;
23 | }
24 | | {
25 | type: 'group';
26 | label: string;
27 | actions: PreviewAction[];
28 | };
29 |
30 | type MappedAction = (() => void) | undefined;
31 |
32 | type TraveresedAction =
33 | | {
34 | type: 'normal';
35 | selected?: boolean;
36 | label: string;
37 | onPress: () => void;
38 | }
39 | | {
40 | type: 'destructive';
41 | label: string;
42 | _key: number;
43 | }
44 | | {
45 | type: 'group';
46 | label: string;
47 | actions: TraveresedAction[];
48 | };
49 |
50 | type NativePeekAndPopleViewRef = {
51 | setNativeProps(props: { childRef: null | number }): void;
52 | };
53 |
54 | type ActionEvent = { nativeEvent: { key: number } };
55 |
56 | type Props = ViewProps & {
57 | renderPreview: () => React.ReactNode;
58 | previewActions?: PreviewAction[];
59 | onPeek?: () => void;
60 | onPop?: () => void;
61 | onDisappear?: () => void;
62 | children: React.ReactNode;
63 | };
64 |
65 | type State = {
66 | visible: boolean;
67 | traversedActions: TraveresedAction[];
68 | mappedActions: MappedAction[];
69 | };
70 |
71 | const { width, height } = Dimensions.get('window');
72 |
73 | export const NativePeekAndPopleView: React.ComponentType<{
74 | ref: React.RefObject;
75 | style: StyleProp;
76 | onPeek?: () => void;
77 | onPop?: () => void;
78 | onDisappear?: () => void;
79 | onAction: (event: ActionEvent) => void;
80 | previewActions: TraveresedAction[];
81 | children: React.ReactNode;
82 | }> = requireNativeComponent('PeekAndPop');
83 |
84 | const traverseActions = (
85 | actions: PreviewAction[],
86 | actionsMap: MappedAction[]
87 | ) => {
88 | const traversedAction: TraveresedAction[] = [];
89 |
90 | actions.forEach(currentAction => {
91 | if (currentAction.type === 'group') {
92 | const clonedAction = {
93 | ...currentAction,
94 | actions: traverseActions(currentAction.actions, actionsMap),
95 | };
96 |
97 | traversedAction.push(clonedAction);
98 | } else {
99 | const { onPress, ...clonedAction } = currentAction;
100 | // @ts-ignore
101 | clonedAction._key = actionsMap.length;
102 | actionsMap.push(onPress);
103 | traversedAction.push(clonedAction as TraveresedAction);
104 | }
105 | });
106 | return traversedAction;
107 | };
108 |
109 | export default class PeekableView extends React.Component {
110 | static getDerivedStateFromProps(props: Props) {
111 | const mappedActions: MappedAction[] = [];
112 | const traversedActions = props.previewActions
113 | ? traverseActions(props.previewActions, mappedActions)
114 | : undefined;
115 |
116 | return {
117 | traversedActions,
118 | mappedActions,
119 | };
120 | }
121 |
122 | state: State = {
123 | visible: false,
124 | traversedActions: [],
125 | mappedActions: [],
126 | };
127 |
128 | preview = React.createRef();
129 | sourceView = React.createRef();
130 |
131 | componentDidMount() {
132 | this.preview.current &&
133 | this.preview.current.setNativeProps({
134 | childRef: findNodeHandle(this.sourceView.current),
135 | });
136 | }
137 |
138 | onDisappear = () => {
139 | this.setState({
140 | visible: false,
141 | });
142 | this.props.onDisappear && this.props.onDisappear();
143 | };
144 |
145 | onPeek = () => {
146 | this.setState({
147 | visible: true,
148 | });
149 | this.props.onPeek && this.props.onPeek();
150 | };
151 |
152 | onActionsEvent = ({ nativeEvent: { key } }: ActionEvent) => {
153 | const action = this.state.mappedActions[key];
154 |
155 | action && action();
156 | };
157 |
158 | render() {
159 | const {
160 | renderPreview,
161 | /* eslint-disable @typescript-eslint/no-unused-vars */
162 | previewActions,
163 | onPeek,
164 | onDisappear,
165 | /* eslint-enable @typescript-eslint/no-unused-vars */
166 | onPop,
167 | children,
168 | ...rest
169 | } = this.props;
170 |
171 | return (
172 |
173 |
174 |
184 |
185 | {this.state.visible ? renderPreview() : null}
186 |
187 |
188 | {children}
189 |
190 |
191 | );
192 | }
193 | }
194 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "baseUrl": ".",
4 | "paths": {
5 | "@react-native-community/peek-and-pop": ["./src/index"]
6 | },
7 | "allowUnreachableCode": false,
8 | "allowUnusedLabels": false,
9 | "esModuleInterop": true,
10 | "forceConsistentCasingInFileNames": true,
11 | "jsx": "react",
12 | "lib": ["esnext"],
13 | "module": "esnext",
14 | "moduleResolution": "node",
15 | "noFallthroughCasesInSwitch": true,
16 | "noImplicitReturns": true,
17 | "noImplicitUseStrict": false,
18 | "noStrictGenericChecks": false,
19 | "noUnusedLocals": true,
20 | "noUnusedParameters": true,
21 | "resolveJsonModule": true,
22 | "skipLibCheck": true,
23 | "strict": true,
24 | "target": "esnext"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------