├── .gitignore ├── .npmignore ├── README.md ├── assets ├── .DS_Store └── exemple.gif ├── example ├── .babelrc ├── .flowconfig ├── .gitignore ├── .watchmanconfig ├── App.js ├── App.test.js ├── README.md ├── android │ ├── app │ │ ├── BUCK │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── res │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── keystores │ │ ├── BUCK │ │ └── debug.keystore.properties │ └── settings.gradle ├── app.json ├── index.js ├── ios │ ├── example-tvOS │ │ └── Info.plist │ ├── example-tvOSTests │ │ └── Info.plist │ ├── example.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcuserdata │ │ │ │ └── alexandregarrec.xcuserdatad │ │ │ │ └── UserInterfaceState.xcuserstate │ │ ├── xcshareddata │ │ │ └── xcschemes │ │ │ │ ├── example-tvOS.xcscheme │ │ │ │ └── example.xcscheme │ │ └── xcuserdata │ │ │ └── alexandregarrec.xcuserdatad │ │ │ └── xcschemes │ │ │ └── xcschememanagement.plist │ ├── example │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Base.lproj │ │ │ └── LaunchScreen.xib │ │ ├── Images.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── Info.plist │ │ └── main.m │ └── exampleTests │ │ ├── Info.plist │ │ └── exampleTests.m ├── jsconfig.json ├── package.json └── yarn.lock ├── package-lock.json ├── package.json └── src └── index.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | /example -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # react-native-scroll-indicator 2 | React native scroll indicator 3 | 4 | [![npm](https://img.shields.io/npm/v/@inteach/react-native-scroll-indicator.svg?style=flat-square)](https://www.npmjs.com/package/@inteach/react-native-scroll-indicator) 5 | 6 | - [Usage](#usage) 7 | - [Demo](#demo) 8 | - [Code](#code) 9 | - [Components](#components) 10 | - [License](#License) 11 | 12 | ## Usage 13 | 14 | Install 15 | 16 | ```bash 17 | $ npm install @inteach/react-native-scroll-indicator -save 18 | $ react-native link react-native-linear-gradient 19 | ``` 20 | 21 | ## Demo 22 | 23 | 24 | 25 | ## Code 26 | 27 | ```javascript 28 | import ScrollIndicator from '@inteach/react-native-scroll-indicator' 29 | 30 | const Component = () => 31 | 32 | 33 | {/* Somme scrollable content */} 34 | 35 | 36 | ``` 37 | 38 | ## Components 39 | 40 | ScrollIndicator 41 | --- 42 | Props: 43 | 44 | - minScrollHeight (int) : default 0 45 | - style (object) : default {} 46 | - scrollEnabled (bool) : default true 47 | - showIndicator (bool) : default true 48 | - picto (require) : default false 49 | 50 | 51 | ## License 52 | 53 | [MIT License](https://opensource.org/licenses/MIT) 54 | -------------------------------------------------------------------------------- /assets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InTeach/react-native-scroll-indicator/458ee422432013045dbc0b32ec7627dac89352b2/assets/.DS_Store -------------------------------------------------------------------------------- /assets/exemple.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InTeach/react-native-scroll-indicator/458ee422432013045dbc0b32ec7627dac89352b2/assets/exemple.gif -------------------------------------------------------------------------------- /example/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "babel-preset-react-native-stage-0/decorator-support" 4 | ], 5 | "env": { 6 | "development": { 7 | "plugins": [ 8 | "transform-react-jsx-source" 9 | ] 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /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 | .*/Libraries/react-native/ReactNative.js 16 | 17 | ; Additional create-react-native-app ignores 18 | 19 | ; Ignore duplicate module providers 20 | .*/node_modules/fbemitter/lib/* 21 | 22 | ; Ignore misbehaving dev-dependencies 23 | .*/node_modules/xdl/build/* 24 | .*/node_modules/reqwest/tests/* 25 | 26 | ; Ignore missing expo-sdk dependencies (temporarily) 27 | ; https://github.com/expo/expo/issues/162 28 | .*/node_modules/expo/src/* 29 | 30 | ; Ignore react-native-fbads dependency of the expo sdk 31 | .*/node_modules/react-native-fbads/* 32 | 33 | [include] 34 | 35 | [libs] 36 | node_modules/react-native/Libraries/react-native/react-native-interface.js 37 | node_modules/react-native/flow 38 | flow/ 39 | 40 | [options] 41 | module.system=haste 42 | 43 | emoji=true 44 | 45 | experimental.strict_type_args=true 46 | 47 | munge_underscores=true 48 | 49 | 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' 50 | 51 | suppress_type=$FlowIssue 52 | suppress_type=$FlowFixMe 53 | suppress_type=$FixMe 54 | 55 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 56 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 57 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 58 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 59 | 60 | unsafe.enable_getters_and_setters=true 61 | 62 | [version] 63 | ^0.49.1 64 | -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .expo/ 3 | npm-debug.* 4 | -------------------------------------------------------------------------------- /example/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /example/App.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { Text, View } from "react-native"; 3 | import ScrollIndicator from "@inteach/react-native-scroll-indicator"; 4 | 5 | export default class App extends React.Component { 6 | render() { 7 | return ( 8 | 9 | 10 | 11 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec non 12 | porta quam. Praesent sit amet iaculis arcu. Fusce nisl tellus, 13 | elementum vitae aliquam eget, pharetra in enim. Morbi facilisis, 14 | purus ac placerat pretium, neque odio ultricies turpis, sit amet 15 | placerat velit erat eu nunc. Curabitur vitae lectus felis. Quisque 16 | sed fringilla tellus. Suspendisse molestie metus tincidunt dolor 17 | convallis posuere. Nam ultricies id metus ut vestibulum. In quis 18 | metus non ligula posuere tincidunt vehicula vitae odio. Morbi tempus 19 | vel ex sed commodo. Vestibulum sapien quam, dapibus nec metus quis, 20 | laoreet ornare mauris. 21 | 22 | 23 | Donec efficitur, ex ac blandit pharetra, lorem nisl efficitur risus, 24 | id eleifend felis sem nec mauris. Pellentesque eros lectus, egestas 25 | ut porttitor non, auctor vitae nunc. Ut ut neque eu ipsum varius 26 | elementum. Mauris ut eros porttitor ex aliquam ornare in vitae 27 | lacus. Mauris vel risus non turpis suscipit interdum ut at neque. 28 | Etiam luctus eros eget imperdiet cursus. Nullam accumsan auctor nisi 29 | ac euismod. Fusce tempus dignissim lacus sed tincidunt. Proin 30 | sodales condimentum nulla sit amet malesuada. Ut vel suscipit 31 | sapien. Praesent eget lobortis ligula, id ultricies nulla. 32 | Suspendisse potenti. Fusce commodo gravida tristique. 33 | 34 | 35 | Phasellus euismod id nisl vitae consequat. Integer maximus id neque 36 | ut eleifend. Duis sed erat commodo, dignissim justo dignissim, 37 | vulputate urna. Donec erat leo, aliquet a sem eget, lobortis 38 | facilisis eros. Vivamus aliquam lacinia vehicula. Duis porta 39 | vehicula erat, quis blandit libero lobortis ut. Praesent ante erat, 40 | finibus sit amet accumsan ut, sodales ac sapien. Vestibulum semper, 41 | metus in euismod tristique, augue arcu mattis lectus, sed mollis 42 | nunc sapien vel nulla. Vivamus molestie, augue eget efficitur 43 | euismod, velit mauris sodales lectus, accumsan volutpat nulla nibh 44 | ac erat. Nulla iaculis purus quis tempus commodo. 45 | 46 | 47 | Vivamus egestas augue non nibh varius fringilla. Cras in mattis 48 | quam, id volutpat mi. Pellentesque quis sapien dignissim, malesuada 49 | ex id, porttitor velit. Phasellus mauris enim, porta at risus ac, 50 | scelerisque hendrerit sem. Phasellus eget elementum nisl. Quisque a 51 | felis quis ligula imperdiet laoreet et a nulla. Sed rutrum rhoncus 52 | sollicitudin. Vestibulum bibendum mauris neque, ut laoreet diam 53 | imperdiet posuere. Maecenas quam magna, tempus eu urna ut, tristique 54 | finibus odio. Mauris id justo odio. Nullam pharetra ante at nisl 55 | ultrices, quis pellentesque enim porta. Duis maximus dui erat, 56 | tincidunt vehicula risus tempus eu. Aenean eu lorem sed ante maximus 57 | cursus nec vel orci. Suspendisse interdum sed est eu congue. 58 | 59 | 60 | Praesent eget dignissim felis. Maecenas tortor erat, ultricies eget 61 | ipsum id, rutrum tincidunt metus. Nulla dapibus libero est, a 62 | egestas felis egestas in. In suscipit dolor consequat risus interdum 63 | congue. Lorem ipsum dolor sit amet, consectetur adipiscing elit. 64 | Pellentesque blandit neque quis pulvinar sodales. Morbi placerat 65 | tincidunt gravida. 66 | 67 | 68 | 69 | ); 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /example/App.test.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import App from './App'; 3 | 4 | import renderer from 'react-test-renderer'; 5 | 6 | it('renders without crashing', () => { 7 | const rendered = renderer.create().toJSON(); 8 | expect(rendered).toBeTruthy(); 9 | }); 10 | -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- 1 | This project was bootstrapped with [Create React Native App](https://github.com/react-community/create-react-native-app). 2 | 3 | Below you'll find information about performing common tasks. The most recent version of this guide is available [here](https://github.com/react-community/create-react-native-app/blob/master/react-native-scripts/template/README.md). 4 | 5 | ## Table of Contents 6 | 7 | * [Updating to New Releases](#updating-to-new-releases) 8 | * [Available Scripts](#available-scripts) 9 | * [npm start](#npm-start) 10 | * [npm test](#npm-test) 11 | * [npm run ios](#npm-run-ios) 12 | * [npm run android](#npm-run-android) 13 | * [npm run eject](#npm-run-eject) 14 | * [Writing and Running Tests](#writing-and-running-tests) 15 | * [Environment Variables](#environment-variables) 16 | * [Configuring Packager IP Address](#configuring-packager-ip-address) 17 | * [Adding Flow](#adding-flow) 18 | * [Customizing App Display Name and Icon](#customizing-app-display-name-and-icon) 19 | * [Sharing and Deployment](#sharing-and-deployment) 20 | * [Publishing to Expo's React Native Community](#publishing-to-expos-react-native-community) 21 | * [Building an Expo "standalone" app](#building-an-expo-standalone-app) 22 | * [Ejecting from Create React Native App](#ejecting-from-create-react-native-app) 23 | * [Build Dependencies (Xcode & Android Studio)](#build-dependencies-xcode-android-studio) 24 | * [Should I Use ExpoKit?](#should-i-use-expokit) 25 | * [Troubleshooting](#troubleshooting) 26 | * [Networking](#networking) 27 | * [iOS Simulator won't open](#ios-simulator-wont-open) 28 | * [QR Code does not scan](#qr-code-does-not-scan) 29 | 30 | ## Updating to New Releases 31 | 32 | You should only need to update the global installation of `create-react-native-app` very rarely, ideally never. 33 | 34 | Updating the `react-native-scripts` dependency of your app should be as simple as bumping the version number in `package.json` and reinstalling your project's dependencies. 35 | 36 | Upgrading to a new version of React Native requires updating the `react-native`, `react`, and `expo` package versions, and setting the correct `sdkVersion` in `app.json`. See the [versioning guide](https://github.com/react-community/create-react-native-app/blob/master/VERSIONS.md) for up-to-date information about package version compatibility. 37 | 38 | ## Available Scripts 39 | 40 | If Yarn was installed when the project was initialized, then dependencies will have been installed via Yarn, and you should probably use it to run these commands as well. Unlike dependency installation, command running syntax is identical for Yarn and NPM at the time of this writing. 41 | 42 | ### `npm start` 43 | 44 | Runs your app in development mode. 45 | 46 | Open it in the [Expo app](https://expo.io) on your phone to view it. It will reload if you save edits to your files, and you will see build errors and logs in the terminal. 47 | 48 | Sometimes you may need to reset or clear the React Native packager's cache. To do so, you can pass the `--reset-cache` flag to the start script: 49 | 50 | ``` 51 | npm start -- --reset-cache 52 | # or 53 | yarn start -- --reset-cache 54 | ``` 55 | 56 | #### `npm test` 57 | 58 | Runs the [jest](https://github.com/facebook/jest) test runner on your tests. 59 | 60 | #### `npm run ios` 61 | 62 | Like `npm start`, but also attempts to open your app in the iOS Simulator if you're on a Mac and have it installed. 63 | 64 | #### `npm run android` 65 | 66 | Like `npm start`, but also attempts to open your app on a connected Android device or emulator. Requires an installation of Android build tools (see [React Native docs](https://facebook.github.io/react-native/docs/getting-started.html) for detailed setup). We also recommend installing Genymotion as your Android emulator. Once you've finished setting up the native build environment, there are two options for making the right copy of `adb` available to Create React Native App: 67 | 68 | ##### Using Android Studio's `adb` 69 | 70 | 1. Make sure that you can run adb from your terminal. 71 | 2. Open Genymotion and navigate to `Settings -> ADB`. Select “Use custom Android SDK tools” and update with your [Android SDK directory](https://stackoverflow.com/questions/25176594/android-sdk-location). 72 | 73 | ##### Using Genymotion's `adb` 74 | 75 | 1. Find Genymotion’s copy of adb. On macOS for example, this is normally `/Applications/Genymotion.app/Contents/MacOS/tools/`. 76 | 2. Add the Genymotion tools directory to your path (instructions for [Mac](http://osxdaily.com/2014/08/14/add-new-path-to-path-command-line/), [Linux](http://www.computerhope.com/issues/ch001647.htm), and [Windows](https://www.howtogeek.com/118594/how-to-edit-your-system-path-for-easy-command-line-access/)). 77 | 3. Make sure that you can run adb from your terminal. 78 | 79 | #### `npm run eject` 80 | 81 | This will start the process of "ejecting" from Create React Native App's build scripts. You'll be asked a couple of questions about how you'd like to build your project. 82 | 83 | **Warning:** Running eject is a permanent action (aside from whatever version control system you use). An ejected app will require you to have an [Xcode and/or Android Studio environment](https://facebook.github.io/react-native/docs/getting-started.html) set up. 84 | 85 | ## Customizing App Display Name and Icon 86 | 87 | You can edit `app.json` to include [configuration keys](https://docs.expo.io/versions/latest/guides/configuration.html) under the `expo` key. 88 | 89 | To change your app's display name, set the `expo.name` key in `app.json` to an appropriate string. 90 | 91 | To set an app icon, set the `expo.icon` key in `app.json` to be either a local path or a URL. It's recommended that you use a 512x512 png file with transparency. 92 | 93 | ## Writing and Running Tests 94 | 95 | This project is set up to use [jest](https://facebook.github.io/jest/) for tests. You can configure whatever testing strategy you like, but jest works out of the box. Create test files in directories called `__tests__` or with the `.test` extension to have the files loaded by jest. See the [the template project](https://github.com/react-community/create-react-native-app/blob/master/react-native-scripts/template/App.test.js) for an example test. The [jest documentation](https://facebook.github.io/jest/docs/en/getting-started.html) is also a wonderful resource, as is the [React Native testing tutorial](https://facebook.github.io/jest/docs/en/tutorial-react-native.html). 96 | 97 | ## Environment Variables 98 | 99 | You can configure some of Create React Native App's behavior using environment variables. 100 | 101 | ### Configuring Packager IP Address 102 | 103 | When starting your project, you'll see something like this for your project URL: 104 | 105 | ``` 106 | exp://192.168.0.2:19000 107 | ``` 108 | 109 | The "manifest" at that URL tells the Expo app how to retrieve and load your app's JavaScript bundle, so even if you load it in the app via a URL like `exp://localhost:19000`, the Expo client app will still try to retrieve your app at the IP address that the start script provides. 110 | 111 | In some cases, this is less than ideal. This might be the case if you need to run your project inside of a virtual machine and you have to access the packager via a different IP address than the one which prints by default. In order to override the IP address or hostname that is detected by Create React Native App, you can specify your own hostname via the `REACT_NATIVE_PACKAGER_HOSTNAME` environment variable: 112 | 113 | Mac and Linux: 114 | 115 | ``` 116 | REACT_NATIVE_PACKAGER_HOSTNAME='my-custom-ip-address-or-hostname' npm start 117 | ``` 118 | 119 | Windows: 120 | ``` 121 | set REACT_NATIVE_PACKAGER_HOSTNAME='my-custom-ip-address-or-hostname' 122 | npm start 123 | ``` 124 | 125 | The above example would cause the development server to listen on `exp://my-custom-ip-address-or-hostname:19000`. 126 | 127 | ## Adding Flow 128 | 129 | Flow is a static type checker that helps you write code with fewer bugs. Check out this [introduction to using static types in JavaScript](https://medium.com/@preethikasireddy/why-use-static-types-in-javascript-part-1-8382da1e0adb) if you are new to this concept. 130 | 131 | React Native works with [Flow](http://flowtype.org/) out of the box, as long as your Flow version matches the one used in the version of React Native. 132 | 133 | To add a local dependency to the correct Flow version to a Create React Native App project, follow these steps: 134 | 135 | 1. Find the Flow `[version]` at the bottom of the included [.flowconfig](.flowconfig) 136 | 2. Run `npm install --save-dev flow-bin@x.y.z` (or `yarn add --dev flow-bin@x.y.z`), where `x.y.z` is the .flowconfig version number. 137 | 3. Add `"flow": "flow"` to the `scripts` section of your `package.json`. 138 | 4. Add `// @flow` to any files you want to type check (for example, to `App.js`). 139 | 140 | Now you can run `npm run flow` (or `yarn flow`) to check the files for type errors. 141 | You can optionally use a [plugin for your IDE or editor](https://flow.org/en/docs/editors/) for a better integrated experience. 142 | 143 | To learn more about Flow, check out [its documentation](https://flow.org/). 144 | 145 | ## Sharing and Deployment 146 | 147 | Create React Native App does a lot of work to make app setup and development simple and straightforward, but it's very difficult to do the same for deploying to Apple's App Store or Google's Play Store without relying on a hosted service. 148 | 149 | ### Publishing to Expo's React Native Community 150 | 151 | Expo provides free hosting for the JS-only apps created by CRNA, allowing you to share your app through the Expo client app. This requires registration for an Expo account. 152 | 153 | Install the `exp` command-line tool, and run the publish command: 154 | 155 | ``` 156 | $ npm i -g exp 157 | $ exp publish 158 | ``` 159 | 160 | ### Building an Expo "standalone" app 161 | 162 | You can also use a service like [Expo's standalone builds](https://docs.expo.io/versions/latest/guides/building-standalone-apps.html) if you want to get an IPA/APK for distribution without having to build the native code yourself. 163 | 164 | ### Ejecting from Create React Native App 165 | 166 | If you want to build and deploy your app yourself, you'll need to eject from CRNA and use Xcode and Android Studio. 167 | 168 | This is usually as simple as running `npm run eject` in your project, which will walk you through the process. Make sure to install `react-native-cli` and follow the [native code getting started guide for React Native](https://facebook.github.io/react-native/docs/getting-started.html). 169 | 170 | #### Should I Use ExpoKit? 171 | 172 | If you have made use of Expo APIs while working on your project, then those API calls will stop working if you eject to a regular React Native project. If you want to continue using those APIs, you can eject to "React Native + ExpoKit" which will still allow you to build your own native code and continue using the Expo APIs. See the [ejecting guide](https://github.com/react-community/create-react-native-app/blob/master/EJECTING.md) for more details about this option. 173 | 174 | ## Troubleshooting 175 | 176 | ### Networking 177 | 178 | If you're unable to load your app on your phone due to a network timeout or a refused connection, a good first step is to verify that your phone and computer are on the same network and that they can reach each other. Create React Native App needs access to ports 19000 and 19001 so ensure that your network and firewall settings allow access from your device to your computer on both of these ports. 179 | 180 | Try opening a web browser on your phone and opening the URL that the packager script prints, replacing `exp://` with `http://`. So, for example, if underneath the QR code in your terminal you see: 181 | 182 | ``` 183 | exp://192.168.0.1:19000 184 | ``` 185 | 186 | Try opening Safari or Chrome on your phone and loading 187 | 188 | ``` 189 | http://192.168.0.1:19000 190 | ``` 191 | 192 | and 193 | 194 | ``` 195 | http://192.168.0.1:19001 196 | ``` 197 | 198 | If this works, but you're still unable to load your app by scanning the QR code, please open an issue on the [Create React Native App repository](https://github.com/react-community/create-react-native-app) with details about these steps and any other error messages you may have received. 199 | 200 | If you're not able to load the `http` URL in your phone's web browser, try using the tethering/mobile hotspot feature on your phone (beware of data usage, though), connecting your computer to that WiFi network, and restarting the packager. 201 | 202 | ### iOS Simulator won't open 203 | 204 | If you're on a Mac, there are a few errors that users sometimes see when attempting to `npm run ios`: 205 | 206 | * "non-zero exit code: 107" 207 | * "You may need to install Xcode" but it is already installed 208 | * and others 209 | 210 | There are a few steps you may want to take to troubleshoot these kinds of errors: 211 | 212 | 1. Make sure Xcode is installed and open it to accept the license agreement if it prompts you. You can install it from the Mac App Store. 213 | 2. Open Xcode's Preferences, the Locations tab, and make sure that the `Command Line Tools` menu option is set to something. Sometimes when the CLI tools are first installed by Homebrew this option is left blank, which can prevent Apple utilities from finding the simulator. Make sure to re-run `npm/yarn run ios` after doing so. 214 | 3. If that doesn't work, open the Simulator, and under the app menu select `Reset Contents and Settings...`. After that has finished, quit the Simulator, and re-run `npm/yarn run ios`. 215 | 216 | ### QR Code does not scan 217 | 218 | If you're not able to scan the QR code, make sure your phone's camera is focusing correctly, and also make sure that the contrast on the two colors in your terminal is high enough. For example, WebStorm's default themes may [not have enough contrast](https://github.com/react-community/create-react-native-app/issues/49) for terminal QR codes to be scannable with the system barcode scanners that the Expo app uses. 219 | 220 | If this causes problems for you, you may want to try changing your terminal's color theme to have more contrast, or running Create React Native App from a different terminal. You can also manually enter the URL printed by the packager script in the Expo app's search bar to load it manually. 221 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /example/android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 37 | * // for example: to disable dev mode in the staging build type (if configured) 38 | * devDisabledInStaging: true, 39 | * // The configuration property can be in the following formats 40 | * // 'devDisabledIn${productFlavor}${buildType}' 41 | * // 'devDisabledIn${buildType}' 42 | * 43 | * // the root of your project, i.e. where "package.json" lives 44 | * root: "../../", 45 | * 46 | * // where to put the JS bundle asset in debug mode 47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 48 | * 49 | * // where to put the JS bundle asset in release mode 50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 51 | * 52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 53 | * // require('./image.png')), in debug mode 54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 55 | * 56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 57 | * // require('./image.png')), in release mode 58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 59 | * 60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 64 | * // for example, you might want to remove it from here. 65 | * inputExcludes: ["android/**", "ios/**"], 66 | * 67 | * // override which node gets called and with what additional arguments 68 | * nodeExecutableAndArgs: ["node"], 69 | * 70 | * // supply additional arguments to the packager 71 | * extraPackagerArgs: [] 72 | * ] 73 | */ 74 | 75 | project.ext.react = [ 76 | entryFile: "index.js" 77 | ] 78 | 79 | apply from: "../../node_modules/react-native/react.gradle" 80 | 81 | /** 82 | * Set this to true to create two separate APKs instead of one: 83 | * - An APK that only works on ARM devices 84 | * - An APK that only works on x86 devices 85 | * The advantage is the size of the APK is reduced by about 4MB. 86 | * Upload all the APKs to the Play Store and people will download 87 | * the correct one based on the CPU architecture of their device. 88 | */ 89 | def enableSeparateBuildPerCPUArchitecture = false 90 | 91 | /** 92 | * Run Proguard to shrink the Java bytecode in release builds. 93 | */ 94 | def enableProguardInReleaseBuilds = false 95 | 96 | android { 97 | compileSdkVersion 23 98 | buildToolsVersion "23.0.1" 99 | 100 | defaultConfig { 101 | applicationId "com.example" 102 | minSdkVersion 16 103 | targetSdkVersion 22 104 | versionCode 1 105 | versionName "1.0" 106 | ndk { 107 | abiFilters "armeabi-v7a", "x86" 108 | } 109 | } 110 | splits { 111 | abi { 112 | reset() 113 | enable enableSeparateBuildPerCPUArchitecture 114 | universalApk false // If true, also generate a universal APK 115 | include "armeabi-v7a", "x86" 116 | } 117 | } 118 | buildTypes { 119 | release { 120 | minifyEnabled enableProguardInReleaseBuilds 121 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 122 | } 123 | } 124 | // applicationVariants are e.g. debug, release 125 | applicationVariants.all { variant -> 126 | variant.outputs.each { output -> 127 | // For each separate APK per architecture, set a unique version code as described here: 128 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 129 | def versionCodes = ["armeabi-v7a":1, "x86":2] 130 | def abi = output.getFilter(OutputFile.ABI) 131 | if (abi != null) { // null for the universal-debug, universal-release variants 132 | output.versionCodeOverride = 133 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 134 | } 135 | } 136 | } 137 | } 138 | 139 | dependencies { 140 | compile project(':react-native-linear-gradient') 141 | compile fileTree(dir: "libs", include: ["*.jar"]) 142 | compile "com.android.support:appcompat-v7:23.0.1" 143 | compile "com.facebook.react:react-native:+" // From node_modules 144 | } 145 | 146 | // Run this once to be able to run the application with BUCK 147 | // puts all compile dependencies into folder libs for BUCK to use 148 | task copyDownloadableDepsToLibs(type: Copy) { 149 | from configurations.compile 150 | into 'libs' 151 | } 152 | -------------------------------------------------------------------------------- /example/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout. 54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details. 55 | -dontwarn android.text.StaticLayout 56 | 57 | # okhttp 58 | 59 | -keepattributes Signature 60 | -keepattributes *Annotation* 61 | -keep class okhttp3.** { *; } 62 | -keep interface okhttp3.** { *; } 63 | -dontwarn okhttp3.** 64 | 65 | # okio 66 | 67 | -keep class sun.misc.Unsafe { *; } 68 | -dontwarn java.nio.file.* 69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 70 | -dontwarn okio.** 71 | -------------------------------------------------------------------------------- /example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/example/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "example"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/example/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.example; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.BV.LinearGradient.LinearGradientPackage; 7 | import com.facebook.react.ReactNativeHost; 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.react.shell.MainReactPackage; 10 | import com.facebook.soloader.SoLoader; 11 | 12 | import java.util.Arrays; 13 | import java.util.List; 14 | 15 | public class MainApplication extends Application implements ReactApplication { 16 | 17 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 18 | @Override 19 | public boolean getUseDeveloperSupport() { 20 | return BuildConfig.DEBUG; 21 | } 22 | 23 | @Override 24 | protected List getPackages() { 25 | return Arrays.asList( 26 | new MainReactPackage(), 27 | new LinearGradientPackage() 28 | ); 29 | } 30 | 31 | @Override 32 | protected String getJSMainModuleName() { 33 | return "index"; 34 | } 35 | }; 36 | 37 | @Override 38 | public ReactNativeHost getReactNativeHost() { 39 | return mReactNativeHost; 40 | } 41 | 42 | @Override 43 | public void onCreate() { 44 | super.onCreate(); 45 | SoLoader.init(this, /* native exopackage */ false); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InTeach/react-native-scroll-indicator/458ee422432013045dbc0b32ec7627dac89352b2/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/InTeach/react-native-scroll-indicator/458ee422432013045dbc0b32ec7627dac89352b2/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/InTeach/react-native-scroll-indicator/458ee422432013045dbc0b32ec7627dac89352b2/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/InTeach/react-native-scroll-indicator/458ee422432013045dbc0b32ec7627dac89352b2/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Example 3 | 4 | -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /example/android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.3' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | mavenLocal() 18 | jcenter() 19 | maven { 20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 21 | url "$rootDir/../node_modules/react-native/android" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /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 | 20 | android.useDeprecatedNdk=true 21 | -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InTeach/react-native-scroll-indicator/458ee422432013045dbc0b32ec7627dac89352b2/example/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 6 | -------------------------------------------------------------------------------- /example/android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /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 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /example/android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /example/android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /example/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'example' 2 | include ':react-native-linear-gradient' 3 | project(':react-native-linear-gradient').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-linear-gradient/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /example/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "expo": { 3 | "name": "Example", 4 | "displayName": "example", 5 | "sdkVersion": "22.0.0" 6 | }, 7 | "name": "example", 8 | "displayName": "Example" 9 | } -------------------------------------------------------------------------------- /example/index.js: -------------------------------------------------------------------------------- 1 | import { AppRegistry } from 'react-native'; 2 | import App from './App'; 3 | AppRegistry.registerComponent('example', () => App); 4 | -------------------------------------------------------------------------------- /example/ios/example-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /example/ios/example-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 15 | 00E356F31AD99517003FC87E /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; }; 16 | 0ABDC4C69BB04F23B8A0EE33 /* libBVLinearGradient.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 876303D7196E481DA04E0C92 /* libBVLinearGradient.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 | 2D02E4C91E0B4AEC006451C7 /* libReact-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */; }; 37 | 2DCD954D1E0B4F2C00145EB5 /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; }; 38 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.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 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 115 | isa = PBXContainerItemProxy; 116 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 117 | proxyType = 2; 118 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 119 | remoteInfo = "RCTImage-tvOS"; 120 | }; 121 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 122 | isa = PBXContainerItemProxy; 123 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 124 | proxyType = 2; 125 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 126 | remoteInfo = "RCTLinking-tvOS"; 127 | }; 128 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 129 | isa = PBXContainerItemProxy; 130 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 131 | proxyType = 2; 132 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 133 | remoteInfo = "RCTNetwork-tvOS"; 134 | }; 135 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 136 | isa = PBXContainerItemProxy; 137 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 138 | proxyType = 2; 139 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 140 | remoteInfo = "RCTSettings-tvOS"; 141 | }; 142 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 143 | isa = PBXContainerItemProxy; 144 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 145 | proxyType = 2; 146 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 147 | remoteInfo = "RCTText-tvOS"; 148 | }; 149 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 150 | isa = PBXContainerItemProxy; 151 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 152 | proxyType = 2; 153 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 154 | remoteInfo = "RCTWebSocket-tvOS"; 155 | }; 156 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 157 | isa = PBXContainerItemProxy; 158 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 159 | proxyType = 2; 160 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 161 | remoteInfo = "React-tvOS"; 162 | }; 163 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 164 | isa = PBXContainerItemProxy; 165 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 166 | proxyType = 2; 167 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 168 | remoteInfo = yoga; 169 | }; 170 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 171 | isa = PBXContainerItemProxy; 172 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 173 | proxyType = 2; 174 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 175 | remoteInfo = "yoga-tvOS"; 176 | }; 177 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 178 | isa = PBXContainerItemProxy; 179 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 180 | proxyType = 2; 181 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 182 | remoteInfo = cxxreact; 183 | }; 184 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 185 | isa = PBXContainerItemProxy; 186 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 187 | proxyType = 2; 188 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 189 | remoteInfo = "cxxreact-tvOS"; 190 | }; 191 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 192 | isa = PBXContainerItemProxy; 193 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 194 | proxyType = 2; 195 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 196 | remoteInfo = jschelpers; 197 | }; 198 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 199 | isa = PBXContainerItemProxy; 200 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 201 | proxyType = 2; 202 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 203 | remoteInfo = "jschelpers-tvOS"; 204 | }; 205 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 206 | isa = PBXContainerItemProxy; 207 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 208 | proxyType = 2; 209 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 210 | remoteInfo = RCTAnimation; 211 | }; 212 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 213 | isa = PBXContainerItemProxy; 214 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 215 | proxyType = 2; 216 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 217 | remoteInfo = "RCTAnimation-tvOS"; 218 | }; 219 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 220 | isa = PBXContainerItemProxy; 221 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 222 | proxyType = 2; 223 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 224 | remoteInfo = RCTLinking; 225 | }; 226 | 7D2F7D4C1FA4907F007719EB /* PBXContainerItemProxy */ = { 227 | isa = PBXContainerItemProxy; 228 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 229 | proxyType = 2; 230 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 231 | remoteInfo = "RCTBlob-tvOS"; 232 | }; 233 | 7D2F7D5E1FA4907F007719EB /* PBXContainerItemProxy */ = { 234 | isa = PBXContainerItemProxy; 235 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 236 | proxyType = 2; 237 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 238 | remoteInfo = fishhook; 239 | }; 240 | 7D2F7D601FA4907F007719EB /* PBXContainerItemProxy */ = { 241 | isa = PBXContainerItemProxy; 242 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 243 | proxyType = 2; 244 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 245 | remoteInfo = "fishhook-tvOS"; 246 | }; 247 | 7D2F7D661FA4907F007719EB /* PBXContainerItemProxy */ = { 248 | isa = PBXContainerItemProxy; 249 | containerPortal = FF9A3428885E40238DD85E7A /* BVLinearGradient.xcodeproj */; 250 | proxyType = 2; 251 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 252 | remoteInfo = BVLinearGradient; 253 | }; 254 | 7D2F7D681FA4907F007719EB /* PBXContainerItemProxy */ = { 255 | isa = PBXContainerItemProxy; 256 | containerPortal = FF9A3428885E40238DD85E7A /* BVLinearGradient.xcodeproj */; 257 | proxyType = 2; 258 | remoteGlobalIDString = 64AA15081EF7F30100718508; 259 | remoteInfo = "BVLinearGradient-tvOS"; 260 | }; 261 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 262 | isa = PBXContainerItemProxy; 263 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 264 | proxyType = 2; 265 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 266 | remoteInfo = RCTText; 267 | }; 268 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 269 | isa = PBXContainerItemProxy; 270 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 271 | proxyType = 2; 272 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 273 | remoteInfo = RCTBlob; 274 | }; 275 | /* End PBXContainerItemProxy section */ 276 | 277 | /* Begin PBXFileReference section */ 278 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 279 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 280 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 281 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 282 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 283 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 284 | 00E356EE1AD99517003FC87E /* exampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = exampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 285 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 286 | 00E356F21AD99517003FC87E /* exampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = exampleTests.m; sourceTree = ""; }; 287 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 288 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 289 | 13B07F961A680F5B00A75B9A /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 290 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = example/AppDelegate.h; sourceTree = ""; }; 291 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = example/AppDelegate.m; sourceTree = ""; }; 292 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 293 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = ""; }; 294 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = ""; }; 295 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = ""; }; 296 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 297 | 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 298 | 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "example-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 299 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 300 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 301 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 302 | 876303D7196E481DA04E0C92 /* libBVLinearGradient.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libBVLinearGradient.a; sourceTree = ""; }; 303 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 304 | FF9A3428885E40238DD85E7A /* BVLinearGradient.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = BVLinearGradient.xcodeproj; path = "../node_modules/react-native-linear-gradient/BVLinearGradient.xcodeproj"; sourceTree = ""; }; 305 | /* End PBXFileReference section */ 306 | 307 | /* Begin PBXFrameworksBuildPhase section */ 308 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 309 | isa = PBXFrameworksBuildPhase; 310 | buildActionMask = 2147483647; 311 | files = ( 312 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 313 | ); 314 | runOnlyForDeploymentPostprocessing = 0; 315 | }; 316 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 317 | isa = PBXFrameworksBuildPhase; 318 | buildActionMask = 2147483647; 319 | files = ( 320 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 321 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 322 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 323 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 324 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 325 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 326 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 327 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 328 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 329 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 330 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 331 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 332 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 333 | 0ABDC4C69BB04F23B8A0EE33 /* libBVLinearGradient.a in Frameworks */, 334 | ); 335 | runOnlyForDeploymentPostprocessing = 0; 336 | }; 337 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 338 | isa = PBXFrameworksBuildPhase; 339 | buildActionMask = 2147483647; 340 | files = ( 341 | 2D02E4C91E0B4AEC006451C7 /* libReact-tvOS.a in Frameworks */, 342 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 343 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 344 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 345 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 346 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 347 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 348 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 349 | ); 350 | runOnlyForDeploymentPostprocessing = 0; 351 | }; 352 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 353 | isa = PBXFrameworksBuildPhase; 354 | buildActionMask = 2147483647; 355 | files = ( 356 | ); 357 | runOnlyForDeploymentPostprocessing = 0; 358 | }; 359 | /* End PBXFrameworksBuildPhase section */ 360 | 361 | /* Begin PBXGroup section */ 362 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 363 | isa = PBXGroup; 364 | children = ( 365 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 366 | ); 367 | name = Products; 368 | sourceTree = ""; 369 | }; 370 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 371 | isa = PBXGroup; 372 | children = ( 373 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 374 | ); 375 | name = Products; 376 | sourceTree = ""; 377 | }; 378 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 379 | isa = PBXGroup; 380 | children = ( 381 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 382 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 383 | ); 384 | name = Products; 385 | sourceTree = ""; 386 | }; 387 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 388 | isa = PBXGroup; 389 | children = ( 390 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 391 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 392 | ); 393 | name = Products; 394 | sourceTree = ""; 395 | }; 396 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 397 | isa = PBXGroup; 398 | children = ( 399 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 400 | ); 401 | name = Products; 402 | sourceTree = ""; 403 | }; 404 | 00E356EF1AD99517003FC87E /* exampleTests */ = { 405 | isa = PBXGroup; 406 | children = ( 407 | 00E356F21AD99517003FC87E /* exampleTests.m */, 408 | 00E356F01AD99517003FC87E /* Supporting Files */, 409 | ); 410 | path = exampleTests; 411 | sourceTree = ""; 412 | }; 413 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 414 | isa = PBXGroup; 415 | children = ( 416 | 00E356F11AD99517003FC87E /* Info.plist */, 417 | ); 418 | name = "Supporting Files"; 419 | sourceTree = ""; 420 | }; 421 | 139105B71AF99BAD00B5F7CC /* Products */ = { 422 | isa = PBXGroup; 423 | children = ( 424 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 425 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 426 | ); 427 | name = Products; 428 | sourceTree = ""; 429 | }; 430 | 139FDEE71B06529A00C62182 /* Products */ = { 431 | isa = PBXGroup; 432 | children = ( 433 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 434 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 435 | 7D2F7D5F1FA4907F007719EB /* libfishhook.a */, 436 | 7D2F7D611FA4907F007719EB /* libfishhook-tvOS.a */, 437 | ); 438 | name = Products; 439 | sourceTree = ""; 440 | }; 441 | 13B07FAE1A68108700A75B9A /* example */ = { 442 | isa = PBXGroup; 443 | children = ( 444 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 445 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 446 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 447 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 448 | 13B07FB61A68108700A75B9A /* Info.plist */, 449 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 450 | 13B07FB71A68108700A75B9A /* main.m */, 451 | ); 452 | name = example; 453 | sourceTree = ""; 454 | }; 455 | 146834001AC3E56700842450 /* Products */ = { 456 | isa = PBXGroup; 457 | children = ( 458 | 146834041AC3E56700842450 /* libReact.a */, 459 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 460 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 461 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 462 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 463 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 464 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 465 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */, 466 | ); 467 | name = Products; 468 | sourceTree = ""; 469 | }; 470 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 471 | isa = PBXGroup; 472 | children = ( 473 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 474 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 475 | ); 476 | name = Products; 477 | sourceTree = ""; 478 | }; 479 | 78C398B11ACF4ADC00677621 /* Products */ = { 480 | isa = PBXGroup; 481 | children = ( 482 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 483 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 484 | ); 485 | name = Products; 486 | sourceTree = ""; 487 | }; 488 | 7D2F7D461FA4907D007719EB /* Recovered References */ = { 489 | isa = PBXGroup; 490 | children = ( 491 | 876303D7196E481DA04E0C92 /* libBVLinearGradient.a */, 492 | ); 493 | name = "Recovered References"; 494 | sourceTree = ""; 495 | }; 496 | 7D2F7D621FA4907F007719EB /* Products */ = { 497 | isa = PBXGroup; 498 | children = ( 499 | 7D2F7D671FA4907F007719EB /* libBVLinearGradient.a */, 500 | 7D2F7D691FA4907F007719EB /* libBVLinearGradient.a */, 501 | ); 502 | name = Products; 503 | sourceTree = ""; 504 | }; 505 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 506 | isa = PBXGroup; 507 | children = ( 508 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 509 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 510 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 511 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 512 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 513 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 514 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 515 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 516 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 517 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 518 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 519 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 520 | FF9A3428885E40238DD85E7A /* BVLinearGradient.xcodeproj */, 521 | ); 522 | name = Libraries; 523 | sourceTree = ""; 524 | }; 525 | 832341B11AAA6A8300B99B32 /* Products */ = { 526 | isa = PBXGroup; 527 | children = ( 528 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 529 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 530 | ); 531 | name = Products; 532 | sourceTree = ""; 533 | }; 534 | 83CBB9F61A601CBA00E9B192 = { 535 | isa = PBXGroup; 536 | children = ( 537 | 13B07FAE1A68108700A75B9A /* example */, 538 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 539 | 00E356EF1AD99517003FC87E /* exampleTests */, 540 | 83CBBA001A601CBA00E9B192 /* Products */, 541 | 7D2F7D461FA4907D007719EB /* Recovered References */, 542 | ); 543 | indentWidth = 2; 544 | sourceTree = ""; 545 | tabWidth = 2; 546 | usesTabs = 0; 547 | }; 548 | 83CBBA001A601CBA00E9B192 /* Products */ = { 549 | isa = PBXGroup; 550 | children = ( 551 | 13B07F961A680F5B00A75B9A /* example.app */, 552 | 00E356EE1AD99517003FC87E /* exampleTests.xctest */, 553 | 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */, 554 | 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */, 555 | ); 556 | name = Products; 557 | sourceTree = ""; 558 | }; 559 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 560 | isa = PBXGroup; 561 | children = ( 562 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 563 | 7D2F7D4D1FA4907F007719EB /* libRCTBlob-tvOS.a */, 564 | ); 565 | name = Products; 566 | sourceTree = ""; 567 | }; 568 | /* End PBXGroup section */ 569 | 570 | /* Begin PBXNativeTarget section */ 571 | 00E356ED1AD99517003FC87E /* exampleTests */ = { 572 | isa = PBXNativeTarget; 573 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */; 574 | buildPhases = ( 575 | 00E356EA1AD99517003FC87E /* Sources */, 576 | 00E356EB1AD99517003FC87E /* Frameworks */, 577 | 00E356EC1AD99517003FC87E /* Resources */, 578 | ); 579 | buildRules = ( 580 | ); 581 | dependencies = ( 582 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 583 | ); 584 | name = exampleTests; 585 | productName = exampleTests; 586 | productReference = 00E356EE1AD99517003FC87E /* exampleTests.xctest */; 587 | productType = "com.apple.product-type.bundle.unit-test"; 588 | }; 589 | 13B07F861A680F5B00A75B9A /* example */ = { 590 | isa = PBXNativeTarget; 591 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */; 592 | buildPhases = ( 593 | 13B07F871A680F5B00A75B9A /* Sources */, 594 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 595 | 13B07F8E1A680F5B00A75B9A /* Resources */, 596 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 597 | ); 598 | buildRules = ( 599 | ); 600 | dependencies = ( 601 | ); 602 | name = example; 603 | productName = "Hello World"; 604 | productReference = 13B07F961A680F5B00A75B9A /* example.app */; 605 | productType = "com.apple.product-type.application"; 606 | }; 607 | 2D02E47A1E0B4A5D006451C7 /* example-tvOS */ = { 608 | isa = PBXNativeTarget; 609 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOS" */; 610 | buildPhases = ( 611 | 2D02E4771E0B4A5D006451C7 /* Sources */, 612 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 613 | 2D02E4791E0B4A5D006451C7 /* Resources */, 614 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 615 | ); 616 | buildRules = ( 617 | ); 618 | dependencies = ( 619 | ); 620 | name = "example-tvOS"; 621 | productName = "example-tvOS"; 622 | productReference = 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */; 623 | productType = "com.apple.product-type.application"; 624 | }; 625 | 2D02E48F1E0B4A5D006451C7 /* example-tvOSTests */ = { 626 | isa = PBXNativeTarget; 627 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOSTests" */; 628 | buildPhases = ( 629 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 630 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 631 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 632 | ); 633 | buildRules = ( 634 | ); 635 | dependencies = ( 636 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 637 | ); 638 | name = "example-tvOSTests"; 639 | productName = "example-tvOSTests"; 640 | productReference = 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */; 641 | productType = "com.apple.product-type.bundle.unit-test"; 642 | }; 643 | /* End PBXNativeTarget section */ 644 | 645 | /* Begin PBXProject section */ 646 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 647 | isa = PBXProject; 648 | attributes = { 649 | LastUpgradeCheck = 610; 650 | ORGANIZATIONNAME = Facebook; 651 | TargetAttributes = { 652 | 00E356ED1AD99517003FC87E = { 653 | CreatedOnToolsVersion = 6.2; 654 | TestTargetID = 13B07F861A680F5B00A75B9A; 655 | }; 656 | 2D02E47A1E0B4A5D006451C7 = { 657 | CreatedOnToolsVersion = 8.2.1; 658 | ProvisioningStyle = Automatic; 659 | }; 660 | 2D02E48F1E0B4A5D006451C7 = { 661 | CreatedOnToolsVersion = 8.2.1; 662 | ProvisioningStyle = Automatic; 663 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 664 | }; 665 | }; 666 | }; 667 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */; 668 | compatibilityVersion = "Xcode 3.2"; 669 | developmentRegion = English; 670 | hasScannedForEncodings = 0; 671 | knownRegions = ( 672 | en, 673 | Base, 674 | ); 675 | mainGroup = 83CBB9F61A601CBA00E9B192; 676 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 677 | projectDirPath = ""; 678 | projectReferences = ( 679 | { 680 | ProductGroup = 7D2F7D621FA4907F007719EB /* Products */; 681 | ProjectRef = FF9A3428885E40238DD85E7A /* BVLinearGradient.xcodeproj */; 682 | }, 683 | { 684 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 685 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 686 | }, 687 | { 688 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 689 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 690 | }, 691 | { 692 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 693 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 694 | }, 695 | { 696 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 697 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 698 | }, 699 | { 700 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 701 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 702 | }, 703 | { 704 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 705 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 706 | }, 707 | { 708 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 709 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 710 | }, 711 | { 712 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 713 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 714 | }, 715 | { 716 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 717 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 718 | }, 719 | { 720 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 721 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 722 | }, 723 | { 724 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 725 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 726 | }, 727 | { 728 | ProductGroup = 146834001AC3E56700842450 /* Products */; 729 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 730 | }, 731 | ); 732 | projectRoot = ""; 733 | targets = ( 734 | 13B07F861A680F5B00A75B9A /* example */, 735 | 00E356ED1AD99517003FC87E /* exampleTests */, 736 | 2D02E47A1E0B4A5D006451C7 /* example-tvOS */, 737 | 2D02E48F1E0B4A5D006451C7 /* example-tvOSTests */, 738 | ); 739 | }; 740 | /* End PBXProject section */ 741 | 742 | /* Begin PBXReferenceProxy section */ 743 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 744 | isa = PBXReferenceProxy; 745 | fileType = archive.ar; 746 | path = libRCTActionSheet.a; 747 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 748 | sourceTree = BUILT_PRODUCTS_DIR; 749 | }; 750 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 751 | isa = PBXReferenceProxy; 752 | fileType = archive.ar; 753 | path = libRCTGeolocation.a; 754 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 755 | sourceTree = BUILT_PRODUCTS_DIR; 756 | }; 757 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 758 | isa = PBXReferenceProxy; 759 | fileType = archive.ar; 760 | path = libRCTImage.a; 761 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 762 | sourceTree = BUILT_PRODUCTS_DIR; 763 | }; 764 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 765 | isa = PBXReferenceProxy; 766 | fileType = archive.ar; 767 | path = libRCTNetwork.a; 768 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 769 | sourceTree = BUILT_PRODUCTS_DIR; 770 | }; 771 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 772 | isa = PBXReferenceProxy; 773 | fileType = archive.ar; 774 | path = libRCTVibration.a; 775 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 776 | sourceTree = BUILT_PRODUCTS_DIR; 777 | }; 778 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 779 | isa = PBXReferenceProxy; 780 | fileType = archive.ar; 781 | path = libRCTSettings.a; 782 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 783 | sourceTree = BUILT_PRODUCTS_DIR; 784 | }; 785 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 786 | isa = PBXReferenceProxy; 787 | fileType = archive.ar; 788 | path = libRCTWebSocket.a; 789 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 790 | sourceTree = BUILT_PRODUCTS_DIR; 791 | }; 792 | 146834041AC3E56700842450 /* libReact.a */ = { 793 | isa = PBXReferenceProxy; 794 | fileType = archive.ar; 795 | path = libReact.a; 796 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 797 | sourceTree = BUILT_PRODUCTS_DIR; 798 | }; 799 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 800 | isa = PBXReferenceProxy; 801 | fileType = archive.ar; 802 | path = "libRCTImage-tvOS.a"; 803 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 804 | sourceTree = BUILT_PRODUCTS_DIR; 805 | }; 806 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 807 | isa = PBXReferenceProxy; 808 | fileType = archive.ar; 809 | path = "libRCTLinking-tvOS.a"; 810 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 811 | sourceTree = BUILT_PRODUCTS_DIR; 812 | }; 813 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 814 | isa = PBXReferenceProxy; 815 | fileType = archive.ar; 816 | path = "libRCTNetwork-tvOS.a"; 817 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 818 | sourceTree = BUILT_PRODUCTS_DIR; 819 | }; 820 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 821 | isa = PBXReferenceProxy; 822 | fileType = archive.ar; 823 | path = "libRCTSettings-tvOS.a"; 824 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 825 | sourceTree = BUILT_PRODUCTS_DIR; 826 | }; 827 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 828 | isa = PBXReferenceProxy; 829 | fileType = archive.ar; 830 | path = "libRCTText-tvOS.a"; 831 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 832 | sourceTree = BUILT_PRODUCTS_DIR; 833 | }; 834 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 835 | isa = PBXReferenceProxy; 836 | fileType = archive.ar; 837 | path = "libRCTWebSocket-tvOS.a"; 838 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 839 | sourceTree = BUILT_PRODUCTS_DIR; 840 | }; 841 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */ = { 842 | isa = PBXReferenceProxy; 843 | fileType = archive.ar; 844 | path = "libReact-tvOS.a"; 845 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 846 | sourceTree = BUILT_PRODUCTS_DIR; 847 | }; 848 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 849 | isa = PBXReferenceProxy; 850 | fileType = archive.ar; 851 | path = libyoga.a; 852 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 853 | sourceTree = BUILT_PRODUCTS_DIR; 854 | }; 855 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 856 | isa = PBXReferenceProxy; 857 | fileType = archive.ar; 858 | path = libyoga.a; 859 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 860 | sourceTree = BUILT_PRODUCTS_DIR; 861 | }; 862 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 863 | isa = PBXReferenceProxy; 864 | fileType = archive.ar; 865 | path = libcxxreact.a; 866 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 867 | sourceTree = BUILT_PRODUCTS_DIR; 868 | }; 869 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 870 | isa = PBXReferenceProxy; 871 | fileType = archive.ar; 872 | path = libcxxreact.a; 873 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 874 | sourceTree = BUILT_PRODUCTS_DIR; 875 | }; 876 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 877 | isa = PBXReferenceProxy; 878 | fileType = archive.ar; 879 | path = libjschelpers.a; 880 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 881 | sourceTree = BUILT_PRODUCTS_DIR; 882 | }; 883 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 884 | isa = PBXReferenceProxy; 885 | fileType = archive.ar; 886 | path = libjschelpers.a; 887 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 888 | sourceTree = BUILT_PRODUCTS_DIR; 889 | }; 890 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 891 | isa = PBXReferenceProxy; 892 | fileType = archive.ar; 893 | path = libRCTAnimation.a; 894 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 895 | sourceTree = BUILT_PRODUCTS_DIR; 896 | }; 897 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 898 | isa = PBXReferenceProxy; 899 | fileType = archive.ar; 900 | path = libRCTAnimation.a; 901 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 902 | sourceTree = BUILT_PRODUCTS_DIR; 903 | }; 904 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 905 | isa = PBXReferenceProxy; 906 | fileType = archive.ar; 907 | path = libRCTLinking.a; 908 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 909 | sourceTree = BUILT_PRODUCTS_DIR; 910 | }; 911 | 7D2F7D4D1FA4907F007719EB /* libRCTBlob-tvOS.a */ = { 912 | isa = PBXReferenceProxy; 913 | fileType = archive.ar; 914 | path = "libRCTBlob-tvOS.a"; 915 | remoteRef = 7D2F7D4C1FA4907F007719EB /* PBXContainerItemProxy */; 916 | sourceTree = BUILT_PRODUCTS_DIR; 917 | }; 918 | 7D2F7D5F1FA4907F007719EB /* libfishhook.a */ = { 919 | isa = PBXReferenceProxy; 920 | fileType = archive.ar; 921 | path = libfishhook.a; 922 | remoteRef = 7D2F7D5E1FA4907F007719EB /* PBXContainerItemProxy */; 923 | sourceTree = BUILT_PRODUCTS_DIR; 924 | }; 925 | 7D2F7D611FA4907F007719EB /* libfishhook-tvOS.a */ = { 926 | isa = PBXReferenceProxy; 927 | fileType = archive.ar; 928 | path = "libfishhook-tvOS.a"; 929 | remoteRef = 7D2F7D601FA4907F007719EB /* PBXContainerItemProxy */; 930 | sourceTree = BUILT_PRODUCTS_DIR; 931 | }; 932 | 7D2F7D671FA4907F007719EB /* libBVLinearGradient.a */ = { 933 | isa = PBXReferenceProxy; 934 | fileType = archive.ar; 935 | path = libBVLinearGradient.a; 936 | remoteRef = 7D2F7D661FA4907F007719EB /* PBXContainerItemProxy */; 937 | sourceTree = BUILT_PRODUCTS_DIR; 938 | }; 939 | 7D2F7D691FA4907F007719EB /* libBVLinearGradient.a */ = { 940 | isa = PBXReferenceProxy; 941 | fileType = archive.ar; 942 | path = libBVLinearGradient.a; 943 | remoteRef = 7D2F7D681FA4907F007719EB /* PBXContainerItemProxy */; 944 | sourceTree = BUILT_PRODUCTS_DIR; 945 | }; 946 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 947 | isa = PBXReferenceProxy; 948 | fileType = archive.ar; 949 | path = libRCTText.a; 950 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 951 | sourceTree = BUILT_PRODUCTS_DIR; 952 | }; 953 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 954 | isa = PBXReferenceProxy; 955 | fileType = archive.ar; 956 | path = libRCTBlob.a; 957 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 958 | sourceTree = BUILT_PRODUCTS_DIR; 959 | }; 960 | /* End PBXReferenceProxy section */ 961 | 962 | /* Begin PBXResourcesBuildPhase section */ 963 | 00E356EC1AD99517003FC87E /* Resources */ = { 964 | isa = PBXResourcesBuildPhase; 965 | buildActionMask = 2147483647; 966 | files = ( 967 | ); 968 | runOnlyForDeploymentPostprocessing = 0; 969 | }; 970 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 971 | isa = PBXResourcesBuildPhase; 972 | buildActionMask = 2147483647; 973 | files = ( 974 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 975 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 976 | ); 977 | runOnlyForDeploymentPostprocessing = 0; 978 | }; 979 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 980 | isa = PBXResourcesBuildPhase; 981 | buildActionMask = 2147483647; 982 | files = ( 983 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 984 | ); 985 | runOnlyForDeploymentPostprocessing = 0; 986 | }; 987 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 988 | isa = PBXResourcesBuildPhase; 989 | buildActionMask = 2147483647; 990 | files = ( 991 | ); 992 | runOnlyForDeploymentPostprocessing = 0; 993 | }; 994 | /* End PBXResourcesBuildPhase section */ 995 | 996 | /* Begin PBXShellScriptBuildPhase section */ 997 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 998 | isa = PBXShellScriptBuildPhase; 999 | buildActionMask = 2147483647; 1000 | files = ( 1001 | ); 1002 | inputPaths = ( 1003 | ); 1004 | name = "Bundle React Native code and images"; 1005 | outputPaths = ( 1006 | ); 1007 | runOnlyForDeploymentPostprocessing = 0; 1008 | shellPath = /bin/sh; 1009 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1010 | }; 1011 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1012 | isa = PBXShellScriptBuildPhase; 1013 | buildActionMask = 2147483647; 1014 | files = ( 1015 | ); 1016 | inputPaths = ( 1017 | ); 1018 | name = "Bundle React Native Code And Images"; 1019 | outputPaths = ( 1020 | ); 1021 | runOnlyForDeploymentPostprocessing = 0; 1022 | shellPath = /bin/sh; 1023 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1024 | }; 1025 | /* End PBXShellScriptBuildPhase section */ 1026 | 1027 | /* Begin PBXSourcesBuildPhase section */ 1028 | 00E356EA1AD99517003FC87E /* Sources */ = { 1029 | isa = PBXSourcesBuildPhase; 1030 | buildActionMask = 2147483647; 1031 | files = ( 1032 | 00E356F31AD99517003FC87E /* exampleTests.m in Sources */, 1033 | ); 1034 | runOnlyForDeploymentPostprocessing = 0; 1035 | }; 1036 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1037 | isa = PBXSourcesBuildPhase; 1038 | buildActionMask = 2147483647; 1039 | files = ( 1040 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1041 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1042 | ); 1043 | runOnlyForDeploymentPostprocessing = 0; 1044 | }; 1045 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1046 | isa = PBXSourcesBuildPhase; 1047 | buildActionMask = 2147483647; 1048 | files = ( 1049 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1050 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1051 | ); 1052 | runOnlyForDeploymentPostprocessing = 0; 1053 | }; 1054 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1055 | isa = PBXSourcesBuildPhase; 1056 | buildActionMask = 2147483647; 1057 | files = ( 1058 | 2DCD954D1E0B4F2C00145EB5 /* exampleTests.m in Sources */, 1059 | ); 1060 | runOnlyForDeploymentPostprocessing = 0; 1061 | }; 1062 | /* End PBXSourcesBuildPhase section */ 1063 | 1064 | /* Begin PBXTargetDependency section */ 1065 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1066 | isa = PBXTargetDependency; 1067 | target = 13B07F861A680F5B00A75B9A /* example */; 1068 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1069 | }; 1070 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1071 | isa = PBXTargetDependency; 1072 | target = 2D02E47A1E0B4A5D006451C7 /* example-tvOS */; 1073 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1074 | }; 1075 | /* End PBXTargetDependency section */ 1076 | 1077 | /* Begin PBXVariantGroup section */ 1078 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1079 | isa = PBXVariantGroup; 1080 | children = ( 1081 | 13B07FB21A68108700A75B9A /* Base */, 1082 | ); 1083 | name = LaunchScreen.xib; 1084 | path = example; 1085 | sourceTree = ""; 1086 | }; 1087 | /* End PBXVariantGroup section */ 1088 | 1089 | /* Begin XCBuildConfiguration section */ 1090 | 00E356F61AD99517003FC87E /* Debug */ = { 1091 | isa = XCBuildConfiguration; 1092 | buildSettings = { 1093 | BUNDLE_LOADER = "$(TEST_HOST)"; 1094 | GCC_PREPROCESSOR_DEFINITIONS = ( 1095 | "DEBUG=1", 1096 | "$(inherited)", 1097 | ); 1098 | HEADER_SEARCH_PATHS = ( 1099 | "$(inherited)", 1100 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1101 | ); 1102 | INFOPLIST_FILE = exampleTests/Info.plist; 1103 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1104 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1105 | LIBRARY_SEARCH_PATHS = ( 1106 | "$(inherited)", 1107 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1108 | ); 1109 | OTHER_LDFLAGS = ( 1110 | "-ObjC", 1111 | "-lc++", 1112 | ); 1113 | PRODUCT_NAME = "$(TARGET_NAME)"; 1114 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example"; 1115 | }; 1116 | name = Debug; 1117 | }; 1118 | 00E356F71AD99517003FC87E /* Release */ = { 1119 | isa = XCBuildConfiguration; 1120 | buildSettings = { 1121 | BUNDLE_LOADER = "$(TEST_HOST)"; 1122 | COPY_PHASE_STRIP = NO; 1123 | HEADER_SEARCH_PATHS = ( 1124 | "$(inherited)", 1125 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1126 | ); 1127 | INFOPLIST_FILE = exampleTests/Info.plist; 1128 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1129 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1130 | LIBRARY_SEARCH_PATHS = ( 1131 | "$(inherited)", 1132 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1133 | ); 1134 | OTHER_LDFLAGS = ( 1135 | "-ObjC", 1136 | "-lc++", 1137 | ); 1138 | PRODUCT_NAME = "$(TARGET_NAME)"; 1139 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example"; 1140 | }; 1141 | name = Release; 1142 | }; 1143 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1144 | isa = XCBuildConfiguration; 1145 | buildSettings = { 1146 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1147 | CURRENT_PROJECT_VERSION = 1; 1148 | DEAD_CODE_STRIPPING = NO; 1149 | HEADER_SEARCH_PATHS = ( 1150 | "$(inherited)", 1151 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1152 | ); 1153 | INFOPLIST_FILE = example/Info.plist; 1154 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1155 | OTHER_LDFLAGS = ( 1156 | "$(inherited)", 1157 | "-ObjC", 1158 | "-lc++", 1159 | ); 1160 | PRODUCT_NAME = example; 1161 | VERSIONING_SYSTEM = "apple-generic"; 1162 | }; 1163 | name = Debug; 1164 | }; 1165 | 13B07F951A680F5B00A75B9A /* Release */ = { 1166 | isa = XCBuildConfiguration; 1167 | buildSettings = { 1168 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1169 | CURRENT_PROJECT_VERSION = 1; 1170 | HEADER_SEARCH_PATHS = ( 1171 | "$(inherited)", 1172 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1173 | ); 1174 | INFOPLIST_FILE = example/Info.plist; 1175 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1176 | OTHER_LDFLAGS = ( 1177 | "$(inherited)", 1178 | "-ObjC", 1179 | "-lc++", 1180 | ); 1181 | PRODUCT_NAME = example; 1182 | VERSIONING_SYSTEM = "apple-generic"; 1183 | }; 1184 | name = Release; 1185 | }; 1186 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1187 | isa = XCBuildConfiguration; 1188 | buildSettings = { 1189 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1190 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1191 | CLANG_ANALYZER_NONNULL = YES; 1192 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1193 | CLANG_WARN_INFINITE_RECURSION = YES; 1194 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1195 | DEBUG_INFORMATION_FORMAT = dwarf; 1196 | ENABLE_TESTABILITY = YES; 1197 | GCC_NO_COMMON_BLOCKS = YES; 1198 | HEADER_SEARCH_PATHS = ( 1199 | "$(inherited)", 1200 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1201 | ); 1202 | INFOPLIST_FILE = "example-tvOS/Info.plist"; 1203 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1204 | LIBRARY_SEARCH_PATHS = ( 1205 | "$(inherited)", 1206 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1207 | ); 1208 | OTHER_LDFLAGS = ( 1209 | "-ObjC", 1210 | "-lc++", 1211 | ); 1212 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOS"; 1213 | PRODUCT_NAME = "$(TARGET_NAME)"; 1214 | SDKROOT = appletvos; 1215 | TARGETED_DEVICE_FAMILY = 3; 1216 | TVOS_DEPLOYMENT_TARGET = 9.2; 1217 | }; 1218 | name = Debug; 1219 | }; 1220 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1221 | isa = XCBuildConfiguration; 1222 | buildSettings = { 1223 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1224 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1225 | CLANG_ANALYZER_NONNULL = YES; 1226 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1227 | CLANG_WARN_INFINITE_RECURSION = YES; 1228 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1229 | COPY_PHASE_STRIP = NO; 1230 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1231 | GCC_NO_COMMON_BLOCKS = YES; 1232 | HEADER_SEARCH_PATHS = ( 1233 | "$(inherited)", 1234 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1235 | ); 1236 | INFOPLIST_FILE = "example-tvOS/Info.plist"; 1237 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1238 | LIBRARY_SEARCH_PATHS = ( 1239 | "$(inherited)", 1240 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1241 | ); 1242 | OTHER_LDFLAGS = ( 1243 | "-ObjC", 1244 | "-lc++", 1245 | ); 1246 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOS"; 1247 | PRODUCT_NAME = "$(TARGET_NAME)"; 1248 | SDKROOT = appletvos; 1249 | TARGETED_DEVICE_FAMILY = 3; 1250 | TVOS_DEPLOYMENT_TARGET = 9.2; 1251 | }; 1252 | name = Release; 1253 | }; 1254 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1255 | isa = XCBuildConfiguration; 1256 | buildSettings = { 1257 | BUNDLE_LOADER = "$(TEST_HOST)"; 1258 | CLANG_ANALYZER_NONNULL = YES; 1259 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1260 | CLANG_WARN_INFINITE_RECURSION = YES; 1261 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1262 | DEBUG_INFORMATION_FORMAT = dwarf; 1263 | ENABLE_TESTABILITY = YES; 1264 | GCC_NO_COMMON_BLOCKS = YES; 1265 | INFOPLIST_FILE = "example-tvOSTests/Info.plist"; 1266 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1267 | LIBRARY_SEARCH_PATHS = ( 1268 | "$(inherited)", 1269 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1270 | ); 1271 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOSTests"; 1272 | PRODUCT_NAME = "$(TARGET_NAME)"; 1273 | SDKROOT = appletvos; 1274 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example-tvOS.app/example-tvOS"; 1275 | TVOS_DEPLOYMENT_TARGET = 10.1; 1276 | }; 1277 | name = Debug; 1278 | }; 1279 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1280 | isa = XCBuildConfiguration; 1281 | buildSettings = { 1282 | BUNDLE_LOADER = "$(TEST_HOST)"; 1283 | CLANG_ANALYZER_NONNULL = YES; 1284 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1285 | CLANG_WARN_INFINITE_RECURSION = YES; 1286 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1287 | COPY_PHASE_STRIP = NO; 1288 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1289 | GCC_NO_COMMON_BLOCKS = YES; 1290 | INFOPLIST_FILE = "example-tvOSTests/Info.plist"; 1291 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1292 | LIBRARY_SEARCH_PATHS = ( 1293 | "$(inherited)", 1294 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1295 | ); 1296 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOSTests"; 1297 | PRODUCT_NAME = "$(TARGET_NAME)"; 1298 | SDKROOT = appletvos; 1299 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example-tvOS.app/example-tvOS"; 1300 | TVOS_DEPLOYMENT_TARGET = 10.1; 1301 | }; 1302 | name = Release; 1303 | }; 1304 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1305 | isa = XCBuildConfiguration; 1306 | buildSettings = { 1307 | ALWAYS_SEARCH_USER_PATHS = NO; 1308 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1309 | CLANG_CXX_LIBRARY = "libc++"; 1310 | CLANG_ENABLE_MODULES = YES; 1311 | CLANG_ENABLE_OBJC_ARC = YES; 1312 | CLANG_WARN_BOOL_CONVERSION = YES; 1313 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1314 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1315 | CLANG_WARN_EMPTY_BODY = YES; 1316 | CLANG_WARN_ENUM_CONVERSION = YES; 1317 | CLANG_WARN_INT_CONVERSION = YES; 1318 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1319 | CLANG_WARN_UNREACHABLE_CODE = YES; 1320 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1321 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1322 | COPY_PHASE_STRIP = NO; 1323 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1324 | GCC_C_LANGUAGE_STANDARD = gnu99; 1325 | GCC_DYNAMIC_NO_PIC = NO; 1326 | GCC_OPTIMIZATION_LEVEL = 0; 1327 | GCC_PREPROCESSOR_DEFINITIONS = ( 1328 | "DEBUG=1", 1329 | "$(inherited)", 1330 | ); 1331 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1332 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1333 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1334 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1335 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1336 | GCC_WARN_UNUSED_FUNCTION = YES; 1337 | GCC_WARN_UNUSED_VARIABLE = YES; 1338 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1339 | MTL_ENABLE_DEBUG_INFO = YES; 1340 | ONLY_ACTIVE_ARCH = YES; 1341 | SDKROOT = iphoneos; 1342 | }; 1343 | name = Debug; 1344 | }; 1345 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1346 | isa = XCBuildConfiguration; 1347 | buildSettings = { 1348 | ALWAYS_SEARCH_USER_PATHS = NO; 1349 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1350 | CLANG_CXX_LIBRARY = "libc++"; 1351 | CLANG_ENABLE_MODULES = YES; 1352 | CLANG_ENABLE_OBJC_ARC = YES; 1353 | CLANG_WARN_BOOL_CONVERSION = YES; 1354 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1355 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1356 | CLANG_WARN_EMPTY_BODY = YES; 1357 | CLANG_WARN_ENUM_CONVERSION = YES; 1358 | CLANG_WARN_INT_CONVERSION = YES; 1359 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1360 | CLANG_WARN_UNREACHABLE_CODE = YES; 1361 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1362 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1363 | COPY_PHASE_STRIP = YES; 1364 | ENABLE_NS_ASSERTIONS = NO; 1365 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1366 | GCC_C_LANGUAGE_STANDARD = gnu99; 1367 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1368 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1369 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1370 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1371 | GCC_WARN_UNUSED_FUNCTION = YES; 1372 | GCC_WARN_UNUSED_VARIABLE = YES; 1373 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1374 | MTL_ENABLE_DEBUG_INFO = NO; 1375 | SDKROOT = iphoneos; 1376 | VALIDATE_PRODUCT = YES; 1377 | }; 1378 | name = Release; 1379 | }; 1380 | /* End XCBuildConfiguration section */ 1381 | 1382 | /* Begin XCConfigurationList section */ 1383 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */ = { 1384 | isa = XCConfigurationList; 1385 | buildConfigurations = ( 1386 | 00E356F61AD99517003FC87E /* Debug */, 1387 | 00E356F71AD99517003FC87E /* Release */, 1388 | ); 1389 | defaultConfigurationIsVisible = 0; 1390 | defaultConfigurationName = Release; 1391 | }; 1392 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */ = { 1393 | isa = XCConfigurationList; 1394 | buildConfigurations = ( 1395 | 13B07F941A680F5B00A75B9A /* Debug */, 1396 | 13B07F951A680F5B00A75B9A /* Release */, 1397 | ); 1398 | defaultConfigurationIsVisible = 0; 1399 | defaultConfigurationName = Release; 1400 | }; 1401 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOS" */ = { 1402 | isa = XCConfigurationList; 1403 | buildConfigurations = ( 1404 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1405 | 2D02E4981E0B4A5E006451C7 /* Release */, 1406 | ); 1407 | defaultConfigurationIsVisible = 0; 1408 | defaultConfigurationName = Release; 1409 | }; 1410 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOSTests" */ = { 1411 | isa = XCConfigurationList; 1412 | buildConfigurations = ( 1413 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1414 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1415 | ); 1416 | defaultConfigurationIsVisible = 0; 1417 | defaultConfigurationName = Release; 1418 | }; 1419 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */ = { 1420 | isa = XCConfigurationList; 1421 | buildConfigurations = ( 1422 | 83CBBA201A601CBA00E9B192 /* Debug */, 1423 | 83CBBA211A601CBA00E9B192 /* Release */, 1424 | ); 1425 | defaultConfigurationIsVisible = 0; 1426 | defaultConfigurationName = Release; 1427 | }; 1428 | /* End XCConfigurationList section */ 1429 | }; 1430 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1431 | } 1432 | -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/project.xcworkspace/xcuserdata/alexandregarrec.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InTeach/react-native-scroll-indicator/458ee422432013045dbc0b32ec7627dac89352b2/example/ios/example.xcodeproj/project.xcworkspace/xcuserdata/alexandregarrec.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/xcshareddata/xcschemes/example-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/xcuserdata/alexandregarrec.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | example-tvOS.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 1 11 | 12 | example.xcscheme_^#shared#^_ 13 | 14 | orderHint 15 | 0 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /example/ios/example/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (nonatomic, strong) UIWindow *window; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /example/ios/example/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | 12 | #import 13 | #import 14 | 15 | @implementation AppDelegate 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | NSURL *jsCodeLocation; 20 | 21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"example" 25 | initialProperties:nil 26 | launchOptions:launchOptions]; 27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 28 | 29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 30 | UIViewController *rootViewController = [UIViewController new]; 31 | rootViewController.view = rootView; 32 | self.window.rootViewController = rootViewController; 33 | [self.window makeKeyAndVisible]; 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /example/ios/example/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /example/ios/example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | Example 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UIViewControllerBasedStatusBarAppearance 40 | 41 | NSLocationWhenInUseUsageDescription 42 | 43 | NSAppTransportSecurity 44 | 45 | 46 | NSExceptionDomains 47 | 48 | localhost 49 | 50 | NSExceptionAllowsInsecureHTTPLoads 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /example/ios/example/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import "AppDelegate.h" 13 | 14 | int main(int argc, char * argv[]) { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /example/ios/exampleTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /example/ios/exampleTests/exampleTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | #import 12 | 13 | #import 14 | #import 15 | 16 | #define TIMEOUT_SECONDS 600 17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 18 | 19 | @interface exampleTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation exampleTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /example/jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "allowJs": true, 4 | "allowSyntheticDefaultImports": true 5 | }, 6 | "exclude": [ 7 | "node_modules" 8 | ] 9 | } -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example", 3 | "version": "0.1.0", 4 | "private": true, 5 | "devDependencies": { 6 | "babel-preset-react-native-stage-0": "^1.0.1", 7 | "jest-expo": "^22.0.0", 8 | "react-test-renderer": "16.0.0-beta.5" 9 | }, 10 | "scripts": { 11 | "start": "react-native start", 12 | "android": "react-native run-android", 13 | "ios": "react-native run-ios", 14 | "test": "node node_modules/jest/bin/jest.js --watch" 15 | }, 16 | "jest": { 17 | "preset": "jest-expo" 18 | }, 19 | "dependencies": { 20 | "@inteach/react-native-scroll-indicator": "^0.0.2", 21 | "react": "16.0.0-beta.5", 22 | "react-native": "^0.49.5" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-native-scroll-indicator", 3 | "version": "0.0.1", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "ansi-escapes": { 8 | "version": "1.4.0", 9 | "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", 10 | "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=", 11 | "dev": true 12 | }, 13 | "ansi-regex": { 14 | "version": "2.1.1", 15 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 16 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", 17 | "dev": true 18 | }, 19 | "ansi-styles": { 20 | "version": "2.2.1", 21 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", 22 | "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", 23 | "dev": true 24 | }, 25 | "asap": { 26 | "version": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", 27 | "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" 28 | }, 29 | "balanced-match": { 30 | "version": "1.0.0", 31 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 32 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", 33 | "dev": true 34 | }, 35 | "brace-expansion": { 36 | "version": "1.1.8", 37 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", 38 | "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", 39 | "dev": true, 40 | "requires": { 41 | "balanced-match": "1.0.0", 42 | "concat-map": "0.0.1" 43 | } 44 | }, 45 | "bser": { 46 | "version": "1.0.2", 47 | "resolved": "https://registry.npmjs.org/bser/-/bser-1.0.2.tgz", 48 | "integrity": "sha1-OBEWlwsqbe6lZG3RXdcnhES1YWk=", 49 | "dev": true, 50 | "requires": { 51 | "node-int64": "0.4.0" 52 | } 53 | }, 54 | "builtin-modules": { 55 | "version": "1.1.1", 56 | "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", 57 | "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", 58 | "dev": true 59 | }, 60 | "camelcase": { 61 | "version": "3.0.0", 62 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", 63 | "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", 64 | "dev": true 65 | }, 66 | "chalk": { 67 | "version": "1.1.3", 68 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", 69 | "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", 70 | "dev": true, 71 | "requires": { 72 | "ansi-styles": "2.2.1", 73 | "escape-string-regexp": "1.0.5", 74 | "has-ansi": "2.0.0", 75 | "strip-ansi": "3.0.1", 76 | "supports-color": "2.0.0" 77 | } 78 | }, 79 | "cli-cursor": { 80 | "version": "1.0.2", 81 | "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", 82 | "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", 83 | "dev": true, 84 | "requires": { 85 | "restore-cursor": "1.0.1" 86 | } 87 | }, 88 | "cli-width": { 89 | "version": "2.2.0", 90 | "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", 91 | "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", 92 | "dev": true 93 | }, 94 | "cliui": { 95 | "version": "3.2.0", 96 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", 97 | "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", 98 | "dev": true, 99 | "requires": { 100 | "string-width": "1.0.2", 101 | "strip-ansi": "3.0.1", 102 | "wrap-ansi": "2.1.0" 103 | } 104 | }, 105 | "code-point-at": { 106 | "version": "1.1.0", 107 | "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", 108 | "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", 109 | "dev": true 110 | }, 111 | "colors": { 112 | "version": "1.1.2", 113 | "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", 114 | "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=", 115 | "dev": true 116 | }, 117 | "concat-map": { 118 | "version": "0.0.1", 119 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 120 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", 121 | "dev": true 122 | }, 123 | "concat-stream": { 124 | "version": "1.6.0", 125 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.0.tgz", 126 | "integrity": "sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc=", 127 | "dev": true, 128 | "requires": { 129 | "inherits": "2.0.3", 130 | "readable-stream": "2.3.3", 131 | "typedarray": "0.0.6" 132 | } 133 | }, 134 | "core-js": { 135 | "version": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", 136 | "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=" 137 | }, 138 | "core-util-is": { 139 | "version": "1.0.2", 140 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", 141 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", 142 | "dev": true 143 | }, 144 | "decamelize": { 145 | "version": "1.2.0", 146 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", 147 | "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", 148 | "dev": true 149 | }, 150 | "encoding": { 151 | "version": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", 152 | "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", 153 | "requires": { 154 | "iconv-lite": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz" 155 | } 156 | }, 157 | "error-ex": { 158 | "version": "1.3.1", 159 | "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", 160 | "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", 161 | "dev": true, 162 | "requires": { 163 | "is-arrayish": "0.2.1" 164 | } 165 | }, 166 | "escape-string-regexp": { 167 | "version": "1.0.5", 168 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 169 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", 170 | "dev": true 171 | }, 172 | "exit-hook": { 173 | "version": "1.1.1", 174 | "resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz", 175 | "integrity": "sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g=", 176 | "dev": true 177 | }, 178 | "extend": { 179 | "version": "3.0.1", 180 | "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", 181 | "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=", 182 | "dev": true 183 | }, 184 | "external-editor": { 185 | "version": "1.1.1", 186 | "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-1.1.1.tgz", 187 | "integrity": "sha1-Etew24UPf/fnCBuvQAVwAGDEYAs=", 188 | "dev": true, 189 | "requires": { 190 | "extend": "3.0.1", 191 | "spawn-sync": "1.0.15", 192 | "tmp": "0.0.29" 193 | } 194 | }, 195 | "fb-watchman": { 196 | "version": "1.9.2", 197 | "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-1.9.2.tgz", 198 | "integrity": "sha1-okz0eCf4LTj7Waaa1wt247auc4M=", 199 | "dev": true, 200 | "requires": { 201 | "bser": "1.0.2" 202 | } 203 | }, 204 | "fbjs": { 205 | "version": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.16.tgz", 206 | "integrity": "sha1-XmdDL1UNxBtXK/VYR7ispk5TN9s=", 207 | "requires": { 208 | "core-js": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", 209 | "isomorphic-fetch": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", 210 | "loose-envify": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", 211 | "object-assign": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 212 | "promise": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", 213 | "setimmediate": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", 214 | "ua-parser-js": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.17.tgz" 215 | } 216 | }, 217 | "figures": { 218 | "version": "1.7.0", 219 | "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", 220 | "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", 221 | "dev": true, 222 | "requires": { 223 | "escape-string-regexp": "1.0.5", 224 | "object-assign": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" 225 | } 226 | }, 227 | "find-up": { 228 | "version": "1.1.2", 229 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", 230 | "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", 231 | "dev": true, 232 | "requires": { 233 | "path-exists": "2.1.0", 234 | "pinkie-promise": "2.0.1" 235 | } 236 | }, 237 | "fs-extra": { 238 | "version": "0.30.0", 239 | "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz", 240 | "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=", 241 | "dev": true, 242 | "requires": { 243 | "graceful-fs": "4.1.11", 244 | "jsonfile": "2.4.0", 245 | "klaw": "1.3.1", 246 | "path-is-absolute": "1.0.1", 247 | "rimraf": "2.6.2" 248 | } 249 | }, 250 | "fs.realpath": { 251 | "version": "1.0.0", 252 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 253 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", 254 | "dev": true 255 | }, 256 | "get-caller-file": { 257 | "version": "1.0.2", 258 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz", 259 | "integrity": "sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U=", 260 | "dev": true 261 | }, 262 | "glob": { 263 | "version": "7.1.2", 264 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", 265 | "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", 266 | "dev": true, 267 | "requires": { 268 | "fs.realpath": "1.0.0", 269 | "inflight": "1.0.6", 270 | "inherits": "2.0.3", 271 | "minimatch": "3.0.4", 272 | "once": "1.4.0", 273 | "path-is-absolute": "1.0.1" 274 | } 275 | }, 276 | "graceful-fs": { 277 | "version": "4.1.11", 278 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", 279 | "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", 280 | "dev": true 281 | }, 282 | "has-ansi": { 283 | "version": "2.0.0", 284 | "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", 285 | "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", 286 | "dev": true, 287 | "requires": { 288 | "ansi-regex": "2.1.1" 289 | } 290 | }, 291 | "hosted-git-info": { 292 | "version": "2.5.0", 293 | "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.5.0.tgz", 294 | "integrity": "sha512-pNgbURSuab90KbTqvRPsseaTxOJCZBD0a7t+haSN33piP9cCM4l0CqdzAif2hUqm716UovKB2ROmiabGAKVXyg==", 295 | "dev": true 296 | }, 297 | "iconv-lite": { 298 | "version": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", 299 | "integrity": "sha1-90aPYBNfXl2tM5nAqBvpoWA6CCs=" 300 | }, 301 | "inflight": { 302 | "version": "1.0.6", 303 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 304 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 305 | "dev": true, 306 | "requires": { 307 | "once": "1.4.0", 308 | "wrappy": "1.0.2" 309 | } 310 | }, 311 | "inherits": { 312 | "version": "2.0.3", 313 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", 314 | "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", 315 | "dev": true 316 | }, 317 | "inquirer": { 318 | "version": "1.2.3", 319 | "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-1.2.3.tgz", 320 | "integrity": "sha1-TexvMvN+97sLLtPx0aXD9UUHSRg=", 321 | "dev": true, 322 | "requires": { 323 | "ansi-escapes": "1.4.0", 324 | "chalk": "1.1.3", 325 | "cli-cursor": "1.0.2", 326 | "cli-width": "2.2.0", 327 | "external-editor": "1.1.1", 328 | "figures": "1.7.0", 329 | "lodash": "4.17.4", 330 | "mute-stream": "0.0.6", 331 | "pinkie-promise": "2.0.1", 332 | "run-async": "2.3.0", 333 | "rx": "4.1.0", 334 | "string-width": "1.0.2", 335 | "strip-ansi": "3.0.1", 336 | "through": "2.3.8" 337 | } 338 | }, 339 | "invert-kv": { 340 | "version": "1.0.0", 341 | "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", 342 | "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", 343 | "dev": true 344 | }, 345 | "is-arrayish": { 346 | "version": "0.2.1", 347 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", 348 | "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", 349 | "dev": true 350 | }, 351 | "is-builtin-module": { 352 | "version": "1.0.0", 353 | "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", 354 | "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", 355 | "dev": true, 356 | "requires": { 357 | "builtin-modules": "1.1.1" 358 | } 359 | }, 360 | "is-fullwidth-code-point": { 361 | "version": "1.0.0", 362 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", 363 | "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", 364 | "dev": true, 365 | "requires": { 366 | "number-is-nan": "1.0.1" 367 | } 368 | }, 369 | "is-promise": { 370 | "version": "2.1.0", 371 | "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", 372 | "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", 373 | "dev": true 374 | }, 375 | "is-stream": { 376 | "version": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", 377 | "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" 378 | }, 379 | "is-there": { 380 | "version": "4.4.3", 381 | "resolved": "https://registry.npmjs.org/is-there/-/is-there-4.4.3.tgz", 382 | "integrity": "sha1-osSTZsakh/cZ28rYDL3iEkjSwY0=", 383 | "dev": true 384 | }, 385 | "is-utf8": { 386 | "version": "0.2.1", 387 | "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", 388 | "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", 389 | "dev": true 390 | }, 391 | "isarray": { 392 | "version": "1.0.0", 393 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 394 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", 395 | "dev": true 396 | }, 397 | "isomorphic-fetch": { 398 | "version": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", 399 | "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", 400 | "requires": { 401 | "node-fetch": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", 402 | "whatwg-fetch": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz" 403 | } 404 | }, 405 | "js-tokens": { 406 | "version": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", 407 | "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" 408 | }, 409 | "jsonfile": { 410 | "version": "2.4.0", 411 | "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", 412 | "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", 413 | "dev": true, 414 | "requires": { 415 | "graceful-fs": "4.1.11" 416 | } 417 | }, 418 | "klaw": { 419 | "version": "1.3.1", 420 | "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", 421 | "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", 422 | "dev": true, 423 | "requires": { 424 | "graceful-fs": "4.1.11" 425 | } 426 | }, 427 | "lcid": { 428 | "version": "1.0.0", 429 | "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", 430 | "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", 431 | "dev": true, 432 | "requires": { 433 | "invert-kv": "1.0.0" 434 | } 435 | }, 436 | "load-json-file": { 437 | "version": "1.1.0", 438 | "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", 439 | "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", 440 | "dev": true, 441 | "requires": { 442 | "graceful-fs": "4.1.11", 443 | "parse-json": "2.2.0", 444 | "pify": "2.3.0", 445 | "pinkie-promise": "2.0.1", 446 | "strip-bom": "2.0.0" 447 | } 448 | }, 449 | "lodash": { 450 | "version": "4.17.4", 451 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", 452 | "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=", 453 | "dev": true 454 | }, 455 | "lodash.assign": { 456 | "version": "4.2.0", 457 | "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", 458 | "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=", 459 | "dev": true 460 | }, 461 | "loose-envify": { 462 | "version": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", 463 | "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", 464 | "requires": { 465 | "js-tokens": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz" 466 | } 467 | }, 468 | "minimatch": { 469 | "version": "3.0.4", 470 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", 471 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", 472 | "dev": true, 473 | "requires": { 474 | "brace-expansion": "1.1.8" 475 | } 476 | }, 477 | "mute-stream": { 478 | "version": "0.0.6", 479 | "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.6.tgz", 480 | "integrity": "sha1-SJYrGeFp/R38JAs/HnMXYnu8R9s=", 481 | "dev": true 482 | }, 483 | "node-fetch": { 484 | "version": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", 485 | "integrity": "sha1-mA9vcthSEaU0fGsrwYxbhMPrR+8=", 486 | "requires": { 487 | "encoding": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", 488 | "is-stream": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz" 489 | } 490 | }, 491 | "node-int64": { 492 | "version": "0.4.0", 493 | "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", 494 | "integrity": "sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=", 495 | "dev": true 496 | }, 497 | "normalize-package-data": { 498 | "version": "2.4.0", 499 | "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", 500 | "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", 501 | "dev": true, 502 | "requires": { 503 | "hosted-git-info": "2.5.0", 504 | "is-builtin-module": "1.0.0", 505 | "semver": "5.4.1", 506 | "validate-npm-package-license": "3.0.1" 507 | } 508 | }, 509 | "number-is-nan": { 510 | "version": "1.0.1", 511 | "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", 512 | "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", 513 | "dev": true 514 | }, 515 | "object-assign": { 516 | "version": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 517 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" 518 | }, 519 | "once": { 520 | "version": "1.4.0", 521 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 522 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 523 | "dev": true, 524 | "requires": { 525 | "wrappy": "1.0.2" 526 | } 527 | }, 528 | "onetime": { 529 | "version": "1.1.0", 530 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", 531 | "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", 532 | "dev": true 533 | }, 534 | "os-locale": { 535 | "version": "1.4.0", 536 | "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", 537 | "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", 538 | "dev": true, 539 | "requires": { 540 | "lcid": "1.0.0" 541 | } 542 | }, 543 | "os-shim": { 544 | "version": "0.1.3", 545 | "resolved": "https://registry.npmjs.org/os-shim/-/os-shim-0.1.3.tgz", 546 | "integrity": "sha1-a2LDeRz3kJ6jXtRuF2WLtBfLORc=", 547 | "dev": true 548 | }, 549 | "os-tmpdir": { 550 | "version": "1.0.2", 551 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", 552 | "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", 553 | "dev": true 554 | }, 555 | "parse-json": { 556 | "version": "2.2.0", 557 | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", 558 | "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", 559 | "dev": true, 560 | "requires": { 561 | "error-ex": "1.3.1" 562 | } 563 | }, 564 | "path-exists": { 565 | "version": "2.1.0", 566 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", 567 | "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", 568 | "dev": true, 569 | "requires": { 570 | "pinkie-promise": "2.0.1" 571 | } 572 | }, 573 | "path-is-absolute": { 574 | "version": "1.0.1", 575 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 576 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", 577 | "dev": true 578 | }, 579 | "path-type": { 580 | "version": "1.1.0", 581 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", 582 | "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", 583 | "dev": true, 584 | "requires": { 585 | "graceful-fs": "4.1.11", 586 | "pify": "2.3.0", 587 | "pinkie-promise": "2.0.1" 588 | } 589 | }, 590 | "pify": { 591 | "version": "2.3.0", 592 | "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", 593 | "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", 594 | "dev": true 595 | }, 596 | "pinkie": { 597 | "version": "2.0.4", 598 | "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", 599 | "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", 600 | "dev": true 601 | }, 602 | "pinkie-promise": { 603 | "version": "2.0.1", 604 | "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", 605 | "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", 606 | "dev": true, 607 | "requires": { 608 | "pinkie": "2.0.4" 609 | } 610 | }, 611 | "process-nextick-args": { 612 | "version": "1.0.7", 613 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", 614 | "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=", 615 | "dev": true 616 | }, 617 | "promise": { 618 | "version": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", 619 | "integrity": "sha1-BktyYCsY+Q8pGSuLG8QY/9Hr078=", 620 | "requires": { 621 | "asap": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz" 622 | } 623 | }, 624 | "prop-types": { 625 | "version": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.0.tgz", 626 | "integrity": "sha1-zq8IMCL8RrSjX2nhPvda7Q1jmFY=", 627 | "requires": { 628 | "fbjs": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.16.tgz", 629 | "loose-envify": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", 630 | "object-assign": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" 631 | } 632 | }, 633 | "q": { 634 | "version": "1.5.1", 635 | "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", 636 | "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=", 637 | "dev": true 638 | }, 639 | "react-native-linear-gradient": { 640 | "version": "https://registry.npmjs.org/react-native-linear-gradient/-/react-native-linear-gradient-2.3.0.tgz", 641 | "integrity": "sha1-dXmXGX417fUuKQiRoRVm5GKEXaE=", 642 | "requires": { 643 | "prop-types": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.0.tgz" 644 | } 645 | }, 646 | "read-pkg": { 647 | "version": "1.1.0", 648 | "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", 649 | "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", 650 | "dev": true, 651 | "requires": { 652 | "load-json-file": "1.1.0", 653 | "normalize-package-data": "2.4.0", 654 | "path-type": "1.1.0" 655 | } 656 | }, 657 | "read-pkg-up": { 658 | "version": "1.0.1", 659 | "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", 660 | "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", 661 | "dev": true, 662 | "requires": { 663 | "find-up": "1.1.2", 664 | "read-pkg": "1.1.0" 665 | } 666 | }, 667 | "readable-stream": { 668 | "version": "2.3.3", 669 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz", 670 | "integrity": "sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==", 671 | "dev": true, 672 | "requires": { 673 | "core-util-is": "1.0.2", 674 | "inherits": "2.0.3", 675 | "isarray": "1.0.0", 676 | "process-nextick-args": "1.0.7", 677 | "safe-buffer": "5.1.1", 678 | "string_decoder": "1.0.3", 679 | "util-deprecate": "1.0.2" 680 | } 681 | }, 682 | "require-directory": { 683 | "version": "2.1.1", 684 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 685 | "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", 686 | "dev": true 687 | }, 688 | "require-main-filename": { 689 | "version": "1.0.1", 690 | "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", 691 | "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", 692 | "dev": true 693 | }, 694 | "restore-cursor": { 695 | "version": "1.0.1", 696 | "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", 697 | "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", 698 | "dev": true, 699 | "requires": { 700 | "exit-hook": "1.1.1", 701 | "onetime": "1.1.0" 702 | } 703 | }, 704 | "rimraf": { 705 | "version": "2.6.2", 706 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", 707 | "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", 708 | "dev": true, 709 | "requires": { 710 | "glob": "7.1.2" 711 | } 712 | }, 713 | "run-async": { 714 | "version": "2.3.0", 715 | "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", 716 | "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", 717 | "dev": true, 718 | "requires": { 719 | "is-promise": "2.1.0" 720 | } 721 | }, 722 | "rx": { 723 | "version": "4.1.0", 724 | "resolved": "https://registry.npmjs.org/rx/-/rx-4.1.0.tgz", 725 | "integrity": "sha1-pfE/957zt0D+MKqAP7CfmIBdR4I=", 726 | "dev": true 727 | }, 728 | "safe-buffer": { 729 | "version": "5.1.1", 730 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", 731 | "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", 732 | "dev": true 733 | }, 734 | "semver": { 735 | "version": "5.4.1", 736 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.4.1.tgz", 737 | "integrity": "sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg==", 738 | "dev": true 739 | }, 740 | "set-blocking": { 741 | "version": "2.0.0", 742 | "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", 743 | "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", 744 | "dev": true 745 | }, 746 | "setimmediate": { 747 | "version": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", 748 | "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" 749 | }, 750 | "spawn-sync": { 751 | "version": "1.0.15", 752 | "resolved": "https://registry.npmjs.org/spawn-sync/-/spawn-sync-1.0.15.tgz", 753 | "integrity": "sha1-sAeZVX63+wyDdsKdROih6mfldHY=", 754 | "dev": true, 755 | "requires": { 756 | "concat-stream": "1.6.0", 757 | "os-shim": "0.1.3" 758 | } 759 | }, 760 | "spdx-correct": { 761 | "version": "1.0.2", 762 | "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-1.0.2.tgz", 763 | "integrity": "sha1-SzBz2TP/UfORLwOsVRlJikFQ20A=", 764 | "dev": true, 765 | "requires": { 766 | "spdx-license-ids": "1.2.2" 767 | } 768 | }, 769 | "spdx-expression-parse": { 770 | "version": "1.0.4", 771 | "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz", 772 | "integrity": "sha1-m98vIOH0DtRH++JzJmGR/O1RYmw=", 773 | "dev": true 774 | }, 775 | "spdx-license-ids": { 776 | "version": "1.2.2", 777 | "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz", 778 | "integrity": "sha1-yd96NCRZSt5r0RkA1ZZpbcBrrFc=", 779 | "dev": true 780 | }, 781 | "string_decoder": { 782 | "version": "1.0.3", 783 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", 784 | "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", 785 | "dev": true, 786 | "requires": { 787 | "safe-buffer": "5.1.1" 788 | } 789 | }, 790 | "string-width": { 791 | "version": "1.0.2", 792 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", 793 | "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", 794 | "dev": true, 795 | "requires": { 796 | "code-point-at": "1.1.0", 797 | "is-fullwidth-code-point": "1.0.0", 798 | "strip-ansi": "3.0.1" 799 | } 800 | }, 801 | "strip-ansi": { 802 | "version": "3.0.1", 803 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", 804 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", 805 | "dev": true, 806 | "requires": { 807 | "ansi-regex": "2.1.1" 808 | } 809 | }, 810 | "strip-bom": { 811 | "version": "2.0.0", 812 | "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", 813 | "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", 814 | "dev": true, 815 | "requires": { 816 | "is-utf8": "0.2.1" 817 | } 818 | }, 819 | "supports-color": { 820 | "version": "2.0.0", 821 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", 822 | "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", 823 | "dev": true 824 | }, 825 | "through": { 826 | "version": "2.3.8", 827 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 828 | "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", 829 | "dev": true 830 | }, 831 | "tmp": { 832 | "version": "0.0.29", 833 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.29.tgz", 834 | "integrity": "sha1-8lEl/w3Z2jzLDC3Tce4SiLuRKMA=", 835 | "dev": true, 836 | "requires": { 837 | "os-tmpdir": "1.0.2" 838 | } 839 | }, 840 | "typedarray": { 841 | "version": "0.0.6", 842 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", 843 | "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", 844 | "dev": true 845 | }, 846 | "ua-parser-js": { 847 | "version": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.17.tgz", 848 | "integrity": "sha1-6exflJi57JEOeuOsYmqAXE0J7Kw=" 849 | }, 850 | "untildify": { 851 | "version": "3.0.2", 852 | "resolved": "https://registry.npmjs.org/untildify/-/untildify-3.0.2.tgz", 853 | "integrity": "sha1-fx8wIFWz/qDz6B3HjrNnZstl4/E=", 854 | "dev": true 855 | }, 856 | "util-deprecate": { 857 | "version": "1.0.2", 858 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 859 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", 860 | "dev": true 861 | }, 862 | "uuid-js": { 863 | "version": "0.7.5", 864 | "resolved": "https://registry.npmjs.org/uuid-js/-/uuid-js-0.7.5.tgz", 865 | "integrity": "sha1-bIhtAqU9LUDc8l2RoXC0p7JblNA=", 866 | "dev": true 867 | }, 868 | "validate-npm-package-license": { 869 | "version": "3.0.1", 870 | "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz", 871 | "integrity": "sha1-KAS6vnEq0zeUWaz74kdGqywwP7w=", 872 | "dev": true, 873 | "requires": { 874 | "spdx-correct": "1.0.2", 875 | "spdx-expression-parse": "1.0.4" 876 | } 877 | }, 878 | "whatwg-fetch": { 879 | "version": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz", 880 | "integrity": "sha1-nITsLc9oGH/wC8ZOEnS0QhduHIQ=" 881 | }, 882 | "which-module": { 883 | "version": "1.0.0", 884 | "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", 885 | "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=", 886 | "dev": true 887 | }, 888 | "window-size": { 889 | "version": "0.2.0", 890 | "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.2.0.tgz", 891 | "integrity": "sha1-tDFbtCFKPXBY6+7okuE/ok2YsHU=", 892 | "dev": true 893 | }, 894 | "wml": { 895 | "version": "0.0.83", 896 | "resolved": "https://registry.npmjs.org/wml/-/wml-0.0.83.tgz", 897 | "integrity": "sha512-t/atXKIcMLIvMIReoPGELN+JkpjF6B661dWuJjKYNydX3N7M0vUYiy8UP3oxIUyO+b0tOwuRKKW/VsPka0Hfjw==", 898 | "dev": true, 899 | "requires": { 900 | "colors": "1.1.2", 901 | "extend": "3.0.1", 902 | "fb-watchman": "1.9.2", 903 | "fs-extra": "0.30.0", 904 | "inquirer": "1.2.3", 905 | "is-there": "4.4.3", 906 | "q": "1.5.1", 907 | "untildify": "3.0.2", 908 | "uuid-js": "0.7.5", 909 | "yargs": "4.8.1" 910 | } 911 | }, 912 | "wrap-ansi": { 913 | "version": "2.1.0", 914 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", 915 | "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", 916 | "dev": true, 917 | "requires": { 918 | "string-width": "1.0.2", 919 | "strip-ansi": "3.0.1" 920 | } 921 | }, 922 | "wrappy": { 923 | "version": "1.0.2", 924 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 925 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", 926 | "dev": true 927 | }, 928 | "y18n": { 929 | "version": "3.2.1", 930 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", 931 | "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", 932 | "dev": true 933 | }, 934 | "yargs": { 935 | "version": "4.8.1", 936 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-4.8.1.tgz", 937 | "integrity": "sha1-wMQpJMpKqmsObaFznfshZDn53cA=", 938 | "dev": true, 939 | "requires": { 940 | "cliui": "3.2.0", 941 | "decamelize": "1.2.0", 942 | "get-caller-file": "1.0.2", 943 | "lodash.assign": "4.2.0", 944 | "os-locale": "1.4.0", 945 | "read-pkg-up": "1.0.1", 946 | "require-directory": "2.1.1", 947 | "require-main-filename": "1.0.1", 948 | "set-blocking": "2.0.0", 949 | "string-width": "1.0.2", 950 | "which-module": "1.0.0", 951 | "window-size": "0.2.0", 952 | "y18n": "3.2.1", 953 | "yargs-parser": "2.4.1" 954 | } 955 | }, 956 | "yargs-parser": { 957 | "version": "2.4.1", 958 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-2.4.1.tgz", 959 | "integrity": "sha1-hVaN488VD/SfpRgl8DqMiA3cxcQ=", 960 | "dev": true, 961 | "requires": { 962 | "camelcase": "3.0.0", 963 | "lodash.assign": "4.2.0" 964 | } 965 | } 966 | } 967 | } 968 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@inteach/react-native-scroll-indicator", 3 | "version": "0.0.4", 4 | "description": "react native scroll indicator", 5 | "main": "./src/index.js", 6 | "private": false, 7 | "scripts": { 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "repository": { 11 | "type": "git", 12 | "url": "git+https://github.com/InTeach/react-native-scroll-indicator.git" 13 | }, 14 | "keywords": [ 15 | "react", 16 | "react native", 17 | "scroll indicator", 18 | "scroll", 19 | "indicator", 20 | "scroll view" 21 | ], 22 | "author": "", 23 | "license": "ISC", 24 | "bugs": { 25 | "url": "https://github.com/InTeach/react-native-scroll-indicator/issues" 26 | }, 27 | "homepage": "https://github.com/InTeach/react-native-scroll-indicator#readme", 28 | "peerDependencies": { 29 | "react": "^16.0.0", 30 | "react-native": "^0.49.3" 31 | }, 32 | "dependencies": { 33 | "react-native-linear-gradient": "^2.3.0" 34 | }, 35 | "devDependencies": {} 36 | } 37 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from "react"; 2 | import { StyleSheet, View, Image, Animated } from "react-native"; 3 | 4 | import LinearGradient from "react-native-linear-gradient"; 5 | 6 | class ScrollIndicator extends Component { 7 | static defaultProps = { 8 | minScrollHeight: 0, 9 | style: {}, 10 | scrollEnabled: true, 11 | showIndicator: true, 12 | picto: false, 13 | renderPicto: false, 14 | linearGradientColors: ["transparent", "#212121"], 15 | styleGradientBackground: {} 16 | }; 17 | 18 | constructor(props) { 19 | super(props); 20 | this.state = { 21 | scrollViewHeight: 0, 22 | contentHeight: 0, 23 | bottom: new Animated.Value(100) 24 | }; 25 | } 26 | 27 | displayIndicator(includeMinScroll = true) { 28 | const { scrollViewHeight, contentHeight } = this.state; 29 | const { minScrollHeight } = this.props; 30 | 31 | return ( 32 | scrollViewHeight && 33 | contentHeight && 34 | contentHeight > 35 | Math.ceil(scrollViewHeight) + (includeMinScroll ? minScrollHeight : 0) 36 | ); 37 | } 38 | 39 | render() { 40 | const { scrollViewHeight, contentHeight, bottom } = this.state; 41 | const { 42 | children, 43 | scrollEnabled, 44 | showIndicator, 45 | style, 46 | picto, 47 | renderPicto, 48 | linearGradientColors, 49 | styleGradientBackground 50 | } = this.props; 51 | const maxValue = Math.max(contentHeight - scrollViewHeight, 0); 52 | const slideViewBottom = bottom.interpolate({ 53 | inputRange: [0, maxValue], 54 | outputRange: [0, 100], 55 | extrapolate: "clamp" 56 | }); 57 | 58 | const slideViewTop = bottom.interpolate({ 59 | inputRange: [0, maxValue], 60 | outputRange: [60, 100], 61 | extrapolate: "clamp" 62 | }); 63 | 64 | return ( 65 | 66 | {showIndicator && this.displayIndicator(false) ? ( 67 | 75 | 79 | 80 | ) : null} 81 | { 89 | this.setState({ 90 | scrollViewHeight: e.nativeEvent.layout.height 91 | }); 92 | }} 93 | scrollEventThrottle={16} 94 | > 95 | { 104 | this.setState({ 105 | contentHeight: e.nativeEvent.layout.height 106 | }); 107 | }} 108 | > 109 | {children} 110 | 111 | 112 | {showIndicator && this.displayIndicator() ? ( 113 | { 115 | Animated.timing(this.state.bottom, { 116 | toValue: 0, 117 | duration: 500, 118 | useNativeDriver: true 119 | }).start(); 120 | }} 121 | style={[ 122 | styles.swipeWrapperBottom, 123 | { 124 | transform: [{ translateY: slideViewBottom }] 125 | } 126 | ]} 127 | > 128 | 132 | 133 | {renderPicto && renderPicto()} 134 | {!renderPicto && picto ? : } 135 | 136 | 137 | 138 | ) : null} 139 | 140 | ); 141 | } 142 | } 143 | 144 | export default ScrollIndicator; 145 | 146 | const styles = StyleSheet.create({ 147 | swipeWrapperTop: { 148 | backgroundColor: "transparent", 149 | position: "absolute", 150 | left: 0, 151 | right: 0, 152 | top: -160, 153 | zIndex: 999 154 | }, 155 | swipeWrapperBottom: { 156 | backgroundColor: "transparent", 157 | position: "absolute", 158 | left: 0, 159 | right: 0, 160 | bottom: 0, 161 | zIndex: 999 162 | }, 163 | gradientBackground: { 164 | justifyContent: "center", 165 | alignItems: "center", 166 | height: 100, 167 | backgroundColor: "transparent" 168 | } 169 | }); 170 | --------------------------------------------------------------------------------