├── example
├── .watchmanconfig
├── .gitattributes
├── app.json
├── .babelrc
├── android
│ ├── settings.gradle
│ ├── app
│ │ ├── src
│ │ │ └── main
│ │ │ │ ├── res
│ │ │ │ ├── values
│ │ │ │ │ ├── strings.xml
│ │ │ │ │ └── styles.xml
│ │ │ │ ├── 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
│ │ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ ├── MainActivity.java
│ │ │ │ │ └── MainApplication.java
│ │ │ │ └── AndroidManifest.xml
│ │ ├── proguard-rules.pro
│ │ ├── BUCK
│ │ └── build.gradle
│ ├── keystores
│ │ ├── debug.keystore.properties
│ │ └── BUCK
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradle.properties
│ ├── build.gradle
│ ├── gradlew.bat
│ └── gradlew
├── webpack.haul.js
├── ios
│ ├── example
│ │ ├── Images.xcassets
│ │ │ ├── Contents.json
│ │ │ └── AppIcon.appiconset
│ │ │ │ └── Contents.json
│ │ ├── AppDelegate.h
│ │ ├── main.m
│ │ ├── AppDelegate.m
│ │ ├── Info.plist
│ │ └── Base.lproj
│ │ │ └── LaunchScreen.xib
│ ├── exampleTests
│ │ ├── Info.plist
│ │ └── exampleTests.m
│ ├── example-tvOSTests
│ │ └── Info.plist
│ ├── example-tvOS
│ │ └── Info.plist
│ └── example.xcodeproj
│ │ ├── xcshareddata
│ │ └── xcschemes
│ │ │ ├── example.xcscheme
│ │ │ └── example-tvOS.xcscheme
│ │ └── project.pbxproj
├── .buckconfig
├── haul.config.js
├── index.js
├── package.json
├── .gitignore
├── App.js
└── .flowconfig
├── .gitattributes
├── .npmrc
├── .npmignore
├── .gitignore
├── media
└── demo.gif
├── .editorconfig
├── config.js
├── tsconfig.json
├── lib
├── index.d.ts
├── style.d.ts
├── style.js
└── index.js
├── src
├── style.ts
└── index.tsx
├── LICENSE
├── index.html
├── package.json
└── README.md
/example/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto
2 |
--------------------------------------------------------------------------------
/.npmrc:
--------------------------------------------------------------------------------
1 | package-lock=false
2 |
--------------------------------------------------------------------------------
/example/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | media
2 | favicon.ico
3 | config.js
4 | index.html
5 | example
6 |
--------------------------------------------------------------------------------
/example/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "example",
3 | "displayName": "example"
4 | }
--------------------------------------------------------------------------------
/example/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["module:metro-react-native-babel-preset"]
3 | }
4 |
--------------------------------------------------------------------------------
/example/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'example'
2 |
3 | include ':app'
4 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | *.log
3 | .idea
4 | node_modules
5 | *.sw*
6 | .cache-loader
7 | yarn.lock
8 |
--------------------------------------------------------------------------------
/example/webpack.haul.js:
--------------------------------------------------------------------------------
1 | module.exports = ({ platform }) => ({
2 | entry: `./index.js`,
3 | });
4 |
--------------------------------------------------------------------------------
/media/demo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ladjs/react-native-loading-spinner-overlay/HEAD/media/demo.gif
--------------------------------------------------------------------------------
/example/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | example
3 |
4 |
--------------------------------------------------------------------------------
/example/ios/example/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/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/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/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ladjs/react-native-loading-spinner-overlay/HEAD/example/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/example/haul.config.js:
--------------------------------------------------------------------------------
1 | import { createWebpackConfig } from "haul";
2 |
3 | export default {
4 | webpack: createWebpackConfig(({ platform }) => ({
5 | entry: `./index.js`
6 | }))
7 | };
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ladjs/react-native-loading-spinner-overlay/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ladjs/react-native-loading-spinner-overlay/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ladjs/react-native-loading-spinner-overlay/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ladjs/react-native-loading-spinner-overlay/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | indent_style = space
5 | indent_size = 2
6 | end_of_line = lf
7 | charset = utf-8
8 | trim_trailing_whitespace = true
9 | insert_final_newline = true
10 |
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ladjs/react-native-loading-spinner-overlay/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ladjs/react-native-loading-spinner-overlay/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ladjs/react-native-loading-spinner-overlay/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ladjs/react-native-loading-spinner-overlay/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ladjs/react-native-loading-spinner-overlay/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ladjs/react-native-loading-spinner-overlay/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/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/index.js:
--------------------------------------------------------------------------------
1 | /** @format */
2 |
3 | import { AppRegistry } from 'react-native';
4 | import App from './App';
5 | import { name as appName } from './app.json';
6 |
7 | AppRegistry.registerComponent(appName, () => App);
8 |
--------------------------------------------------------------------------------
/example/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/example/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
6 |
--------------------------------------------------------------------------------
/example/ios/example/AppDelegate.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface AppDelegate : UIResponder
11 |
12 | @property (nonatomic, strong) UIWindow *window;
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/config.js:
--------------------------------------------------------------------------------
1 | docute.init({
2 | debug: true,
3 | title: 'React Native Loading Spinner Overlay',
4 | repo: 'joinspontaneous/react-native-loading-spinner-overlay',
5 | 'edit-link': 'https://github.com/joinspontaneous/react-native-loading-spinner-overlay/tree/master/',
6 | twitter: 'niftylettuce',
7 | nav: {
8 | default: [
9 | {
10 | title: 'React Native Loading Spinner Overlay',
11 | path: '/'
12 | }
13 | ]
14 | }
15 | });
16 |
--------------------------------------------------------------------------------
/example/ios/example/main.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import "AppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "include": ["src"],
3 | "exclude": ["node_modules", "config.js"],
4 | "compilerOptions": {
5 | "lib": ["es5", "es6", "esnext.asynciterable"],
6 | "types": ["react", "jest"],
7 | "allowSyntheticDefaultImports": false,
8 | "esModuleInterop": false,
9 | "jsx": "react",
10 | "moduleResolution": "node",
11 | "strict": true,
12 | "target": "esnext",
13 | "resolveJsonModule": true,
14 | "outDir": "./lib",
15 | "declaration": true
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/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 | "example": "haul"
9 | },
10 | "dependencies": {
11 | "react": "16.6.0-alpha.8af6728",
12 | "react-native": "0.57.3",
13 | "react-native-loading-spinner-overlay": "file:../"
14 | },
15 | "devDependencies": {
16 | "babel-jest": "23.6.0",
17 | "haul": "^1.0.0-rc.8",
18 | "jest": "23.6.0",
19 | "metro-react-native-babel-preset": "0.48.1",
20 | "react-hot-loader": "^4.3.11",
21 | "react-test-renderer": "16.6.0-alpha.8af6728"
22 | },
23 | "jest": {
24 | "preset": "react-native"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/index.d.ts:
--------------------------------------------------------------------------------
1 | import * as React from 'react';
2 | import { TextStyle, ViewStyle } from 'react-native';
3 | export interface SpinnerPropTypes {
4 | cancelable?: boolean;
5 | color?: string;
6 | animation?: 'none' | 'slide' | 'fade';
7 | overlayColor?: string;
8 | size?: 'small' | 'large' | number;
9 | textContent?: string;
10 | textStyle?: TextStyle;
11 | visible?: boolean;
12 | indicatorStyle?: ViewStyle;
13 | customIndicator?: React.ReactNode;
14 | children?: React.ReactNode;
15 | spinnerKey?: string;
16 | }
17 | declare const Spinner: ({ cancelable, color, animation, overlayColor, size, textContent, textStyle, visible, indicatorStyle, customIndicator, children, spinnerKey }: SpinnerPropTypes) => JSX.Element;
18 | export default Spinner;
19 |
--------------------------------------------------------------------------------
/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/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/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/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 |
--------------------------------------------------------------------------------
/src/style.ts:
--------------------------------------------------------------------------------
1 | import { StyleSheet } from 'react-native';
2 |
3 | const transparent = 'transparent';
4 | const styles = StyleSheet.create({
5 | activityIndicator: {
6 | flex: 1
7 | },
8 | background: {
9 | alignItems: 'center',
10 | bottom: 0,
11 | justifyContent: 'center',
12 | left: 0,
13 | position: 'absolute',
14 | right: 0,
15 | top: 0
16 | },
17 | container: {
18 | backgroundColor: transparent,
19 | bottom: 0,
20 | flex: 1,
21 | left: 0,
22 | position: 'absolute',
23 | right: 0,
24 | top: 0
25 | },
26 | textContainer: {
27 | alignItems: 'center',
28 | bottom: 0,
29 | flex: 1,
30 | justifyContent: 'center',
31 | left: 0,
32 | position: 'absolute',
33 | right: 0,
34 | top: 0
35 | },
36 | textContent: {
37 | fontSize: 20,
38 | fontWeight: 'bold',
39 | height: 50,
40 | top: 80
41 | }
42 | });
43 |
44 | export default styles;
45 |
--------------------------------------------------------------------------------
/lib/style.d.ts:
--------------------------------------------------------------------------------
1 | declare const styles: {
2 | activityIndicator: {
3 | flex: number;
4 | };
5 | background: {
6 | alignItems: "center";
7 | bottom: number;
8 | justifyContent: "center";
9 | left: number;
10 | position: "absolute";
11 | right: number;
12 | top: number;
13 | };
14 | container: {
15 | backgroundColor: string;
16 | bottom: number;
17 | flex: number;
18 | left: number;
19 | position: "absolute";
20 | right: number;
21 | top: number;
22 | };
23 | textContainer: {
24 | alignItems: "center";
25 | bottom: number;
26 | flex: number;
27 | justifyContent: "center";
28 | left: number;
29 | position: "absolute";
30 | right: number;
31 | top: number;
32 | };
33 | textContent: {
34 | fontSize: number;
35 | fontWeight: "bold";
36 | height: number;
37 | top: number;
38 | };
39 | };
40 | export default styles;
41 |
--------------------------------------------------------------------------------
/lib/style.js:
--------------------------------------------------------------------------------
1 | import { StyleSheet } from 'react-native';
2 | const transparent = 'transparent';
3 | const styles = StyleSheet.create({
4 | activityIndicator: {
5 | flex: 1
6 | },
7 | background: {
8 | alignItems: 'center',
9 | bottom: 0,
10 | justifyContent: 'center',
11 | left: 0,
12 | position: 'absolute',
13 | right: 0,
14 | top: 0
15 | },
16 | container: {
17 | backgroundColor: transparent,
18 | bottom: 0,
19 | flex: 1,
20 | left: 0,
21 | position: 'absolute',
22 | right: 0,
23 | top: 0
24 | },
25 | textContainer: {
26 | alignItems: 'center',
27 | bottom: 0,
28 | flex: 1,
29 | justifyContent: 'center',
30 | left: 0,
31 | position: 'absolute',
32 | right: 0,
33 | top: 0
34 | },
35 | textContent: {
36 | fontSize: 20,
37 | fontWeight: 'bold',
38 | height: 50,
39 | top: 80
40 | }
41 | });
42 | export default styles;
43 |
--------------------------------------------------------------------------------
/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 |
58 | # Haul
59 | #
60 | haul-debug.log
61 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License
2 |
3 | Copyright (c) 2016- Nick Baugh (http://niftylettuce.com/)
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6 |
7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10 |
--------------------------------------------------------------------------------
/example/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
13 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/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 = "27.0.3"
6 | minSdkVersion = 16
7 | compileSdkVersion = 27
8 | targetSdkVersion = 26
9 | supportLibVersion = "27.1.1"
10 | }
11 | repositories {
12 | jcenter()
13 | google()
14 | }
15 | dependencies {
16 | classpath 'com.android.tools.build:gradle:3.1.4'
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 | jcenter()
27 | maven {
28 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
29 | url "$rootDir/../node_modules/react-native/android"
30 | }
31 | google()
32 | }
33 | }
34 |
35 |
36 | task wrapper(type: Wrapper) {
37 | gradleVersion = '4.4'
38 | distributionUrl = distributionUrl.replace("bin", "all")
39 | }
40 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | React Native Loading Spinner Overlay
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/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/ios/example/AppDelegate.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "AppDelegate.h"
9 |
10 | #import
11 | #import
12 |
13 | @implementation AppDelegate
14 |
15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
16 | {
17 | NSURL *jsCodeLocation;
18 |
19 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
20 |
21 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
22 | moduleName:@"example"
23 | initialProperties:nil
24 | launchOptions:launchOptions];
25 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
26 |
27 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
28 | UIViewController *rootViewController = [UIViewController new];
29 | rootViewController.view = rootView;
30 | self.window.rootViewController = rootViewController;
31 | [self.window makeKeyAndVisible];
32 | return YES;
33 | }
34 |
35 | @end
36 |
--------------------------------------------------------------------------------
/example/App.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Sample React Native App
3 | * https://github.com/facebook/react-native
4 | *
5 | * @format
6 | * @flow
7 | */
8 |
9 | import React, { Component } from 'react';
10 | import { Platform, StyleSheet, Text, View } from 'react-native';
11 | import Spinner from 'react-native-loading-spinner-overlay';
12 |
13 | const instructions = Platform.select({
14 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu',
15 | android:
16 | 'Double tap R on your keyboard to reload,\n' +
17 | 'Shake or press menu button for dev menu'
18 | });
19 |
20 | type Props = {};
21 | export default class App extends Component {
22 | state = {
23 | spinner: false
24 | };
25 |
26 | componentDidMount() {
27 | setInterval(() => {
28 | this.setState({
29 | spinner: !this.state.spinner
30 | });
31 | }, 3000);
32 | }
33 |
34 | render() {
35 | return (
36 |
37 |
42 | Welcome to React Native!
43 | To get started, edit App.js
44 | {instructions}
45 |
46 | );
47 | }
48 | }
49 |
50 | const styles = StyleSheet.create({
51 | spinnerTextStyle: {
52 | color: '#FFF'
53 | },
54 | container: {
55 | flex: 1,
56 | justifyContent: 'center',
57 | alignItems: 'center',
58 | backgroundColor: '#F5FCFF'
59 | },
60 | welcome: {
61 | fontSize: 20,
62 | textAlign: 'center',
63 | margin: 10
64 | },
65 | instructions: {
66 | textAlign: 'center',
67 | color: '#333333',
68 | marginBottom: 5
69 | }
70 | });
71 |
--------------------------------------------------------------------------------
/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/android/app/BUCK:
--------------------------------------------------------------------------------
1 | # To learn about Buck see [Docs](https://buckbuild.com/).
2 | # To run your application with Buck:
3 | # - install Buck
4 | # - `npm start` - to start the packager
5 | # - `cd android`
6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"`
7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
8 | # - `buck install -r android/app` - compile, install and run application
9 | #
10 |
11 | lib_deps = []
12 |
13 | for jarfile in glob(['libs/*.jar']):
14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')]
15 | lib_deps.append(':' + name)
16 | prebuilt_jar(
17 | name = name,
18 | binary_jar = jarfile,
19 | )
20 |
21 | for aarfile in glob(['libs/*.aar']):
22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')]
23 | lib_deps.append(':' + name)
24 | android_prebuilt_aar(
25 | name = name,
26 | aar = aarfile,
27 | )
28 |
29 | android_library(
30 | name = "all-libs",
31 | exported_deps = lib_deps,
32 | )
33 |
34 | android_library(
35 | name = "app-code",
36 | srcs = glob([
37 | "src/main/java/**/*.java",
38 | ]),
39 | deps = [
40 | ":all-libs",
41 | ":build_config",
42 | ":res",
43 | ],
44 | )
45 |
46 | android_build_config(
47 | name = "build_config",
48 | package = "com.example",
49 | )
50 |
51 | android_resource(
52 | name = "res",
53 | package = "com.example",
54 | res = "src/main/res",
55 | )
56 |
57 | android_binary(
58 | name = "app",
59 | keystore = "//android/keystores:debug",
60 | manifest = "src/main/AndroidManifest.xml",
61 | package_type = "debug",
62 | deps = [
63 | ":app-code",
64 | ],
65 | )
66 |
--------------------------------------------------------------------------------
/lib/index.js:
--------------------------------------------------------------------------------
1 | import * as React from 'react';
2 | import { View, Text, Modal, ActivityIndicator } from 'react-native';
3 | import styles from './style';
4 | const transparent = 'transparent';
5 | const Spinner = ({ cancelable = false, color = 'white', animation = 'none', overlayColor = 'rgba(0, 0, 0, 0.25)', size = 'large', textContent = '', textStyle, visible = false, indicatorStyle, customIndicator, children, spinnerKey }) => {
6 | const [spinnerVisible, setSpinnerVisibility] = React.useState(visible);
7 | const close = () => {
8 | setSpinnerVisibility(false);
9 | };
10 | const _handleOnRequestClose = () => {
11 | if (cancelable) {
12 | close();
13 | }
14 | };
15 | React.useEffect(() => {
16 | setSpinnerVisibility(visible);
17 | }, [visible]);
18 | const _renderDefaultContent = () => {
19 | return (React.createElement(View, { style: styles.background },
20 | customIndicator || (React.createElement(ActivityIndicator, { color: color, size: size, style: [styles.activityIndicator, { ...indicatorStyle }] })),
21 | React.createElement(View, { style: [styles.textContainer, { ...indicatorStyle }] },
22 | React.createElement(Text, { style: [styles.textContent, textStyle] }, textContent))));
23 | };
24 | const _renderSpinner = () => {
25 | const spinner = (React.createElement(View, { style: [styles.container, { backgroundColor: overlayColor }], key: spinnerKey || `spinner_${Date.now()}` }, children || _renderDefaultContent()));
26 | return (React.createElement(Modal, { animationType: animation, onRequestClose: () => _handleOnRequestClose(), supportedOrientations: ['landscape', 'portrait'], transparent: true, visible: spinnerVisible, statusBarTranslucent: true }, spinner));
27 | };
28 | return _renderSpinner();
29 | };
30 | export default Spinner;
31 |
--------------------------------------------------------------------------------
/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 | NSLocationWhenInUseUsageDescription
28 |
29 | UILaunchStoryboardName
30 | LaunchScreen
31 | UIRequiredDeviceCapabilities
32 |
33 | armv7
34 |
35 | UISupportedInterfaceOrientations
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationLandscapeLeft
39 | UIInterfaceOrientationLandscapeRight
40 |
41 | UIViewControllerBasedStatusBarAppearance
42 |
43 | NSLocationWhenInUseUsageDescription
44 |
45 | NSAppTransportSecurity
46 |
47 |
48 | NSAllowsArbitraryLoads
49 |
50 | NSExceptionDomains
51 |
52 | localhost
53 |
54 | NSExceptionAllowsInsecureHTTPLoads
55 |
56 |
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/example/ios/exampleTests/exampleTests.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 | #import
10 |
11 | #import
12 | #import
13 |
14 | #define TIMEOUT_SECONDS 600
15 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
16 |
17 | @interface 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/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | set DIRNAME=%~dp0
12 | if "%DIRNAME%" == "" set DIRNAME=.
13 | set APP_BASE_NAME=%~n0
14 | set APP_HOME=%DIRNAME%
15 |
16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17 | set DEFAULT_JVM_OPTS=
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windows variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 |
53 | :win9xME_args
54 | @rem Slurp the command line arguments.
55 | set CMD_LINE_ARGS=
56 | set _SKIP=2
57 |
58 | :win9xME_args_slurp
59 | if "x%~1" == "x" goto execute
60 |
61 | set CMD_LINE_ARGS=%*
62 |
63 | :execute
64 | @rem Setup the command line
65 |
66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
67 |
68 | @rem Execute Gradle
69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
70 |
71 | :end
72 | @rem End local scope for the variables with windows NT shell
73 | if "%ERRORLEVEL%"=="0" goto mainEnd
74 |
75 | :fail
76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
77 | rem the _cmd.exe /c_ return code!
78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
79 | exit /b 1
80 |
81 | :mainEnd
82 | if "%OS%"=="Windows_NT" endlocal
83 |
84 | :omega
85 |
--------------------------------------------------------------------------------
/example/.flowconfig:
--------------------------------------------------------------------------------
1 | [ignore]
2 | ; We fork some components by platform
3 | .*/*[.]android.js
4 |
5 | ; Ignore "BUCK" generated dirs
6 | /\.buckd/
7 |
8 | ; Ignore unexpected extra "@providesModule"
9 | .*/node_modules/.*/node_modules/fbjs/.*
10 |
11 | ; Ignore duplicate module providers
12 | ; For RN Apps installed via npm, "Libraries" folder is inside
13 | ; "node_modules/react-native" but in the source repo it is in the root
14 | .*/Libraries/react-native/React.js
15 |
16 | ; Ignore polyfills
17 | .*/Libraries/polyfills/.*
18 |
19 | ; Ignore metro
20 | .*/node_modules/metro/.*
21 |
22 | [include]
23 |
24 | [libs]
25 | node_modules/react-native/Libraries/react-native/react-native-interface.js
26 | node_modules/react-native/flow/
27 | node_modules/react-native/flow-github/
28 |
29 | [options]
30 | emoji=true
31 |
32 | esproposal.optional_chaining=enable
33 | esproposal.nullish_coalescing=enable
34 |
35 | module.system=haste
36 | module.system.haste.use_name_reducers=true
37 | # get basename
38 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
39 | # strip .js or .js.flow suffix
40 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
41 | # strip .ios suffix
42 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
43 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
44 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
45 | module.system.haste.paths.blacklist=.*/__tests__/.*
46 | module.system.haste.paths.blacklist=.*/__mocks__/.*
47 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.*
48 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.*
49 |
50 | munge_underscores=true
51 |
52 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
53 |
54 | module.file_ext=.js
55 | module.file_ext=.jsx
56 | module.file_ext=.json
57 | module.file_ext=.native.js
58 |
59 | suppress_type=$FlowIssue
60 | suppress_type=$FlowFixMe
61 | suppress_type=$FlowFixMeProps
62 | suppress_type=$FlowFixMeState
63 |
64 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
65 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
66 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
67 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
68 |
69 | [version]
70 | ^0.78.0
71 |
--------------------------------------------------------------------------------
/src/index.tsx:
--------------------------------------------------------------------------------
1 | /* eslint @typescript-eslint/prefer-nullish-coalescing: 0 */
2 | import * as React from 'react';
3 | import {
4 | View,
5 | Text,
6 | Modal,
7 | ActivityIndicator,
8 | TextStyle,
9 | ViewStyle
10 | } from 'react-native';
11 | import styles from './style';
12 |
13 | export interface SpinnerPropTypes {
14 | cancelable?: boolean;
15 | color?: string;
16 | animation?: 'none' | 'slide' | 'fade';
17 | overlayColor?: string;
18 | size?: 'small' | 'large' | number; // size props does not support value normal
19 | textContent?: string;
20 | textStyle?: TextStyle;
21 | visible?: boolean;
22 | indicatorStyle?: ViewStyle;
23 | customIndicator?: React.ReactNode;
24 | children?: React.ReactNode;
25 | spinnerKey?: string;
26 | }
27 |
28 | const Spinner = ({
29 | cancelable = false,
30 | color = 'white',
31 | animation = 'none',
32 | overlayColor = 'rgba(0, 0, 0, 0.25)',
33 | size = 'large',
34 | textContent = '',
35 | textStyle,
36 | visible = false,
37 | indicatorStyle,
38 | customIndicator,
39 | children,
40 | spinnerKey
41 | }: SpinnerPropTypes) => {
42 | const [spinnerVisible, setSpinnerVisibility] = React.useState(visible);
43 | const close = () => {
44 | setSpinnerVisibility(false);
45 | };
46 |
47 | const _handleOnRequestClose = () => {
48 | if (cancelable) {
49 | close();
50 | }
51 | };
52 |
53 | React.useEffect(() => {
54 | setSpinnerVisibility(visible);
55 | }, [visible]);
56 | const _renderDefaultContent = () => {
57 | return (
58 |
59 | {customIndicator || (
60 |
65 | )}
66 |
67 | {textContent}
68 |
69 |
70 | );
71 | };
72 |
73 | const _renderSpinner = () => {
74 | const spinner = (
75 |
79 | {children || _renderDefaultContent()}
80 |
81 | );
82 |
83 | return (
84 | {
87 | _handleOnRequestClose();
88 | }}
89 | supportedOrientations={['landscape', 'portrait']}
90 | transparent
91 | visible={spinnerVisible}
92 | statusBarTranslucent={true}
93 | >
94 | {spinner}
95 |
96 | );
97 | };
98 |
99 | return _renderSpinner();
100 | };
101 |
102 | export default Spinner;
103 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "react-native-loading-spinner-overlay",
3 | "description": "The only pure React Native Native iOS and Android loading spinner (progress bar indicator) overlay",
4 | "version": "3.0.1",
5 | "author": "Nick Baugh ",
6 | "bugs": {
7 | "url": "https://github.com/joinspontaneous/react-native-loading-spinner-overlay/issues"
8 | },
9 | "commitlint": {
10 | "extends": [
11 | "@commitlint/config-conventional"
12 | ]
13 | },
14 | "contributors": [
15 | "Nick Baugh (http://niftylettuce.com)",
16 | "Rohit Bhatia (http://blendtale.com)",
17 | "Spencer Snyder (http://spencersnyder.io)",
18 | "Luciano Lima ",
19 | "George Savvidis",
20 | "Sandro Machado ",
21 | "Ben Sutter ",
22 | "Ivan Kuznetsov ",
23 | "Darren Camp ",
24 | "Rigo B Castro ",
25 | "Raj Kissu",
26 | "Ivan Pusic ",
27 | "Antonio Grass ",
28 | "Vijay Chouhan ",
29 | "Jacob Lee ",
30 | "Matt Labrum"
31 | ],
32 | "devDependencies": {
33 | "@commitlint/cli": "^17.0.3",
34 | "@commitlint/config-conventional": "^17.0.3",
35 | "@types/jest": "^28.1.6",
36 | "@types/react-native": "^0.69.3",
37 | "@typescript-eslint/parser": "^5.31.0",
38 | "eslint": "^8.20.0",
39 | "eslint-config-xo-lass": "^2.0.1",
40 | "eslint-plugin-react": "^7.30.1",
41 | "eslint-plugin-react-native": "^4.0.0",
42 | "fixpack": "^4.0.0",
43 | "husky": "^8.0.1",
44 | "lint-staged": "^13.0.3",
45 | "prettier": "^2.7.1",
46 | "react": "18.0.0",
47 | "react-native": "^0.69.3",
48 | "remark-cli": "^11.0.0",
49 | "remark-preset-github": "^4.0.4",
50 | "typescript": "^4.7.4",
51 | "xo": "^0.51.0"
52 | },
53 | "homepage": "https://github.com/joinspontaneous/react-native-loading-spinner-overlay",
54 | "husky": {
55 | "hooks": {
56 | "pre-commit": "npm test",
57 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
58 | }
59 | },
60 | "keywords": [
61 | "activity",
62 | "android",
63 | "bar",
64 | "full",
65 | "indicator",
66 | "ios",
67 | "loading",
68 | "modal",
69 | "native",
70 | "pop-up",
71 | "popup",
72 | "progress",
73 | "react",
74 | "react-native",
75 | "screen",
76 | "spinner",
77 | "view"
78 | ],
79 | "license": "MIT",
80 | "lint-staged": {
81 | "linters": {
82 | "*.ts": [
83 | "xo --fix",
84 | "git add"
85 | ],
86 | "*.md": [
87 | "remark . -qfo",
88 | "git add"
89 | ],
90 | "package.json": [
91 | "fixpack",
92 | "git add"
93 | ]
94 | }
95 | },
96 | "main": "lib/index.js",
97 | "peerDependencies": {
98 | "react": "*",
99 | "react-native": "*"
100 | },
101 | "prettier": {
102 | "singleQuote": true,
103 | "bracketSpacing": true,
104 | "trailingComma": "none"
105 | },
106 | "remarkConfig": {
107 | "plugins": [
108 | "preset-github"
109 | ]
110 | },
111 | "repository": {
112 | "type": "git",
113 | "url": "git+ssh://git@github.com/joinspontaneous/react-native-loading-spinner-overlay.git"
114 | },
115 | "scripts": {
116 | "build": "npm run test && tsc -p .",
117 | "lint": "xo && remark . -qfo",
118 | "test": "npm run lint"
119 | },
120 | "types": "lib",
121 | "xo": {
122 | "parser": "typescript-eslint",
123 | "prettier": true,
124 | "space": true,
125 | "extends": [
126 | "xo-lass",
127 | "plugin:react/recommended",
128 | "plugin:react-native/all"
129 | ],
130 | "plugins": [
131 | "react",
132 | "react-native"
133 | ],
134 | "parserOptions": {
135 | "sourceType": "module"
136 | },
137 | "ignores": [
138 | "config.js",
139 | "example/**",
140 | "lib"
141 | ],
142 | "settings": {
143 | "react": {
144 | "version": "18.x"
145 | }
146 | }
147 | }
148 | }
149 |
--------------------------------------------------------------------------------
/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.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/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Attempt to set APP_HOME
10 | # Resolve links: $0 may be a link
11 | PRG="$0"
12 | # Need this for relative symlinks.
13 | while [ -h "$PRG" ] ; do
14 | ls=`ls -ld "$PRG"`
15 | link=`expr "$ls" : '.*-> \(.*\)$'`
16 | if expr "$link" : '/.*' > /dev/null; then
17 | PRG="$link"
18 | else
19 | PRG=`dirname "$PRG"`"/$link"
20 | fi
21 | done
22 | SAVED="`pwd`"
23 | cd "`dirname \"$PRG\"`/" >/dev/null
24 | APP_HOME="`pwd -P`"
25 | cd "$SAVED" >/dev/null
26 |
27 | APP_NAME="Gradle"
28 | APP_BASE_NAME=`basename "$0"`
29 |
30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31 | DEFAULT_JVM_OPTS=""
32 |
33 | # Use the maximum available, or set MAX_FD != -1 to use that value.
34 | MAX_FD="maximum"
35 |
36 | warn () {
37 | echo "$*"
38 | }
39 |
40 | die () {
41 | echo
42 | echo "$*"
43 | echo
44 | exit 1
45 | }
46 |
47 | # OS specific support (must be 'true' or 'false').
48 | cygwin=false
49 | msys=false
50 | darwin=false
51 | nonstop=false
52 | case "`uname`" in
53 | CYGWIN* )
54 | cygwin=true
55 | ;;
56 | Darwin* )
57 | darwin=true
58 | ;;
59 | MINGW* )
60 | msys=true
61 | ;;
62 | NONSTOP* )
63 | nonstop=true
64 | ;;
65 | esac
66 |
67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
68 |
69 | # Determine the Java command to use to start the JVM.
70 | if [ -n "$JAVA_HOME" ] ; then
71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
72 | # IBM's JDK on AIX uses strange locations for the executables
73 | JAVACMD="$JAVA_HOME/jre/sh/java"
74 | else
75 | JAVACMD="$JAVA_HOME/bin/java"
76 | fi
77 | if [ ! -x "$JAVACMD" ] ; then
78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
79 |
80 | Please set the JAVA_HOME variable in your environment to match the
81 | location of your Java installation."
82 | fi
83 | else
84 | JAVACMD="java"
85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
86 |
87 | Please set the JAVA_HOME variable in your environment to match the
88 | location of your Java installation."
89 | fi
90 |
91 | # Increase the maximum file descriptors if we can.
92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
93 | MAX_FD_LIMIT=`ulimit -H -n`
94 | if [ $? -eq 0 ] ; then
95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
96 | MAX_FD="$MAX_FD_LIMIT"
97 | fi
98 | ulimit -n $MAX_FD
99 | if [ $? -ne 0 ] ; then
100 | warn "Could not set maximum file descriptor limit: $MAX_FD"
101 | fi
102 | else
103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
104 | fi
105 | fi
106 |
107 | # For Darwin, add options to specify how the application appears in the dock
108 | if $darwin; then
109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
110 | fi
111 |
112 | # For Cygwin, switch paths to Windows format before running java
113 | if $cygwin ; then
114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
116 | JAVACMD=`cygpath --unix "$JAVACMD"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Escape application args
158 | save () {
159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
160 | echo " "
161 | }
162 | APP_ARGS=$(save "$@")
163 |
164 | # Collect all arguments for the java command, following the shell quoting and substitution rules
165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
166 |
167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
169 | cd "$(dirname "$0")"
170 | fi
171 |
172 | exec "$JAVACMD" "$@"
173 |
--------------------------------------------------------------------------------
/example/android/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 | project.ext.react = [
80 | cliPath: "node_modules/haul/bin/cli.js"
81 | ]
82 |
83 | apply from: "../../node_modules/react-native/react.gradle"
84 |
85 | /**
86 | * Set this to true to create two separate APKs instead of one:
87 | * - An APK that only works on ARM devices
88 | * - An APK that only works on x86 devices
89 | * The advantage is the size of the APK is reduced by about 4MB.
90 | * Upload all the APKs to the Play Store and people will download
91 | * the correct one based on the CPU architecture of their device.
92 | */
93 | def enableSeparateBuildPerCPUArchitecture = false
94 |
95 | /**
96 | * Run Proguard to shrink the Java bytecode in release builds.
97 | */
98 | def enableProguardInReleaseBuilds = false
99 |
100 | android {
101 | compileSdkVersion rootProject.ext.compileSdkVersion
102 | buildToolsVersion rootProject.ext.buildToolsVersion
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 | ndk {
111 | abiFilters "armeabi-v7a", "x86"
112 | }
113 | }
114 | splits {
115 | abi {
116 | reset()
117 | enable enableSeparateBuildPerCPUArchitecture
118 | universalApk false // If true, also generate a universal APK
119 | include "armeabi-v7a", "x86"
120 | }
121 | }
122 | buildTypes {
123 | release {
124 | minifyEnabled enableProguardInReleaseBuilds
125 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
126 | }
127 | }
128 | // applicationVariants are e.g. debug, release
129 | applicationVariants.all { variant ->
130 | variant.outputs.each { output ->
131 | // For each separate APK per architecture, set a unique version code as described here:
132 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
133 | def versionCodes = ["armeabi-v7a":1, "x86":2]
134 | def abi = output.getFilter(OutputFile.ABI)
135 | if (abi != null) { // null for the universal-debug, universal-release variants
136 | output.versionCodeOverride =
137 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
138 | }
139 | }
140 | }
141 | }
142 |
143 | dependencies {
144 | implementation fileTree(dir: "libs", include: ["*.jar"])
145 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
146 | implementation "com.facebook.react:react-native:+" // From node_modules
147 | }
148 |
149 | // Run this once to be able to run the application with BUCK
150 | // puts all compile dependencies into folder libs for BUCK to use
151 | task copyDownloadableDepsToLibs(type: Copy) {
152 | from configurations.compile
153 | into 'libs'
154 | }
155 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # React Native Loading Spinner Overlay
2 |
3 | [](https://github.com/sindresorhus/xo)
4 | [](https://github.com/prettier/prettier)
5 | [](https://github.com/lassjs/lass)
6 | [](LICENSE)
7 | [](https://npm.im/react-native-loading-spinner-overlay)
8 |
9 |
10 |
11 |
12 | ## Table of Contents
13 |
14 | * [Install](#install)
15 | * [Example](#example)
16 | * [Options](#options)
17 | * [Recommended Implementation](#recommended-implementation)
18 | * [Contributors](#contributors)
19 | * [License](#license)
20 |
21 |
22 | ## Install
23 |
24 | [npm][]:
25 |
26 | ```sh
27 | npm install react-native-loading-spinner-overlay
28 | ```
29 |
30 | [yarn][]:
31 |
32 | ```sh
33 | yarn add react-native-loading-spinner-overlay
34 | ```
35 |
36 |
37 | ## Example
38 |
39 | See [the example App.js file][example] for an example implementation.
40 |
41 |
42 | ## Options
43 |
44 | | Property | Type | Default | Description |
45 | | --------------- | ---------------------------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
46 | | cancelable | Boolean | `false` | **Android**: If set to false, it will prevent spinner from hiding when pressing the hardware back button. If set to true, it will allow spinner to hide if the hardware back button is pressed. |
47 | | color | String | `"white"` | Changes the spinner's color (example values are `red`, `#ff0000`, etc). For adjusting the contrast see `overlayColor` prop below. |
48 | | animation | String (enum) `none`, `slide`, `fade` | `"none"` | Changes animation on show and hide spinner's view. |
49 | | overlayColor | String | `rgba(0, 0, 0, 0.25)` | Changes the color of the overlay. |
50 | | size | String (enum) `small`, `normal`, `large` | `"large"` | Sets the spinner's size. No other cross-platform sizes are supported right now. |
51 | | textContent | String | `""` | Optional text field to be shown. |
52 | | textStyle | StyleSheet | `-` | The style to be applied to the `` that displays the `textContent`. |
53 | | visible | Boolean | `false` | Controls the visibility of the spinner. |
54 | | indicatorStyle | StyleSheet | `undefined` | Additional styles for the [ActivityIndicator](https://facebook.github.io/react-native/docs/activityindicator) to inherit |
55 | | customIndicator | Element | `undefined` | An alternative, custom component to use instead of the default `` |
56 | | children | Element | `undefined` | Children element(s) to nest inside the spinner |
57 |
58 |
59 | ## Recommended Implementation
60 |
61 | We recommend that you follow two rules when implementing this component.
62 |
63 | 1. Integrate it inside the parent-most/top-level/root component in your app
64 | 2. Wrap usage of actions after attempting to stop the spinner with `setTimeout` to avoid [the non-stop spinner issue](https://github.com/joinspontaneous/react-native-loading-spinner-overlay/issues/30):
65 |
66 | ```js
67 | this.setState({ spinner: false });
68 |
69 | setTimeout(() => {
70 | Alert.alert('Oops!', err.message);
71 | }, 100);
72 | ```
73 |
74 |
75 | ## Contributors
76 |
77 | | Name | Website |
78 | | ------------------- | ------------------------- |
79 | | **Nick Baugh** | |
80 | | **Rohit Bhatia** | |
81 | | **Spencer Snyder** | |
82 | | **Luciano Lima** | |
83 | | **George Savvidis** | |
84 | | **Sandro Machado** | |
85 | | **Ben Sutter** | |
86 | | **Ivan Kuznetsov** | |
87 | | **Darren Camp** | |
88 | | **Rigo B Castro** | |
89 | | **Raj Kissu** | |
90 | | **Ivan Pusic** | |
91 | | **Antonio Grass** | |
92 | | **Vijay Chouhan** | |
93 | | **Jacob Lee** | |
94 | | **Matt Labrum** | |
95 |
96 |
97 | ## License
98 |
99 | [MIT](LICENSE) © Nick Baugh
100 |
101 |
102 | ##
103 |
104 | [npm]: https://www.npmjs.com/
105 |
106 | [yarn]: https://yarnpkg.com/
107 |
108 | [example]: https://github.com/joinspontaneous/react-native-loading-spinner-overlay/blob/master/example/App.js
109 |
--------------------------------------------------------------------------------
/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 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
40 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
41 | /* End PBXBuildFile section */
42 |
43 | /* Begin PBXContainerItemProxy section */
44 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
45 | isa = PBXContainerItemProxy;
46 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
47 | proxyType = 2;
48 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
49 | remoteInfo = RCTActionSheet;
50 | };
51 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
52 | isa = PBXContainerItemProxy;
53 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
54 | proxyType = 2;
55 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
56 | remoteInfo = RCTGeolocation;
57 | };
58 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
59 | isa = PBXContainerItemProxy;
60 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
61 | proxyType = 2;
62 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
63 | remoteInfo = RCTImage;
64 | };
65 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
66 | isa = PBXContainerItemProxy;
67 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
68 | proxyType = 2;
69 | remoteGlobalIDString = 58B511DB1A9E6C8500147676;
70 | remoteInfo = RCTNetwork;
71 | };
72 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
73 | isa = PBXContainerItemProxy;
74 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
75 | proxyType = 2;
76 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
77 | remoteInfo = RCTVibration;
78 | };
79 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
80 | isa = PBXContainerItemProxy;
81 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
82 | proxyType = 1;
83 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
84 | remoteInfo = example;
85 | };
86 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
87 | isa = PBXContainerItemProxy;
88 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
89 | proxyType = 2;
90 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
91 | remoteInfo = RCTSettings;
92 | };
93 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
94 | isa = PBXContainerItemProxy;
95 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
96 | proxyType = 2;
97 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
98 | remoteInfo = RCTWebSocket;
99 | };
100 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
101 | isa = PBXContainerItemProxy;
102 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
103 | proxyType = 2;
104 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
105 | remoteInfo = React;
106 | };
107 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = {
108 | isa = PBXContainerItemProxy;
109 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
110 | proxyType = 1;
111 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7;
112 | remoteInfo = "example-tvOS";
113 | };
114 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
115 | isa = PBXContainerItemProxy;
116 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
117 | proxyType = 2;
118 | remoteGlobalIDString = ADD01A681E09402E00F6D226;
119 | remoteInfo = "RCTBlob-tvOS";
120 | };
121 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
122 | isa = PBXContainerItemProxy;
123 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
124 | proxyType = 2;
125 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32;
126 | remoteInfo = fishhook;
127 | };
128 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
129 | isa = PBXContainerItemProxy;
130 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
131 | proxyType = 2;
132 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32;
133 | remoteInfo = "fishhook-tvOS";
134 | };
135 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = {
136 | isa = PBXContainerItemProxy;
137 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
138 | proxyType = 2;
139 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5;
140 | remoteInfo = jsinspector;
141 | };
142 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = {
143 | isa = PBXContainerItemProxy;
144 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
145 | proxyType = 2;
146 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5;
147 | remoteInfo = "jsinspector-tvOS";
148 | };
149 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = {
150 | isa = PBXContainerItemProxy;
151 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
152 | proxyType = 2;
153 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7;
154 | remoteInfo = "third-party";
155 | };
156 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = {
157 | isa = PBXContainerItemProxy;
158 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
159 | proxyType = 2;
160 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8;
161 | remoteInfo = "third-party-tvOS";
162 | };
163 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = {
164 | isa = PBXContainerItemProxy;
165 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
166 | proxyType = 2;
167 | remoteGlobalIDString = 139D7E881E25C6D100323FB7;
168 | remoteInfo = "double-conversion";
169 | };
170 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = {
171 | isa = PBXContainerItemProxy;
172 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
173 | proxyType = 2;
174 | remoteGlobalIDString = 3D383D621EBD27B9005632C8;
175 | remoteInfo = "double-conversion-tvOS";
176 | };
177 | 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */ = {
178 | isa = PBXContainerItemProxy;
179 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
180 | proxyType = 2;
181 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04;
182 | remoteInfo = privatedata;
183 | };
184 | 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */ = {
185 | isa = PBXContainerItemProxy;
186 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
187 | proxyType = 2;
188 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04;
189 | remoteInfo = "privatedata-tvOS";
190 | };
191 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
192 | isa = PBXContainerItemProxy;
193 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
194 | proxyType = 2;
195 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
196 | remoteInfo = "RCTImage-tvOS";
197 | };
198 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
199 | isa = PBXContainerItemProxy;
200 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
201 | proxyType = 2;
202 | remoteGlobalIDString = 2D2A28471D9B043800D4039D;
203 | remoteInfo = "RCTLinking-tvOS";
204 | };
205 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
206 | isa = PBXContainerItemProxy;
207 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
208 | proxyType = 2;
209 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
210 | remoteInfo = "RCTNetwork-tvOS";
211 | };
212 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
213 | isa = PBXContainerItemProxy;
214 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
215 | proxyType = 2;
216 | remoteGlobalIDString = 2D2A28611D9B046600D4039D;
217 | remoteInfo = "RCTSettings-tvOS";
218 | };
219 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
220 | isa = PBXContainerItemProxy;
221 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
222 | proxyType = 2;
223 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
224 | remoteInfo = "RCTText-tvOS";
225 | };
226 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
227 | isa = PBXContainerItemProxy;
228 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
229 | proxyType = 2;
230 | remoteGlobalIDString = 2D2A28881D9B049200D4039D;
231 | remoteInfo = "RCTWebSocket-tvOS";
232 | };
233 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
234 | isa = PBXContainerItemProxy;
235 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
236 | proxyType = 2;
237 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
238 | remoteInfo = "React-tvOS";
239 | };
240 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
241 | isa = PBXContainerItemProxy;
242 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
243 | proxyType = 2;
244 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
245 | remoteInfo = yoga;
246 | };
247 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = {
248 | isa = PBXContainerItemProxy;
249 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
250 | proxyType = 2;
251 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
252 | remoteInfo = "yoga-tvOS";
253 | };
254 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = {
255 | isa = PBXContainerItemProxy;
256 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
257 | proxyType = 2;
258 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
259 | remoteInfo = cxxreact;
260 | };
261 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
262 | isa = PBXContainerItemProxy;
263 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
264 | proxyType = 2;
265 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
266 | remoteInfo = "cxxreact-tvOS";
267 | };
268 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
269 | isa = PBXContainerItemProxy;
270 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
271 | proxyType = 2;
272 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4;
273 | remoteInfo = jschelpers;
274 | };
275 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
276 | isa = PBXContainerItemProxy;
277 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
278 | proxyType = 2;
279 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4;
280 | remoteInfo = "jschelpers-tvOS";
281 | };
282 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
283 | isa = PBXContainerItemProxy;
284 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
285 | proxyType = 2;
286 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
287 | remoteInfo = RCTAnimation;
288 | };
289 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
290 | isa = PBXContainerItemProxy;
291 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
292 | proxyType = 2;
293 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
294 | remoteInfo = "RCTAnimation-tvOS";
295 | };
296 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
297 | isa = PBXContainerItemProxy;
298 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
299 | proxyType = 2;
300 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
301 | remoteInfo = RCTLinking;
302 | };
303 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
304 | isa = PBXContainerItemProxy;
305 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
306 | proxyType = 2;
307 | remoteGlobalIDString = 58B5119B1A9E6C1200147676;
308 | remoteInfo = RCTText;
309 | };
310 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = {
311 | isa = PBXContainerItemProxy;
312 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
313 | proxyType = 2;
314 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814;
315 | remoteInfo = RCTBlob;
316 | };
317 | /* End PBXContainerItemProxy section */
318 |
319 | /* Begin PBXFileReference section */
320 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
321 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
322 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
323 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
324 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
325 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
326 | 00E356EE1AD99517003FC87E /* exampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = exampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
327 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
328 | 00E356F21AD99517003FC87E /* exampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = exampleTests.m; sourceTree = ""; };
329 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
330 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
331 | 13B07F961A680F5B00A75B9A /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; };
332 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = example/AppDelegate.h; sourceTree = ""; };
333 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = example/AppDelegate.m; sourceTree = ""; };
334 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
335 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = ""; };
336 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = ""; };
337 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = ""; };
338 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
339 | 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
340 | 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "example-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
341 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
342 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; };
343 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
344 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
345 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; };
346 | /* End PBXFileReference section */
347 |
348 | /* Begin PBXFrameworksBuildPhase section */
349 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
350 | isa = PBXFrameworksBuildPhase;
351 | buildActionMask = 2147483647;
352 | files = (
353 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */,
354 | );
355 | runOnlyForDeploymentPostprocessing = 0;
356 | };
357 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
358 | isa = PBXFrameworksBuildPhase;
359 | buildActionMask = 2147483647;
360 | files = (
361 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
362 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */,
363 | 146834051AC3E58100842450 /* libReact.a in Frameworks */,
364 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
365 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
366 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
367 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
368 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
369 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
370 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
371 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
372 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
373 | );
374 | runOnlyForDeploymentPostprocessing = 0;
375 | };
376 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = {
377 | isa = PBXFrameworksBuildPhase;
378 | buildActionMask = 2147483647;
379 | files = (
380 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */,
381 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */,
382 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */,
383 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */,
384 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */,
385 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */,
386 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */,
387 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */,
388 | );
389 | runOnlyForDeploymentPostprocessing = 0;
390 | };
391 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = {
392 | isa = PBXFrameworksBuildPhase;
393 | buildActionMask = 2147483647;
394 | files = (
395 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */,
396 | );
397 | runOnlyForDeploymentPostprocessing = 0;
398 | };
399 | /* End PBXFrameworksBuildPhase section */
400 |
401 | /* Begin PBXGroup section */
402 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
403 | isa = PBXGroup;
404 | children = (
405 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
406 | );
407 | name = Products;
408 | sourceTree = "";
409 | };
410 | 00C302B61ABCB90400DB3ED1 /* Products */ = {
411 | isa = PBXGroup;
412 | children = (
413 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
414 | );
415 | name = Products;
416 | sourceTree = "";
417 | };
418 | 00C302BC1ABCB91800DB3ED1 /* Products */ = {
419 | isa = PBXGroup;
420 | children = (
421 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
422 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
423 | );
424 | name = Products;
425 | sourceTree = "";
426 | };
427 | 00C302D41ABCB9D200DB3ED1 /* Products */ = {
428 | isa = PBXGroup;
429 | children = (
430 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
431 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
432 | );
433 | name = Products;
434 | sourceTree = "";
435 | };
436 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
437 | isa = PBXGroup;
438 | children = (
439 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
440 | );
441 | name = Products;
442 | sourceTree = "";
443 | };
444 | 00E356EF1AD99517003FC87E /* exampleTests */ = {
445 | isa = PBXGroup;
446 | children = (
447 | 00E356F21AD99517003FC87E /* exampleTests.m */,
448 | 00E356F01AD99517003FC87E /* Supporting Files */,
449 | );
450 | path = exampleTests;
451 | sourceTree = "";
452 | };
453 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
454 | isa = PBXGroup;
455 | children = (
456 | 00E356F11AD99517003FC87E /* Info.plist */,
457 | );
458 | name = "Supporting Files";
459 | sourceTree = "";
460 | };
461 | 139105B71AF99BAD00B5F7CC /* Products */ = {
462 | isa = PBXGroup;
463 | children = (
464 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
465 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
466 | );
467 | name = Products;
468 | sourceTree = "";
469 | };
470 | 139FDEE71B06529A00C62182 /* Products */ = {
471 | isa = PBXGroup;
472 | children = (
473 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
474 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
475 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */,
476 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */,
477 | );
478 | name = Products;
479 | sourceTree = "";
480 | };
481 | 13B07FAE1A68108700A75B9A /* example */ = {
482 | isa = PBXGroup;
483 | children = (
484 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
485 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
486 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
487 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
488 | 13B07FB61A68108700A75B9A /* Info.plist */,
489 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
490 | 13B07FB71A68108700A75B9A /* main.m */,
491 | );
492 | name = example;
493 | sourceTree = "";
494 | };
495 | 146834001AC3E56700842450 /* Products */ = {
496 | isa = PBXGroup;
497 | children = (
498 | 146834041AC3E56700842450 /* libReact.a */,
499 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */,
500 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
501 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
502 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
503 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
504 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
505 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
506 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */,
507 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */,
508 | 2DF0FFE32056DD460020B375 /* libthird-party.a */,
509 | 2DF0FFE52056DD460020B375 /* libthird-party.a */,
510 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */,
511 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */,
512 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */,
513 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */,
514 | );
515 | name = Products;
516 | sourceTree = "";
517 | };
518 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
519 | isa = PBXGroup;
520 | children = (
521 | 2D16E6891FA4F8E400B85C8A /* libReact.a */,
522 | );
523 | name = Frameworks;
524 | sourceTree = "";
525 | };
526 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = {
527 | isa = PBXGroup;
528 | children = (
529 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
530 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */,
531 | );
532 | name = Products;
533 | sourceTree = "";
534 | };
535 | 78C398B11ACF4ADC00677621 /* Products */ = {
536 | isa = PBXGroup;
537 | children = (
538 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
539 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
540 | );
541 | name = Products;
542 | sourceTree = "";
543 | };
544 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
545 | isa = PBXGroup;
546 | children = (
547 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
548 | 146833FF1AC3E56700842450 /* React.xcodeproj */,
549 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
550 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */,
551 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
552 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
553 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
554 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
555 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
556 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
557 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
558 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
559 | );
560 | name = Libraries;
561 | sourceTree = "";
562 | };
563 | 832341B11AAA6A8300B99B32 /* Products */ = {
564 | isa = PBXGroup;
565 | children = (
566 | 832341B51AAA6A8300B99B32 /* libRCTText.a */,
567 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
568 | );
569 | name = Products;
570 | sourceTree = "";
571 | };
572 | 83CBB9F61A601CBA00E9B192 = {
573 | isa = PBXGroup;
574 | children = (
575 | 13B07FAE1A68108700A75B9A /* example */,
576 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
577 | 00E356EF1AD99517003FC87E /* exampleTests */,
578 | 83CBBA001A601CBA00E9B192 /* Products */,
579 | 2D16E6871FA4F8E400B85C8A /* Frameworks */,
580 | );
581 | indentWidth = 2;
582 | sourceTree = "";
583 | tabWidth = 2;
584 | usesTabs = 0;
585 | };
586 | 83CBBA001A601CBA00E9B192 /* Products */ = {
587 | isa = PBXGroup;
588 | children = (
589 | 13B07F961A680F5B00A75B9A /* example.app */,
590 | 00E356EE1AD99517003FC87E /* exampleTests.xctest */,
591 | 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */,
592 | 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */,
593 | );
594 | name = Products;
595 | sourceTree = "";
596 | };
597 | ADBDB9201DFEBF0600ED6528 /* Products */ = {
598 | isa = PBXGroup;
599 | children = (
600 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */,
601 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */,
602 | );
603 | name = Products;
604 | sourceTree = "";
605 | };
606 | /* End PBXGroup section */
607 |
608 | /* Begin PBXNativeTarget section */
609 | 00E356ED1AD99517003FC87E /* exampleTests */ = {
610 | isa = PBXNativeTarget;
611 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */;
612 | buildPhases = (
613 | 00E356EA1AD99517003FC87E /* Sources */,
614 | 00E356EB1AD99517003FC87E /* Frameworks */,
615 | 00E356EC1AD99517003FC87E /* Resources */,
616 | );
617 | buildRules = (
618 | );
619 | dependencies = (
620 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
621 | );
622 | name = exampleTests;
623 | productName = exampleTests;
624 | productReference = 00E356EE1AD99517003FC87E /* exampleTests.xctest */;
625 | productType = "com.apple.product-type.bundle.unit-test";
626 | };
627 | 13B07F861A680F5B00A75B9A /* example */ = {
628 | isa = PBXNativeTarget;
629 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */;
630 | buildPhases = (
631 | 13B07F871A680F5B00A75B9A /* Sources */,
632 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
633 | 13B07F8E1A680F5B00A75B9A /* Resources */,
634 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
635 | );
636 | buildRules = (
637 | );
638 | dependencies = (
639 | );
640 | name = example;
641 | productName = "Hello World";
642 | productReference = 13B07F961A680F5B00A75B9A /* example.app */;
643 | productType = "com.apple.product-type.application";
644 | };
645 | 2D02E47A1E0B4A5D006451C7 /* example-tvOS */ = {
646 | isa = PBXNativeTarget;
647 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOS" */;
648 | buildPhases = (
649 | 2D02E4771E0B4A5D006451C7 /* Sources */,
650 | 2D02E4781E0B4A5D006451C7 /* Frameworks */,
651 | 2D02E4791E0B4A5D006451C7 /* Resources */,
652 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */,
653 | );
654 | buildRules = (
655 | );
656 | dependencies = (
657 | );
658 | name = "example-tvOS";
659 | productName = "example-tvOS";
660 | productReference = 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */;
661 | productType = "com.apple.product-type.application";
662 | };
663 | 2D02E48F1E0B4A5D006451C7 /* example-tvOSTests */ = {
664 | isa = PBXNativeTarget;
665 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOSTests" */;
666 | buildPhases = (
667 | 2D02E48C1E0B4A5D006451C7 /* Sources */,
668 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */,
669 | 2D02E48E1E0B4A5D006451C7 /* Resources */,
670 | );
671 | buildRules = (
672 | );
673 | dependencies = (
674 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */,
675 | );
676 | name = "example-tvOSTests";
677 | productName = "example-tvOSTests";
678 | productReference = 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */;
679 | productType = "com.apple.product-type.bundle.unit-test";
680 | };
681 | /* End PBXNativeTarget section */
682 |
683 | /* Begin PBXProject section */
684 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
685 | isa = PBXProject;
686 | attributes = {
687 | LastUpgradeCheck = 0940;
688 | ORGANIZATIONNAME = Facebook;
689 | TargetAttributes = {
690 | 00E356ED1AD99517003FC87E = {
691 | CreatedOnToolsVersion = 6.2;
692 | TestTargetID = 13B07F861A680F5B00A75B9A;
693 | };
694 | 2D02E47A1E0B4A5D006451C7 = {
695 | CreatedOnToolsVersion = 8.2.1;
696 | ProvisioningStyle = Automatic;
697 | };
698 | 2D02E48F1E0B4A5D006451C7 = {
699 | CreatedOnToolsVersion = 8.2.1;
700 | ProvisioningStyle = Automatic;
701 | TestTargetID = 2D02E47A1E0B4A5D006451C7;
702 | };
703 | };
704 | };
705 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */;
706 | compatibilityVersion = "Xcode 3.2";
707 | developmentRegion = English;
708 | hasScannedForEncodings = 0;
709 | knownRegions = (
710 | en,
711 | Base,
712 | );
713 | mainGroup = 83CBB9F61A601CBA00E9B192;
714 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
715 | projectDirPath = "";
716 | projectReferences = (
717 | {
718 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
719 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
720 | },
721 | {
722 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
723 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
724 | },
725 | {
726 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */;
727 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
728 | },
729 | {
730 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
731 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
732 | },
733 | {
734 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
735 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
736 | },
737 | {
738 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
739 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
740 | },
741 | {
742 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
743 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
744 | },
745 | {
746 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
747 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
748 | },
749 | {
750 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
751 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
752 | },
753 | {
754 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
755 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
756 | },
757 | {
758 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
759 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
760 | },
761 | {
762 | ProductGroup = 146834001AC3E56700842450 /* Products */;
763 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
764 | },
765 | );
766 | projectRoot = "";
767 | targets = (
768 | 13B07F861A680F5B00A75B9A /* example */,
769 | 00E356ED1AD99517003FC87E /* exampleTests */,
770 | 2D02E47A1E0B4A5D006451C7 /* example-tvOS */,
771 | 2D02E48F1E0B4A5D006451C7 /* example-tvOSTests */,
772 | );
773 | };
774 | /* End PBXProject section */
775 |
776 | /* Begin PBXReferenceProxy section */
777 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
778 | isa = PBXReferenceProxy;
779 | fileType = archive.ar;
780 | path = libRCTActionSheet.a;
781 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
782 | sourceTree = BUILT_PRODUCTS_DIR;
783 | };
784 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
785 | isa = PBXReferenceProxy;
786 | fileType = archive.ar;
787 | path = libRCTGeolocation.a;
788 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
789 | sourceTree = BUILT_PRODUCTS_DIR;
790 | };
791 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
792 | isa = PBXReferenceProxy;
793 | fileType = archive.ar;
794 | path = libRCTImage.a;
795 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
796 | sourceTree = BUILT_PRODUCTS_DIR;
797 | };
798 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
799 | isa = PBXReferenceProxy;
800 | fileType = archive.ar;
801 | path = libRCTNetwork.a;
802 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
803 | sourceTree = BUILT_PRODUCTS_DIR;
804 | };
805 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
806 | isa = PBXReferenceProxy;
807 | fileType = archive.ar;
808 | path = libRCTVibration.a;
809 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
810 | sourceTree = BUILT_PRODUCTS_DIR;
811 | };
812 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
813 | isa = PBXReferenceProxy;
814 | fileType = archive.ar;
815 | path = libRCTSettings.a;
816 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
817 | sourceTree = BUILT_PRODUCTS_DIR;
818 | };
819 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
820 | isa = PBXReferenceProxy;
821 | fileType = archive.ar;
822 | path = libRCTWebSocket.a;
823 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
824 | sourceTree = BUILT_PRODUCTS_DIR;
825 | };
826 | 146834041AC3E56700842450 /* libReact.a */ = {
827 | isa = PBXReferenceProxy;
828 | fileType = archive.ar;
829 | path = libReact.a;
830 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
831 | sourceTree = BUILT_PRODUCTS_DIR;
832 | };
833 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = {
834 | isa = PBXReferenceProxy;
835 | fileType = archive.ar;
836 | path = "libRCTBlob-tvOS.a";
837 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */;
838 | sourceTree = BUILT_PRODUCTS_DIR;
839 | };
840 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = {
841 | isa = PBXReferenceProxy;
842 | fileType = archive.ar;
843 | path = libfishhook.a;
844 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */;
845 | sourceTree = BUILT_PRODUCTS_DIR;
846 | };
847 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = {
848 | isa = PBXReferenceProxy;
849 | fileType = archive.ar;
850 | path = "libfishhook-tvOS.a";
851 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */;
852 | sourceTree = BUILT_PRODUCTS_DIR;
853 | };
854 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = {
855 | isa = PBXReferenceProxy;
856 | fileType = archive.ar;
857 | path = libjsinspector.a;
858 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */;
859 | sourceTree = BUILT_PRODUCTS_DIR;
860 | };
861 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = {
862 | isa = PBXReferenceProxy;
863 | fileType = archive.ar;
864 | path = "libjsinspector-tvOS.a";
865 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */;
866 | sourceTree = BUILT_PRODUCTS_DIR;
867 | };
868 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = {
869 | isa = PBXReferenceProxy;
870 | fileType = archive.ar;
871 | path = "libthird-party.a";
872 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */;
873 | sourceTree = BUILT_PRODUCTS_DIR;
874 | };
875 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = {
876 | isa = PBXReferenceProxy;
877 | fileType = archive.ar;
878 | path = "libthird-party.a";
879 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */;
880 | sourceTree = BUILT_PRODUCTS_DIR;
881 | };
882 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = {
883 | isa = PBXReferenceProxy;
884 | fileType = archive.ar;
885 | path = "libdouble-conversion.a";
886 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */;
887 | sourceTree = BUILT_PRODUCTS_DIR;
888 | };
889 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = {
890 | isa = PBXReferenceProxy;
891 | fileType = archive.ar;
892 | path = "libdouble-conversion.a";
893 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */;
894 | sourceTree = BUILT_PRODUCTS_DIR;
895 | };
896 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */ = {
897 | isa = PBXReferenceProxy;
898 | fileType = archive.ar;
899 | path = libprivatedata.a;
900 | remoteRef = 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */;
901 | sourceTree = BUILT_PRODUCTS_DIR;
902 | };
903 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */ = {
904 | isa = PBXReferenceProxy;
905 | fileType = archive.ar;
906 | path = "libprivatedata-tvOS.a";
907 | remoteRef = 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */;
908 | sourceTree = BUILT_PRODUCTS_DIR;
909 | };
910 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
911 | isa = PBXReferenceProxy;
912 | fileType = archive.ar;
913 | path = "libRCTImage-tvOS.a";
914 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
915 | sourceTree = BUILT_PRODUCTS_DIR;
916 | };
917 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
918 | isa = PBXReferenceProxy;
919 | fileType = archive.ar;
920 | path = "libRCTLinking-tvOS.a";
921 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
922 | sourceTree = BUILT_PRODUCTS_DIR;
923 | };
924 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
925 | isa = PBXReferenceProxy;
926 | fileType = archive.ar;
927 | path = "libRCTNetwork-tvOS.a";
928 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
929 | sourceTree = BUILT_PRODUCTS_DIR;
930 | };
931 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
932 | isa = PBXReferenceProxy;
933 | fileType = archive.ar;
934 | path = "libRCTSettings-tvOS.a";
935 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
936 | sourceTree = BUILT_PRODUCTS_DIR;
937 | };
938 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
939 | isa = PBXReferenceProxy;
940 | fileType = archive.ar;
941 | path = "libRCTText-tvOS.a";
942 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
943 | sourceTree = BUILT_PRODUCTS_DIR;
944 | };
945 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
946 | isa = PBXReferenceProxy;
947 | fileType = archive.ar;
948 | path = "libRCTWebSocket-tvOS.a";
949 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
950 | sourceTree = BUILT_PRODUCTS_DIR;
951 | };
952 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
953 | isa = PBXReferenceProxy;
954 | fileType = archive.ar;
955 | path = libReact.a;
956 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
957 | sourceTree = BUILT_PRODUCTS_DIR;
958 | };
959 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
960 | isa = PBXReferenceProxy;
961 | fileType = archive.ar;
962 | path = libyoga.a;
963 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */;
964 | sourceTree = BUILT_PRODUCTS_DIR;
965 | };
966 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = {
967 | isa = PBXReferenceProxy;
968 | fileType = archive.ar;
969 | path = libyoga.a;
970 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */;
971 | sourceTree = BUILT_PRODUCTS_DIR;
972 | };
973 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = {
974 | isa = PBXReferenceProxy;
975 | fileType = archive.ar;
976 | path = libcxxreact.a;
977 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */;
978 | sourceTree = BUILT_PRODUCTS_DIR;
979 | };
980 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = {
981 | isa = PBXReferenceProxy;
982 | fileType = archive.ar;
983 | path = libcxxreact.a;
984 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
985 | sourceTree = BUILT_PRODUCTS_DIR;
986 | };
987 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = {
988 | isa = PBXReferenceProxy;
989 | fileType = archive.ar;
990 | path = libjschelpers.a;
991 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */;
992 | sourceTree = BUILT_PRODUCTS_DIR;
993 | };
994 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = {
995 | isa = PBXReferenceProxy;
996 | fileType = archive.ar;
997 | path = libjschelpers.a;
998 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */;
999 | sourceTree = BUILT_PRODUCTS_DIR;
1000 | };
1001 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1002 | isa = PBXReferenceProxy;
1003 | fileType = archive.ar;
1004 | path = libRCTAnimation.a;
1005 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1006 | sourceTree = BUILT_PRODUCTS_DIR;
1007 | };
1008 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1009 | isa = PBXReferenceProxy;
1010 | fileType = archive.ar;
1011 | path = libRCTAnimation.a;
1012 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1013 | sourceTree = BUILT_PRODUCTS_DIR;
1014 | };
1015 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
1016 | isa = PBXReferenceProxy;
1017 | fileType = archive.ar;
1018 | path = libRCTLinking.a;
1019 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
1020 | sourceTree = BUILT_PRODUCTS_DIR;
1021 | };
1022 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
1023 | isa = PBXReferenceProxy;
1024 | fileType = archive.ar;
1025 | path = libRCTText.a;
1026 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
1027 | sourceTree = BUILT_PRODUCTS_DIR;
1028 | };
1029 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = {
1030 | isa = PBXReferenceProxy;
1031 | fileType = archive.ar;
1032 | path = libRCTBlob.a;
1033 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */;
1034 | sourceTree = BUILT_PRODUCTS_DIR;
1035 | };
1036 | /* End PBXReferenceProxy section */
1037 |
1038 | /* Begin PBXResourcesBuildPhase section */
1039 | 00E356EC1AD99517003FC87E /* Resources */ = {
1040 | isa = PBXResourcesBuildPhase;
1041 | buildActionMask = 2147483647;
1042 | files = (
1043 | );
1044 | runOnlyForDeploymentPostprocessing = 0;
1045 | };
1046 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
1047 | isa = PBXResourcesBuildPhase;
1048 | buildActionMask = 2147483647;
1049 | files = (
1050 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
1051 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
1052 | );
1053 | runOnlyForDeploymentPostprocessing = 0;
1054 | };
1055 | 2D02E4791E0B4A5D006451C7 /* Resources */ = {
1056 | isa = PBXResourcesBuildPhase;
1057 | buildActionMask = 2147483647;
1058 | files = (
1059 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */,
1060 | );
1061 | runOnlyForDeploymentPostprocessing = 0;
1062 | };
1063 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = {
1064 | isa = PBXResourcesBuildPhase;
1065 | buildActionMask = 2147483647;
1066 | files = (
1067 | );
1068 | runOnlyForDeploymentPostprocessing = 0;
1069 | };
1070 | /* End PBXResourcesBuildPhase section */
1071 |
1072 | /* Begin PBXShellScriptBuildPhase section */
1073 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
1074 | isa = PBXShellScriptBuildPhase;
1075 | buildActionMask = 2147483647;
1076 | files = (
1077 | );
1078 | inputPaths = (
1079 | );
1080 | name = "Bundle React Native code and images";
1081 | outputPaths = (
1082 | );
1083 | runOnlyForDeploymentPostprocessing = 0;
1084 | shellPath = /bin/sh;
1085 | shellScript = "# added by Haul
1086 | export CLI_PATH=node_modules/haul/bin/cli.js
1087 | export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1088 | };
1089 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
1090 | isa = PBXShellScriptBuildPhase;
1091 | buildActionMask = 2147483647;
1092 | files = (
1093 | );
1094 | inputPaths = (
1095 | );
1096 | name = "Bundle React Native Code And Images";
1097 | outputPaths = (
1098 | );
1099 | runOnlyForDeploymentPostprocessing = 0;
1100 | shellPath = /bin/sh;
1101 | shellScript = "# added by Haul
1102 | export CLI_PATH=node_modules/haul/bin/cli.js
1103 | export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1104 | };
1105 | /* End PBXShellScriptBuildPhase section */
1106 |
1107 | /* Begin PBXSourcesBuildPhase section */
1108 | 00E356EA1AD99517003FC87E /* Sources */ = {
1109 | isa = PBXSourcesBuildPhase;
1110 | buildActionMask = 2147483647;
1111 | files = (
1112 | 00E356F31AD99517003FC87E /* exampleTests.m in Sources */,
1113 | );
1114 | runOnlyForDeploymentPostprocessing = 0;
1115 | };
1116 | 13B07F871A680F5B00A75B9A /* Sources */ = {
1117 | isa = PBXSourcesBuildPhase;
1118 | buildActionMask = 2147483647;
1119 | files = (
1120 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
1121 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
1122 | );
1123 | runOnlyForDeploymentPostprocessing = 0;
1124 | };
1125 | 2D02E4771E0B4A5D006451C7 /* Sources */ = {
1126 | isa = PBXSourcesBuildPhase;
1127 | buildActionMask = 2147483647;
1128 | files = (
1129 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */,
1130 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */,
1131 | );
1132 | runOnlyForDeploymentPostprocessing = 0;
1133 | };
1134 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = {
1135 | isa = PBXSourcesBuildPhase;
1136 | buildActionMask = 2147483647;
1137 | files = (
1138 | 2DCD954D1E0B4F2C00145EB5 /* exampleTests.m in Sources */,
1139 | );
1140 | runOnlyForDeploymentPostprocessing = 0;
1141 | };
1142 | /* End PBXSourcesBuildPhase section */
1143 |
1144 | /* Begin PBXTargetDependency section */
1145 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
1146 | isa = PBXTargetDependency;
1147 | target = 13B07F861A680F5B00A75B9A /* example */;
1148 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
1149 | };
1150 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = {
1151 | isa = PBXTargetDependency;
1152 | target = 2D02E47A1E0B4A5D006451C7 /* example-tvOS */;
1153 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */;
1154 | };
1155 | /* End PBXTargetDependency section */
1156 |
1157 | /* Begin PBXVariantGroup section */
1158 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
1159 | isa = PBXVariantGroup;
1160 | children = (
1161 | 13B07FB21A68108700A75B9A /* Base */,
1162 | );
1163 | name = LaunchScreen.xib;
1164 | path = example;
1165 | sourceTree = "";
1166 | };
1167 | /* End PBXVariantGroup section */
1168 |
1169 | /* Begin XCBuildConfiguration section */
1170 | 00E356F61AD99517003FC87E /* Debug */ = {
1171 | isa = XCBuildConfiguration;
1172 | buildSettings = {
1173 | BUNDLE_LOADER = "$(TEST_HOST)";
1174 | GCC_PREPROCESSOR_DEFINITIONS = (
1175 | "DEBUG=1",
1176 | "$(inherited)",
1177 | );
1178 | INFOPLIST_FILE = exampleTests/Info.plist;
1179 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1180 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1181 | OTHER_LDFLAGS = (
1182 | "-ObjC",
1183 | "-lc++",
1184 | );
1185 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1186 | PRODUCT_NAME = "$(TARGET_NAME)";
1187 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example";
1188 | };
1189 | name = Debug;
1190 | };
1191 | 00E356F71AD99517003FC87E /* Release */ = {
1192 | isa = XCBuildConfiguration;
1193 | buildSettings = {
1194 | BUNDLE_LOADER = "$(TEST_HOST)";
1195 | COPY_PHASE_STRIP = NO;
1196 | INFOPLIST_FILE = exampleTests/Info.plist;
1197 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1198 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1199 | OTHER_LDFLAGS = (
1200 | "-ObjC",
1201 | "-lc++",
1202 | );
1203 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1204 | PRODUCT_NAME = "$(TARGET_NAME)";
1205 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example";
1206 | };
1207 | name = Release;
1208 | };
1209 | 13B07F941A680F5B00A75B9A /* Debug */ = {
1210 | isa = XCBuildConfiguration;
1211 | buildSettings = {
1212 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1213 | CURRENT_PROJECT_VERSION = 1;
1214 | DEAD_CODE_STRIPPING = NO;
1215 | INFOPLIST_FILE = example/Info.plist;
1216 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1217 | OTHER_LDFLAGS = (
1218 | "$(inherited)",
1219 | "-ObjC",
1220 | "-lc++",
1221 | );
1222 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1223 | PRODUCT_NAME = example;
1224 | VERSIONING_SYSTEM = "apple-generic";
1225 | };
1226 | name = Debug;
1227 | };
1228 | 13B07F951A680F5B00A75B9A /* Release */ = {
1229 | isa = XCBuildConfiguration;
1230 | buildSettings = {
1231 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1232 | CURRENT_PROJECT_VERSION = 1;
1233 | INFOPLIST_FILE = example/Info.plist;
1234 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1235 | OTHER_LDFLAGS = (
1236 | "$(inherited)",
1237 | "-ObjC",
1238 | "-lc++",
1239 | );
1240 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1241 | PRODUCT_NAME = example;
1242 | VERSIONING_SYSTEM = "apple-generic";
1243 | };
1244 | name = Release;
1245 | };
1246 | 2D02E4971E0B4A5E006451C7 /* Debug */ = {
1247 | isa = XCBuildConfiguration;
1248 | buildSettings = {
1249 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1250 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1251 | CLANG_ANALYZER_NONNULL = YES;
1252 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1253 | CLANG_WARN_INFINITE_RECURSION = YES;
1254 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1255 | DEBUG_INFORMATION_FORMAT = dwarf;
1256 | ENABLE_TESTABILITY = YES;
1257 | GCC_NO_COMMON_BLOCKS = YES;
1258 | INFOPLIST_FILE = "example-tvOS/Info.plist";
1259 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1260 | OTHER_LDFLAGS = (
1261 | "-ObjC",
1262 | "-lc++",
1263 | );
1264 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOS";
1265 | PRODUCT_NAME = "$(TARGET_NAME)";
1266 | SDKROOT = appletvos;
1267 | TARGETED_DEVICE_FAMILY = 3;
1268 | TVOS_DEPLOYMENT_TARGET = 9.2;
1269 | };
1270 | name = Debug;
1271 | };
1272 | 2D02E4981E0B4A5E006451C7 /* Release */ = {
1273 | isa = XCBuildConfiguration;
1274 | buildSettings = {
1275 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1276 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1277 | CLANG_ANALYZER_NONNULL = YES;
1278 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1279 | CLANG_WARN_INFINITE_RECURSION = YES;
1280 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1281 | COPY_PHASE_STRIP = NO;
1282 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1283 | GCC_NO_COMMON_BLOCKS = YES;
1284 | INFOPLIST_FILE = "example-tvOS/Info.plist";
1285 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1286 | OTHER_LDFLAGS = (
1287 | "-ObjC",
1288 | "-lc++",
1289 | );
1290 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOS";
1291 | PRODUCT_NAME = "$(TARGET_NAME)";
1292 | SDKROOT = appletvos;
1293 | TARGETED_DEVICE_FAMILY = 3;
1294 | TVOS_DEPLOYMENT_TARGET = 9.2;
1295 | };
1296 | name = Release;
1297 | };
1298 | 2D02E4991E0B4A5E006451C7 /* Debug */ = {
1299 | isa = XCBuildConfiguration;
1300 | buildSettings = {
1301 | BUNDLE_LOADER = "$(TEST_HOST)";
1302 | CLANG_ANALYZER_NONNULL = YES;
1303 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1304 | CLANG_WARN_INFINITE_RECURSION = YES;
1305 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1306 | DEBUG_INFORMATION_FORMAT = dwarf;
1307 | ENABLE_TESTABILITY = YES;
1308 | GCC_NO_COMMON_BLOCKS = YES;
1309 | INFOPLIST_FILE = "example-tvOSTests/Info.plist";
1310 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1311 | OTHER_LDFLAGS = (
1312 | "-ObjC",
1313 | "-lc++",
1314 | );
1315 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOSTests";
1316 | PRODUCT_NAME = "$(TARGET_NAME)";
1317 | SDKROOT = appletvos;
1318 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example-tvOS.app/example-tvOS";
1319 | TVOS_DEPLOYMENT_TARGET = 10.1;
1320 | };
1321 | name = Debug;
1322 | };
1323 | 2D02E49A1E0B4A5E006451C7 /* Release */ = {
1324 | isa = XCBuildConfiguration;
1325 | buildSettings = {
1326 | BUNDLE_LOADER = "$(TEST_HOST)";
1327 | CLANG_ANALYZER_NONNULL = YES;
1328 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1329 | CLANG_WARN_INFINITE_RECURSION = YES;
1330 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1331 | COPY_PHASE_STRIP = NO;
1332 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1333 | GCC_NO_COMMON_BLOCKS = YES;
1334 | INFOPLIST_FILE = "example-tvOSTests/Info.plist";
1335 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1336 | OTHER_LDFLAGS = (
1337 | "-ObjC",
1338 | "-lc++",
1339 | );
1340 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOSTests";
1341 | PRODUCT_NAME = "$(TARGET_NAME)";
1342 | SDKROOT = appletvos;
1343 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example-tvOS.app/example-tvOS";
1344 | TVOS_DEPLOYMENT_TARGET = 10.1;
1345 | };
1346 | name = Release;
1347 | };
1348 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
1349 | isa = XCBuildConfiguration;
1350 | buildSettings = {
1351 | ALWAYS_SEARCH_USER_PATHS = NO;
1352 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1353 | CLANG_CXX_LIBRARY = "libc++";
1354 | CLANG_ENABLE_MODULES = YES;
1355 | CLANG_ENABLE_OBJC_ARC = YES;
1356 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
1357 | CLANG_WARN_BOOL_CONVERSION = YES;
1358 | CLANG_WARN_COMMA = YES;
1359 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1360 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
1361 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1362 | CLANG_WARN_EMPTY_BODY = YES;
1363 | CLANG_WARN_ENUM_CONVERSION = YES;
1364 | CLANG_WARN_INFINITE_RECURSION = YES;
1365 | CLANG_WARN_INT_CONVERSION = YES;
1366 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
1367 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1368 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
1369 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1370 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
1371 | CLANG_WARN_STRICT_PROTOTYPES = YES;
1372 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1373 | CLANG_WARN_UNREACHABLE_CODE = YES;
1374 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1375 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1376 | COPY_PHASE_STRIP = NO;
1377 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1378 | ENABLE_TESTABILITY = YES;
1379 | GCC_C_LANGUAGE_STANDARD = gnu99;
1380 | GCC_DYNAMIC_NO_PIC = NO;
1381 | GCC_NO_COMMON_BLOCKS = YES;
1382 | GCC_OPTIMIZATION_LEVEL = 0;
1383 | GCC_PREPROCESSOR_DEFINITIONS = (
1384 | "DEBUG=1",
1385 | "$(inherited)",
1386 | );
1387 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
1388 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1389 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1390 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1391 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1392 | GCC_WARN_UNUSED_FUNCTION = YES;
1393 | GCC_WARN_UNUSED_VARIABLE = YES;
1394 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1395 | MTL_ENABLE_DEBUG_INFO = YES;
1396 | ONLY_ACTIVE_ARCH = YES;
1397 | SDKROOT = iphoneos;
1398 | };
1399 | name = Debug;
1400 | };
1401 | 83CBBA211A601CBA00E9B192 /* Release */ = {
1402 | isa = XCBuildConfiguration;
1403 | buildSettings = {
1404 | ALWAYS_SEARCH_USER_PATHS = NO;
1405 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1406 | CLANG_CXX_LIBRARY = "libc++";
1407 | CLANG_ENABLE_MODULES = YES;
1408 | CLANG_ENABLE_OBJC_ARC = YES;
1409 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
1410 | CLANG_WARN_BOOL_CONVERSION = YES;
1411 | CLANG_WARN_COMMA = YES;
1412 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1413 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
1414 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1415 | CLANG_WARN_EMPTY_BODY = YES;
1416 | CLANG_WARN_ENUM_CONVERSION = YES;
1417 | CLANG_WARN_INFINITE_RECURSION = YES;
1418 | CLANG_WARN_INT_CONVERSION = YES;
1419 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
1420 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1421 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
1422 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1423 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
1424 | CLANG_WARN_STRICT_PROTOTYPES = YES;
1425 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1426 | CLANG_WARN_UNREACHABLE_CODE = YES;
1427 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1428 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1429 | COPY_PHASE_STRIP = YES;
1430 | ENABLE_NS_ASSERTIONS = NO;
1431 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1432 | GCC_C_LANGUAGE_STANDARD = gnu99;
1433 | GCC_NO_COMMON_BLOCKS = YES;
1434 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1435 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1436 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1437 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1438 | GCC_WARN_UNUSED_FUNCTION = YES;
1439 | GCC_WARN_UNUSED_VARIABLE = YES;
1440 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1441 | MTL_ENABLE_DEBUG_INFO = NO;
1442 | SDKROOT = iphoneos;
1443 | VALIDATE_PRODUCT = YES;
1444 | };
1445 | name = Release;
1446 | };
1447 | /* End XCBuildConfiguration section */
1448 |
1449 | /* Begin XCConfigurationList section */
1450 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */ = {
1451 | isa = XCConfigurationList;
1452 | buildConfigurations = (
1453 | 00E356F61AD99517003FC87E /* Debug */,
1454 | 00E356F71AD99517003FC87E /* Release */,
1455 | );
1456 | defaultConfigurationIsVisible = 0;
1457 | defaultConfigurationName = Release;
1458 | };
1459 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */ = {
1460 | isa = XCConfigurationList;
1461 | buildConfigurations = (
1462 | 13B07F941A680F5B00A75B9A /* Debug */,
1463 | 13B07F951A680F5B00A75B9A /* Release */,
1464 | );
1465 | defaultConfigurationIsVisible = 0;
1466 | defaultConfigurationName = Release;
1467 | };
1468 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOS" */ = {
1469 | isa = XCConfigurationList;
1470 | buildConfigurations = (
1471 | 2D02E4971E0B4A5E006451C7 /* Debug */,
1472 | 2D02E4981E0B4A5E006451C7 /* Release */,
1473 | );
1474 | defaultConfigurationIsVisible = 0;
1475 | defaultConfigurationName = Release;
1476 | };
1477 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOSTests" */ = {
1478 | isa = XCConfigurationList;
1479 | buildConfigurations = (
1480 | 2D02E4991E0B4A5E006451C7 /* Debug */,
1481 | 2D02E49A1E0B4A5E006451C7 /* Release */,
1482 | );
1483 | defaultConfigurationIsVisible = 0;
1484 | defaultConfigurationName = Release;
1485 | };
1486 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */ = {
1487 | isa = XCConfigurationList;
1488 | buildConfigurations = (
1489 | 83CBBA201A601CBA00E9B192 /* Debug */,
1490 | 83CBBA211A601CBA00E9B192 /* Release */,
1491 | );
1492 | defaultConfigurationIsVisible = 0;
1493 | defaultConfigurationName = Release;
1494 | };
1495 | /* End XCConfigurationList section */
1496 | };
1497 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
1498 | }
1499 |
--------------------------------------------------------------------------------