├── .circleci └── config.yml ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── examples ├── .babelrc ├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .npmignore ├── .watchmanconfig ├── App.js ├── android │ ├── app │ │ ├── BUCK │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── examples │ │ │ │ ├── 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 ├── images │ └── shoes.png ├── index.js ├── ios │ ├── examples-tvOS │ │ └── Info.plist │ ├── examples-tvOSTests │ │ └── Info.plist │ ├── examples.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ ├── examples-tvOS.xcscheme │ │ │ └── examples.xcscheme │ ├── examples │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Base.lproj │ │ │ └── LaunchScreen.xib │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Info.plist │ │ └── main.m │ └── examplesTests │ │ ├── Info.plist │ │ └── examplesTests.m ├── package.json ├── pr.js └── yarn.lock ├── index.js ├── package.json └── screenshots └── 01.png /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | # Javascript Node CircleCI 2.0 configuration file 2 | # 3 | # Check https://circleci.com/docs/2.0/language-javascript/ for more details 4 | # 5 | version: 2 6 | jobs: 7 | build: 8 | docker: 9 | # specify the version you desire here 10 | - image: circleci/node:7.10 11 | 12 | # Specify service dependencies here if necessary 13 | # CircleCI maintains a library of pre-built images 14 | # documented at https://circleci.com/docs/2.0/circleci-images/ 15 | # - image: circleci/mongo:3.4.4 16 | 17 | working_directory: ~/repo 18 | 19 | steps: 20 | - checkout 21 | 22 | # Download and cache dependencies 23 | - restore_cache: 24 | keys: 25 | - v1-dependencies-{{ checksum "package.json" }} 26 | # fallback to using the latest cache if no exact match is found 27 | - v1-dependencies- 28 | 29 | - run: yarn install 30 | 31 | - save_cache: 32 | paths: 33 | - node_modules 34 | key: v1-dependencies-{{ checksum "package.json" }} 35 | 36 | # run tests! 37 | - run: yarn test 38 | 39 | 40 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IJ 26 | # 27 | *.iml 28 | .idea 29 | .gradle 30 | local.properties 31 | 32 | # node.js 33 | # 34 | node_modules/ 35 | npm-debug.log 36 | 37 | # BUCK 38 | buck-out/ 39 | \.buckd/ 40 | android/app/libs 41 | android/keystores/debug.keystore 42 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | rnpc_demo 2 | screenshots 3 | examples 4 | .circleci 5 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) [2016] [jack] 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # react-native-percentage-circle 2 | [![Twitter URL](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)]() 3 | [![npm](https://img.shields.io/npm/v/react-native-percentage-circle.svg?maxAge=2592000)]() 4 | 5 | 6 | 7 | 8 | 9 | React Native Version >= 0.25 10 | 11 | React-Native-Percentage-Cirlce is a component which supports you define your percent and draw the circle.And also you can use it as a progress bar.And you can show some data in a circle you want. 12 | 13 | [react.js version](https://github.com/JackPu/reactjs-percentage-circle) 14 | 15 | 16 | 17 | *This is a screenshot of the Demo* 18 | 19 | ### Start 20 | 21 | ``` bash 22 | npm i react-native-percentage-circle --save 23 | 24 | ``` 25 | 26 | ``` js 27 | 28 | import PercentageCircle from 'react-native-percentage-circle'; 29 | 30 | //... 31 | 32 | render() { 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | } 42 | 43 | ``` 44 | 45 | ### Options 46 | 47 | | Props | Type | Example | Description | 48 | | ------------- |:-------------:| -----:|----------:| 49 | | color | string | '#000' | the color of border | 50 | | bgcolor | string | '#e3e3e3' | the background color of the circle | 51 | | innerColor | string | '#fff' | the color of the inside of the circle | 52 | | percent | Number | 30 | the percent you need | 53 | | radius | Number | 20 | how large the circle is | 54 | | borderWidth | Number(default 2) | 5 | the width of percentage progress bar | 55 | | textStyle | Array | {fontSize: 24, color: 'red'} | define the style of the text which in the circle | 56 | | children | jsx | `123` | define the children component in the circle | 57 | 58 | ### Contributions 59 | 60 | Your contributions and suggestions are welcome 😄😄😄 61 | 62 | ### MIT License 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /examples/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } 4 | -------------------------------------------------------------------------------- /examples/.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /examples/.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | ; Ignore metro 20 | .*/node_modules/metro/.* 21 | 22 | [include] 23 | 24 | [libs] 25 | node_modules/react-native/Libraries/react-native/react-native-interface.js 26 | node_modules/react-native/flow/ 27 | node_modules/react-native/flow-github/ 28 | 29 | [options] 30 | emoji=true 31 | 32 | module.system=haste 33 | 34 | munge_underscores=true 35 | 36 | 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' 37 | 38 | module.file_ext=.js 39 | module.file_ext=.jsx 40 | module.file_ext=.json 41 | module.file_ext=.native.js 42 | 43 | suppress_type=$FlowIssue 44 | suppress_type=$FlowFixMe 45 | suppress_type=$FlowFixMeProps 46 | suppress_type=$FlowFixMeState 47 | 48 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 49 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 50 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 51 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 52 | 53 | [version] 54 | ^0.67.0 55 | -------------------------------------------------------------------------------- /examples/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /examples/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | 55 | # Bundle artifact 56 | *.jsbundle 57 | -------------------------------------------------------------------------------- /examples/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JackPu/react-native-percentage-circle/e3985b723f5dae3ace207c8bfc70f9e08214bc71/examples/.npmignore -------------------------------------------------------------------------------- /examples/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /examples/App.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | * @flow 5 | */ 6 | 7 | import React, { Component } from 'react'; 8 | import PercentageCircle from 'react-native-percentage-circle'; 9 | import TimerMixin from 'react-timer-mixin'; 10 | import { 11 | Platform, 12 | StyleSheet, 13 | Text, 14 | View, 15 | Image 16 | } from 'react-native'; 17 | 18 | 19 | type Props = {}; 20 | export default class App extends Component { 21 | constructor(props) { 22 | super(props); 23 | this.state = { 24 | percent: 10, 25 | }; 26 | 27 | } 28 | 29 | componentDidMount() { 30 | let self = this; 31 | this.intval = setInterval( 32 | () => { 33 | let s = this.state.percent % 100; 34 | s += 1; 35 | self.setState({ 36 | percent: s, 37 | }) 38 | }, 39 | 1000/60 40 | ); 41 | } 42 | 43 | render() { 44 | return ( 45 | 46 | 47 | Use React Native Percentage Circle 48 | 49 | 50 | 51 | 52 | 50% 53 | 54 | 55 | 56 | 30 57 | 人已签到 58 | 59 | 30% 60 | 61 | 62 | 63 | 75% 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 步数 72 | 73 | 74 | 20000 75 | 76 | 77 | 90% 78 | 79 | 80 | 81 | 82 | 83 | {this.state.percent} % 84 | 85 | 86 | 87 | 88 | ); 89 | } 90 | } 91 | 92 | const styles = StyleSheet.create({ 93 | container: { 94 | flex: 1, 95 | justifyContent: 'flex-start', 96 | alignItems: 'center', 97 | paddingTop:66, 98 | backgroundColor: '#fff', 99 | }, 100 | welcome: { 101 | fontSize: 16, 102 | textAlign: 'center', 103 | margin: 20, 104 | }, 105 | row:{ 106 | //height:0, 107 | flexDirection:'row', 108 | alignItems:'center', 109 | flexWrap:'wrap', 110 | marginBottom:40, 111 | }, 112 | item:{ 113 | flex:.33, 114 | justifyContent:'center', 115 | alignItems:'center', 116 | }, 117 | percentText:{ 118 | fontSize:15, 119 | paddingTop:10, 120 | }, 121 | instructions: { 122 | textAlign: 'center', 123 | color: '#333333', 124 | marginBottom: 5, 125 | }, 126 | 127 | checkin: { 128 | fontSize:20, 129 | color: '#f39c12', 130 | }, 131 | desc: { 132 | fontSize:12, 133 | color: '#999', 134 | }, 135 | 136 | }); 137 | -------------------------------------------------------------------------------- /examples/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.examples", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.examples", 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 | -------------------------------------------------------------------------------- /examples/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.examples" 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 fileTree(dir: "libs", include: ["*.jar"]) 141 | compile "com.android.support:appcompat-v7:23.0.1" 142 | compile "com.facebook.react:react-native:+" // From node_modules 143 | } 144 | 145 | // Run this once to be able to run the application with BUCK 146 | // puts all compile dependencies into folder libs for BUCK to use 147 | task copyDownloadableDepsToLibs(type: Copy) { 148 | from configurations.compile 149 | into 'libs' 150 | } 151 | -------------------------------------------------------------------------------- /examples/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 | -------------------------------------------------------------------------------- /examples/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 13 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /examples/android/app/src/main/java/com/examples/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.examples; 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 "examples"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /examples/android/app/src/main/java/com/examples/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.examples; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.facebook.react.ReactNativeHost; 7 | import com.facebook.react.ReactPackage; 8 | import com.facebook.react.shell.MainReactPackage; 9 | import com.facebook.soloader.SoLoader; 10 | 11 | import java.util.Arrays; 12 | import java.util.List; 13 | 14 | public class MainApplication extends Application implements ReactApplication { 15 | 16 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 17 | @Override 18 | public boolean getUseDeveloperSupport() { 19 | return BuildConfig.DEBUG; 20 | } 21 | 22 | @Override 23 | protected List getPackages() { 24 | return Arrays.asList( 25 | new MainReactPackage() 26 | ); 27 | } 28 | 29 | @Override 30 | protected String getJSMainModuleName() { 31 | return "index"; 32 | } 33 | }; 34 | 35 | @Override 36 | public ReactNativeHost getReactNativeHost() { 37 | return mReactNativeHost; 38 | } 39 | 40 | @Override 41 | public void onCreate() { 42 | super.onCreate(); 43 | SoLoader.init(this, /* native exopackage */ false); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /examples/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JackPu/react-native-percentage-circle/e3985b723f5dae3ace207c8bfc70f9e08214bc71/examples/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JackPu/react-native-percentage-circle/e3985b723f5dae3ace207c8bfc70f9e08214bc71/examples/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JackPu/react-native-percentage-circle/e3985b723f5dae3ace207c8bfc70f9e08214bc71/examples/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JackPu/react-native-percentage-circle/e3985b723f5dae3ace207c8bfc70f9e08214bc71/examples/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | examples 3 | 4 | -------------------------------------------------------------------------------- /examples/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/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 | -------------------------------------------------------------------------------- /examples/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 | -------------------------------------------------------------------------------- /examples/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JackPu/react-native-percentage-circle/e3985b723f5dae3ace207c8bfc70f9e08214bc71/examples/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /examples/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 | -------------------------------------------------------------------------------- /examples/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 | -------------------------------------------------------------------------------- /examples/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 | -------------------------------------------------------------------------------- /examples/android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /examples/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 | -------------------------------------------------------------------------------- /examples/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'examples' 2 | 3 | include ':app' 4 | -------------------------------------------------------------------------------- /examples/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "examples", 3 | "displayName": "examples" 4 | } -------------------------------------------------------------------------------- /examples/images/shoes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JackPu/react-native-percentage-circle/e3985b723f5dae3ace207c8bfc70f9e08214bc71/examples/images/shoes.png -------------------------------------------------------------------------------- /examples/index.js: -------------------------------------------------------------------------------- 1 | import { AppRegistry } from 'react-native'; 2 | import App from './App'; 3 | 4 | AppRegistry.registerComponent('examples', () => App); 5 | -------------------------------------------------------------------------------- /examples/ios/examples-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 | -------------------------------------------------------------------------------- /examples/ios/examples-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 | -------------------------------------------------------------------------------- /examples/ios/examples.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 /* examplesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* examplesTests.m */; }; 16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 23 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 25 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 26 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 27 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 28 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 29 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 30 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 31 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 32 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 33 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 34 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 35 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; }; 36 | 2DCD954D1E0B4F2C00145EB5 /* examplesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* examplesTests.m */; }; 37 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 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 = examples; 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 = "examples-tvOS"; 113 | }; 114 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 115 | isa = PBXContainerItemProxy; 116 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 117 | proxyType = 2; 118 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 119 | remoteInfo = "RCTBlob-tvOS"; 120 | }; 121 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 122 | isa = PBXContainerItemProxy; 123 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 124 | proxyType = 2; 125 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 126 | remoteInfo = fishhook; 127 | }; 128 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 129 | isa = PBXContainerItemProxy; 130 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 131 | proxyType = 2; 132 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 133 | remoteInfo = "fishhook-tvOS"; 134 | }; 135 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = { 136 | isa = PBXContainerItemProxy; 137 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 138 | proxyType = 2; 139 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5; 140 | remoteInfo = jsinspector; 141 | }; 142 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = { 143 | isa = PBXContainerItemProxy; 144 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 145 | proxyType = 2; 146 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; 147 | remoteInfo = "jsinspector-tvOS"; 148 | }; 149 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = { 150 | isa = PBXContainerItemProxy; 151 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 152 | proxyType = 2; 153 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 154 | remoteInfo = "third-party"; 155 | }; 156 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = { 157 | isa = PBXContainerItemProxy; 158 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 159 | proxyType = 2; 160 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 161 | remoteInfo = "third-party-tvOS"; 162 | }; 163 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = { 164 | isa = PBXContainerItemProxy; 165 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 166 | proxyType = 2; 167 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 168 | remoteInfo = "double-conversion"; 169 | }; 170 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = { 171 | isa = PBXContainerItemProxy; 172 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 173 | proxyType = 2; 174 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 175 | remoteInfo = "double-conversion-tvOS"; 176 | }; 177 | 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */ = { 178 | isa = PBXContainerItemProxy; 179 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 180 | proxyType = 2; 181 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04; 182 | remoteInfo = privatedata; 183 | }; 184 | 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */ = { 185 | isa = PBXContainerItemProxy; 186 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 187 | proxyType = 2; 188 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04; 189 | remoteInfo = "privatedata-tvOS"; 190 | }; 191 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 192 | isa = PBXContainerItemProxy; 193 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 194 | proxyType = 2; 195 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 196 | remoteInfo = "RCTImage-tvOS"; 197 | }; 198 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 199 | isa = PBXContainerItemProxy; 200 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 201 | proxyType = 2; 202 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 203 | remoteInfo = "RCTLinking-tvOS"; 204 | }; 205 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 206 | isa = PBXContainerItemProxy; 207 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 208 | proxyType = 2; 209 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 210 | remoteInfo = "RCTNetwork-tvOS"; 211 | }; 212 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 213 | isa = PBXContainerItemProxy; 214 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 215 | proxyType = 2; 216 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 217 | remoteInfo = "RCTSettings-tvOS"; 218 | }; 219 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 220 | isa = PBXContainerItemProxy; 221 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 222 | proxyType = 2; 223 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 224 | remoteInfo = "RCTText-tvOS"; 225 | }; 226 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 227 | isa = PBXContainerItemProxy; 228 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 229 | proxyType = 2; 230 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 231 | remoteInfo = "RCTWebSocket-tvOS"; 232 | }; 233 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 234 | isa = PBXContainerItemProxy; 235 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 236 | proxyType = 2; 237 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 238 | remoteInfo = "React-tvOS"; 239 | }; 240 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 241 | isa = PBXContainerItemProxy; 242 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 243 | proxyType = 2; 244 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 245 | remoteInfo = yoga; 246 | }; 247 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 248 | isa = PBXContainerItemProxy; 249 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 250 | proxyType = 2; 251 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 252 | remoteInfo = "yoga-tvOS"; 253 | }; 254 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 255 | isa = PBXContainerItemProxy; 256 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 257 | proxyType = 2; 258 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 259 | remoteInfo = cxxreact; 260 | }; 261 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 262 | isa = PBXContainerItemProxy; 263 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 264 | proxyType = 2; 265 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 266 | remoteInfo = "cxxreact-tvOS"; 267 | }; 268 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 269 | isa = PBXContainerItemProxy; 270 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 271 | proxyType = 2; 272 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 273 | remoteInfo = jschelpers; 274 | }; 275 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 276 | isa = PBXContainerItemProxy; 277 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 278 | proxyType = 2; 279 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 280 | remoteInfo = "jschelpers-tvOS"; 281 | }; 282 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 283 | isa = PBXContainerItemProxy; 284 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 285 | proxyType = 2; 286 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 287 | remoteInfo = RCTAnimation; 288 | }; 289 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 290 | isa = PBXContainerItemProxy; 291 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 292 | proxyType = 2; 293 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 294 | remoteInfo = "RCTAnimation-tvOS"; 295 | }; 296 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 297 | isa = PBXContainerItemProxy; 298 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 299 | proxyType = 2; 300 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 301 | remoteInfo = RCTLinking; 302 | }; 303 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 304 | isa = PBXContainerItemProxy; 305 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 306 | proxyType = 2; 307 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 308 | remoteInfo = RCTText; 309 | }; 310 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 311 | isa = PBXContainerItemProxy; 312 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 313 | proxyType = 2; 314 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 315 | remoteInfo = RCTBlob; 316 | }; 317 | /* End PBXContainerItemProxy section */ 318 | 319 | /* Begin PBXFileReference section */ 320 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 321 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 322 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 323 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 324 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 325 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 326 | 00E356EE1AD99517003FC87E /* examplesTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = examplesTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 327 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 328 | 00E356F21AD99517003FC87E /* examplesTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = examplesTests.m; sourceTree = ""; }; 329 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 330 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 331 | 13B07F961A680F5B00A75B9A /* examples.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = examples.app; sourceTree = BUILT_PRODUCTS_DIR; }; 332 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = examples/AppDelegate.h; sourceTree = ""; }; 333 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = examples/AppDelegate.m; sourceTree = ""; }; 334 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 335 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = examples/Images.xcassets; sourceTree = ""; }; 336 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = examples/Info.plist; sourceTree = ""; }; 337 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = examples/main.m; sourceTree = ""; }; 338 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 339 | 2D02E47B1E0B4A5D006451C7 /* examples-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "examples-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 340 | 2D02E4901E0B4A5D006451C7 /* examples-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "examples-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 341 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 342 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 343 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 344 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 345 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 346 | /* End PBXFileReference section */ 347 | 348 | /* Begin PBXFrameworksBuildPhase section */ 349 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 350 | isa = PBXFrameworksBuildPhase; 351 | buildActionMask = 2147483647; 352 | files = ( 353 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 354 | ); 355 | runOnlyForDeploymentPostprocessing = 0; 356 | }; 357 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 358 | isa = PBXFrameworksBuildPhase; 359 | buildActionMask = 2147483647; 360 | files = ( 361 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 362 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 363 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 364 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 365 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 366 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 367 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 368 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 369 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 370 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 371 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 372 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 373 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 374 | ); 375 | runOnlyForDeploymentPostprocessing = 0; 376 | }; 377 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 378 | isa = PBXFrameworksBuildPhase; 379 | buildActionMask = 2147483647; 380 | files = ( 381 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 382 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 383 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 384 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 385 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 386 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 387 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 388 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 389 | ); 390 | runOnlyForDeploymentPostprocessing = 0; 391 | }; 392 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 393 | isa = PBXFrameworksBuildPhase; 394 | buildActionMask = 2147483647; 395 | files = ( 396 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */, 397 | ); 398 | runOnlyForDeploymentPostprocessing = 0; 399 | }; 400 | /* End PBXFrameworksBuildPhase section */ 401 | 402 | /* Begin PBXGroup section */ 403 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 404 | isa = PBXGroup; 405 | children = ( 406 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 407 | ); 408 | name = Products; 409 | sourceTree = ""; 410 | }; 411 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 412 | isa = PBXGroup; 413 | children = ( 414 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 415 | ); 416 | name = Products; 417 | sourceTree = ""; 418 | }; 419 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 420 | isa = PBXGroup; 421 | children = ( 422 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 423 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 424 | ); 425 | name = Products; 426 | sourceTree = ""; 427 | }; 428 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 429 | isa = PBXGroup; 430 | children = ( 431 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 432 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 433 | ); 434 | name = Products; 435 | sourceTree = ""; 436 | }; 437 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 438 | isa = PBXGroup; 439 | children = ( 440 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 441 | ); 442 | name = Products; 443 | sourceTree = ""; 444 | }; 445 | 00E356EF1AD99517003FC87E /* examplesTests */ = { 446 | isa = PBXGroup; 447 | children = ( 448 | 00E356F21AD99517003FC87E /* examplesTests.m */, 449 | 00E356F01AD99517003FC87E /* Supporting Files */, 450 | ); 451 | path = examplesTests; 452 | sourceTree = ""; 453 | }; 454 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 455 | isa = PBXGroup; 456 | children = ( 457 | 00E356F11AD99517003FC87E /* Info.plist */, 458 | ); 459 | name = "Supporting Files"; 460 | sourceTree = ""; 461 | }; 462 | 139105B71AF99BAD00B5F7CC /* Products */ = { 463 | isa = PBXGroup; 464 | children = ( 465 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 466 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 467 | ); 468 | name = Products; 469 | sourceTree = ""; 470 | }; 471 | 139FDEE71B06529A00C62182 /* Products */ = { 472 | isa = PBXGroup; 473 | children = ( 474 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 475 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 476 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, 477 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, 478 | ); 479 | name = Products; 480 | sourceTree = ""; 481 | }; 482 | 13B07FAE1A68108700A75B9A /* examples */ = { 483 | isa = PBXGroup; 484 | children = ( 485 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 486 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 487 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 488 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 489 | 13B07FB61A68108700A75B9A /* Info.plist */, 490 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 491 | 13B07FB71A68108700A75B9A /* main.m */, 492 | ); 493 | name = examples; 494 | sourceTree = ""; 495 | }; 496 | 146834001AC3E56700842450 /* Products */ = { 497 | isa = PBXGroup; 498 | children = ( 499 | 146834041AC3E56700842450 /* libReact.a */, 500 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 501 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 502 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 503 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 504 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 505 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 506 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 507 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */, 508 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */, 509 | 2DF0FFE32056DD460020B375 /* libthird-party.a */, 510 | 2DF0FFE52056DD460020B375 /* libthird-party.a */, 511 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */, 512 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */, 513 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */, 514 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */, 515 | ); 516 | name = Products; 517 | sourceTree = ""; 518 | }; 519 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 520 | isa = PBXGroup; 521 | children = ( 522 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 523 | ); 524 | name = Frameworks; 525 | sourceTree = ""; 526 | }; 527 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 528 | isa = PBXGroup; 529 | children = ( 530 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 531 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 532 | ); 533 | name = Products; 534 | sourceTree = ""; 535 | }; 536 | 78C398B11ACF4ADC00677621 /* Products */ = { 537 | isa = PBXGroup; 538 | children = ( 539 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 540 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 541 | ); 542 | name = Products; 543 | sourceTree = ""; 544 | }; 545 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 546 | isa = PBXGroup; 547 | children = ( 548 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 549 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 550 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 551 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 552 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 553 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 554 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 555 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 556 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 557 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 558 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 559 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 560 | ); 561 | name = Libraries; 562 | sourceTree = ""; 563 | }; 564 | 832341B11AAA6A8300B99B32 /* Products */ = { 565 | isa = PBXGroup; 566 | children = ( 567 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 568 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 569 | ); 570 | name = Products; 571 | sourceTree = ""; 572 | }; 573 | 83CBB9F61A601CBA00E9B192 = { 574 | isa = PBXGroup; 575 | children = ( 576 | 13B07FAE1A68108700A75B9A /* examples */, 577 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 578 | 00E356EF1AD99517003FC87E /* examplesTests */, 579 | 83CBBA001A601CBA00E9B192 /* Products */, 580 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 581 | ); 582 | indentWidth = 2; 583 | sourceTree = ""; 584 | tabWidth = 2; 585 | usesTabs = 0; 586 | }; 587 | 83CBBA001A601CBA00E9B192 /* Products */ = { 588 | isa = PBXGroup; 589 | children = ( 590 | 13B07F961A680F5B00A75B9A /* examples.app */, 591 | 00E356EE1AD99517003FC87E /* examplesTests.xctest */, 592 | 2D02E47B1E0B4A5D006451C7 /* examples-tvOS.app */, 593 | 2D02E4901E0B4A5D006451C7 /* examples-tvOSTests.xctest */, 594 | ); 595 | name = Products; 596 | sourceTree = ""; 597 | }; 598 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 599 | isa = PBXGroup; 600 | children = ( 601 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 602 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, 603 | ); 604 | name = Products; 605 | sourceTree = ""; 606 | }; 607 | /* End PBXGroup section */ 608 | 609 | /* Begin PBXNativeTarget section */ 610 | 00E356ED1AD99517003FC87E /* examplesTests */ = { 611 | isa = PBXNativeTarget; 612 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "examplesTests" */; 613 | buildPhases = ( 614 | 00E356EA1AD99517003FC87E /* Sources */, 615 | 00E356EB1AD99517003FC87E /* Frameworks */, 616 | 00E356EC1AD99517003FC87E /* Resources */, 617 | ); 618 | buildRules = ( 619 | ); 620 | dependencies = ( 621 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 622 | ); 623 | name = examplesTests; 624 | productName = examplesTests; 625 | productReference = 00E356EE1AD99517003FC87E /* examplesTests.xctest */; 626 | productType = "com.apple.product-type.bundle.unit-test"; 627 | }; 628 | 13B07F861A680F5B00A75B9A /* examples */ = { 629 | isa = PBXNativeTarget; 630 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "examples" */; 631 | buildPhases = ( 632 | 13B07F871A680F5B00A75B9A /* Sources */, 633 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 634 | 13B07F8E1A680F5B00A75B9A /* Resources */, 635 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 636 | ); 637 | buildRules = ( 638 | ); 639 | dependencies = ( 640 | ); 641 | name = examples; 642 | productName = "Hello World"; 643 | productReference = 13B07F961A680F5B00A75B9A /* examples.app */; 644 | productType = "com.apple.product-type.application"; 645 | }; 646 | 2D02E47A1E0B4A5D006451C7 /* examples-tvOS */ = { 647 | isa = PBXNativeTarget; 648 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "examples-tvOS" */; 649 | buildPhases = ( 650 | 2D02E4771E0B4A5D006451C7 /* Sources */, 651 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 652 | 2D02E4791E0B4A5D006451C7 /* Resources */, 653 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 654 | ); 655 | buildRules = ( 656 | ); 657 | dependencies = ( 658 | ); 659 | name = "examples-tvOS"; 660 | productName = "examples-tvOS"; 661 | productReference = 2D02E47B1E0B4A5D006451C7 /* examples-tvOS.app */; 662 | productType = "com.apple.product-type.application"; 663 | }; 664 | 2D02E48F1E0B4A5D006451C7 /* examples-tvOSTests */ = { 665 | isa = PBXNativeTarget; 666 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "examples-tvOSTests" */; 667 | buildPhases = ( 668 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 669 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 670 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 671 | ); 672 | buildRules = ( 673 | ); 674 | dependencies = ( 675 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 676 | ); 677 | name = "examples-tvOSTests"; 678 | productName = "examples-tvOSTests"; 679 | productReference = 2D02E4901E0B4A5D006451C7 /* examples-tvOSTests.xctest */; 680 | productType = "com.apple.product-type.bundle.unit-test"; 681 | }; 682 | /* End PBXNativeTarget section */ 683 | 684 | /* Begin PBXProject section */ 685 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 686 | isa = PBXProject; 687 | attributes = { 688 | LastUpgradeCheck = 0610; 689 | ORGANIZATIONNAME = Facebook; 690 | TargetAttributes = { 691 | 00E356ED1AD99517003FC87E = { 692 | CreatedOnToolsVersion = 6.2; 693 | DevelopmentTeam = 4GY5GJUTC7; 694 | TestTargetID = 13B07F861A680F5B00A75B9A; 695 | }; 696 | 13B07F861A680F5B00A75B9A = { 697 | DevelopmentTeam = 4GY5GJUTC7; 698 | }; 699 | 2D02E47A1E0B4A5D006451C7 = { 700 | CreatedOnToolsVersion = 8.2.1; 701 | DevelopmentTeam = 4GY5GJUTC7; 702 | ProvisioningStyle = Automatic; 703 | }; 704 | 2D02E48F1E0B4A5D006451C7 = { 705 | CreatedOnToolsVersion = 8.2.1; 706 | DevelopmentTeam = 4GY5GJUTC7; 707 | ProvisioningStyle = Automatic; 708 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 709 | }; 710 | }; 711 | }; 712 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "examples" */; 713 | compatibilityVersion = "Xcode 3.2"; 714 | developmentRegion = English; 715 | hasScannedForEncodings = 0; 716 | knownRegions = ( 717 | en, 718 | Base, 719 | ); 720 | mainGroup = 83CBB9F61A601CBA00E9B192; 721 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 722 | projectDirPath = ""; 723 | projectReferences = ( 724 | { 725 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 726 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 727 | }, 728 | { 729 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 730 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 731 | }, 732 | { 733 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 734 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 735 | }, 736 | { 737 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 738 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 739 | }, 740 | { 741 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 742 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 743 | }, 744 | { 745 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 746 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 747 | }, 748 | { 749 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 750 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 751 | }, 752 | { 753 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 754 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 755 | }, 756 | { 757 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 758 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 759 | }, 760 | { 761 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 762 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 763 | }, 764 | { 765 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 766 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 767 | }, 768 | { 769 | ProductGroup = 146834001AC3E56700842450 /* Products */; 770 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 771 | }, 772 | ); 773 | projectRoot = ""; 774 | targets = ( 775 | 13B07F861A680F5B00A75B9A /* examples */, 776 | 00E356ED1AD99517003FC87E /* examplesTests */, 777 | 2D02E47A1E0B4A5D006451C7 /* examples-tvOS */, 778 | 2D02E48F1E0B4A5D006451C7 /* examples-tvOSTests */, 779 | ); 780 | }; 781 | /* End PBXProject section */ 782 | 783 | /* Begin PBXReferenceProxy section */ 784 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 785 | isa = PBXReferenceProxy; 786 | fileType = archive.ar; 787 | path = libRCTActionSheet.a; 788 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 789 | sourceTree = BUILT_PRODUCTS_DIR; 790 | }; 791 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 792 | isa = PBXReferenceProxy; 793 | fileType = archive.ar; 794 | path = libRCTGeolocation.a; 795 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 796 | sourceTree = BUILT_PRODUCTS_DIR; 797 | }; 798 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 799 | isa = PBXReferenceProxy; 800 | fileType = archive.ar; 801 | path = libRCTImage.a; 802 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 803 | sourceTree = BUILT_PRODUCTS_DIR; 804 | }; 805 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 806 | isa = PBXReferenceProxy; 807 | fileType = archive.ar; 808 | path = libRCTNetwork.a; 809 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 810 | sourceTree = BUILT_PRODUCTS_DIR; 811 | }; 812 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 813 | isa = PBXReferenceProxy; 814 | fileType = archive.ar; 815 | path = libRCTVibration.a; 816 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 817 | sourceTree = BUILT_PRODUCTS_DIR; 818 | }; 819 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 820 | isa = PBXReferenceProxy; 821 | fileType = archive.ar; 822 | path = libRCTSettings.a; 823 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 824 | sourceTree = BUILT_PRODUCTS_DIR; 825 | }; 826 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 827 | isa = PBXReferenceProxy; 828 | fileType = archive.ar; 829 | path = libRCTWebSocket.a; 830 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 831 | sourceTree = BUILT_PRODUCTS_DIR; 832 | }; 833 | 146834041AC3E56700842450 /* libReact.a */ = { 834 | isa = PBXReferenceProxy; 835 | fileType = archive.ar; 836 | path = libReact.a; 837 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 838 | sourceTree = BUILT_PRODUCTS_DIR; 839 | }; 840 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { 841 | isa = PBXReferenceProxy; 842 | fileType = archive.ar; 843 | path = "libRCTBlob-tvOS.a"; 844 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; 845 | sourceTree = BUILT_PRODUCTS_DIR; 846 | }; 847 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { 848 | isa = PBXReferenceProxy; 849 | fileType = archive.ar; 850 | path = libfishhook.a; 851 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; 852 | sourceTree = BUILT_PRODUCTS_DIR; 853 | }; 854 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { 855 | isa = PBXReferenceProxy; 856 | fileType = archive.ar; 857 | path = "libfishhook-tvOS.a"; 858 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; 859 | sourceTree = BUILT_PRODUCTS_DIR; 860 | }; 861 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = { 862 | isa = PBXReferenceProxy; 863 | fileType = archive.ar; 864 | path = libjsinspector.a; 865 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */; 866 | sourceTree = BUILT_PRODUCTS_DIR; 867 | }; 868 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = { 869 | isa = PBXReferenceProxy; 870 | fileType = archive.ar; 871 | path = "libjsinspector-tvOS.a"; 872 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */; 873 | sourceTree = BUILT_PRODUCTS_DIR; 874 | }; 875 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = { 876 | isa = PBXReferenceProxy; 877 | fileType = archive.ar; 878 | path = "libthird-party.a"; 879 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */; 880 | sourceTree = BUILT_PRODUCTS_DIR; 881 | }; 882 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = { 883 | isa = PBXReferenceProxy; 884 | fileType = archive.ar; 885 | path = "libthird-party.a"; 886 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */; 887 | sourceTree = BUILT_PRODUCTS_DIR; 888 | }; 889 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = { 890 | isa = PBXReferenceProxy; 891 | fileType = archive.ar; 892 | path = "libdouble-conversion.a"; 893 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */; 894 | sourceTree = BUILT_PRODUCTS_DIR; 895 | }; 896 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = { 897 | isa = PBXReferenceProxy; 898 | fileType = archive.ar; 899 | path = "libdouble-conversion.a"; 900 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */; 901 | sourceTree = BUILT_PRODUCTS_DIR; 902 | }; 903 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */ = { 904 | isa = PBXReferenceProxy; 905 | fileType = archive.ar; 906 | path = libprivatedata.a; 907 | remoteRef = 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */; 908 | sourceTree = BUILT_PRODUCTS_DIR; 909 | }; 910 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */ = { 911 | isa = PBXReferenceProxy; 912 | fileType = archive.ar; 913 | path = "libprivatedata-tvOS.a"; 914 | remoteRef = 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */; 915 | sourceTree = BUILT_PRODUCTS_DIR; 916 | }; 917 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 918 | isa = PBXReferenceProxy; 919 | fileType = archive.ar; 920 | path = "libRCTImage-tvOS.a"; 921 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 922 | sourceTree = BUILT_PRODUCTS_DIR; 923 | }; 924 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 925 | isa = PBXReferenceProxy; 926 | fileType = archive.ar; 927 | path = "libRCTLinking-tvOS.a"; 928 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 929 | sourceTree = BUILT_PRODUCTS_DIR; 930 | }; 931 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 932 | isa = PBXReferenceProxy; 933 | fileType = archive.ar; 934 | path = "libRCTNetwork-tvOS.a"; 935 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 936 | sourceTree = BUILT_PRODUCTS_DIR; 937 | }; 938 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 939 | isa = PBXReferenceProxy; 940 | fileType = archive.ar; 941 | path = "libRCTSettings-tvOS.a"; 942 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 943 | sourceTree = BUILT_PRODUCTS_DIR; 944 | }; 945 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 946 | isa = PBXReferenceProxy; 947 | fileType = archive.ar; 948 | path = "libRCTText-tvOS.a"; 949 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 950 | sourceTree = BUILT_PRODUCTS_DIR; 951 | }; 952 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 953 | isa = PBXReferenceProxy; 954 | fileType = archive.ar; 955 | path = "libRCTWebSocket-tvOS.a"; 956 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 957 | sourceTree = BUILT_PRODUCTS_DIR; 958 | }; 959 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 960 | isa = PBXReferenceProxy; 961 | fileType = archive.ar; 962 | path = libReact.a; 963 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 964 | sourceTree = BUILT_PRODUCTS_DIR; 965 | }; 966 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 967 | isa = PBXReferenceProxy; 968 | fileType = archive.ar; 969 | path = libyoga.a; 970 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 971 | sourceTree = BUILT_PRODUCTS_DIR; 972 | }; 973 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 974 | isa = PBXReferenceProxy; 975 | fileType = archive.ar; 976 | path = libyoga.a; 977 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 978 | sourceTree = BUILT_PRODUCTS_DIR; 979 | }; 980 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 981 | isa = PBXReferenceProxy; 982 | fileType = archive.ar; 983 | path = libcxxreact.a; 984 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 985 | sourceTree = BUILT_PRODUCTS_DIR; 986 | }; 987 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 988 | isa = PBXReferenceProxy; 989 | fileType = archive.ar; 990 | path = libcxxreact.a; 991 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 992 | sourceTree = BUILT_PRODUCTS_DIR; 993 | }; 994 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 995 | isa = PBXReferenceProxy; 996 | fileType = archive.ar; 997 | path = libjschelpers.a; 998 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 999 | sourceTree = BUILT_PRODUCTS_DIR; 1000 | }; 1001 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 1002 | isa = PBXReferenceProxy; 1003 | fileType = archive.ar; 1004 | path = libjschelpers.a; 1005 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 1006 | sourceTree = BUILT_PRODUCTS_DIR; 1007 | }; 1008 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1009 | isa = PBXReferenceProxy; 1010 | fileType = archive.ar; 1011 | path = libRCTAnimation.a; 1012 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1013 | sourceTree = BUILT_PRODUCTS_DIR; 1014 | }; 1015 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1016 | isa = PBXReferenceProxy; 1017 | fileType = archive.ar; 1018 | path = libRCTAnimation.a; 1019 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1020 | sourceTree = BUILT_PRODUCTS_DIR; 1021 | }; 1022 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 1023 | isa = PBXReferenceProxy; 1024 | fileType = archive.ar; 1025 | path = libRCTLinking.a; 1026 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 1027 | sourceTree = BUILT_PRODUCTS_DIR; 1028 | }; 1029 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 1030 | isa = PBXReferenceProxy; 1031 | fileType = archive.ar; 1032 | path = libRCTText.a; 1033 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 1034 | sourceTree = BUILT_PRODUCTS_DIR; 1035 | }; 1036 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 1037 | isa = PBXReferenceProxy; 1038 | fileType = archive.ar; 1039 | path = libRCTBlob.a; 1040 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 1041 | sourceTree = BUILT_PRODUCTS_DIR; 1042 | }; 1043 | /* End PBXReferenceProxy section */ 1044 | 1045 | /* Begin PBXResourcesBuildPhase section */ 1046 | 00E356EC1AD99517003FC87E /* Resources */ = { 1047 | isa = PBXResourcesBuildPhase; 1048 | buildActionMask = 2147483647; 1049 | files = ( 1050 | ); 1051 | runOnlyForDeploymentPostprocessing = 0; 1052 | }; 1053 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1054 | isa = PBXResourcesBuildPhase; 1055 | buildActionMask = 2147483647; 1056 | files = ( 1057 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1058 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1059 | ); 1060 | runOnlyForDeploymentPostprocessing = 0; 1061 | }; 1062 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1063 | isa = PBXResourcesBuildPhase; 1064 | buildActionMask = 2147483647; 1065 | files = ( 1066 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1067 | ); 1068 | runOnlyForDeploymentPostprocessing = 0; 1069 | }; 1070 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1071 | isa = PBXResourcesBuildPhase; 1072 | buildActionMask = 2147483647; 1073 | files = ( 1074 | ); 1075 | runOnlyForDeploymentPostprocessing = 0; 1076 | }; 1077 | /* End PBXResourcesBuildPhase section */ 1078 | 1079 | /* Begin PBXShellScriptBuildPhase section */ 1080 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1081 | isa = PBXShellScriptBuildPhase; 1082 | buildActionMask = 2147483647; 1083 | files = ( 1084 | ); 1085 | inputPaths = ( 1086 | ); 1087 | name = "Bundle React Native code and images"; 1088 | outputPaths = ( 1089 | ); 1090 | runOnlyForDeploymentPostprocessing = 0; 1091 | shellPath = /bin/sh; 1092 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1093 | }; 1094 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1095 | isa = PBXShellScriptBuildPhase; 1096 | buildActionMask = 2147483647; 1097 | files = ( 1098 | ); 1099 | inputPaths = ( 1100 | ); 1101 | name = "Bundle React Native Code And Images"; 1102 | outputPaths = ( 1103 | ); 1104 | runOnlyForDeploymentPostprocessing = 0; 1105 | shellPath = /bin/sh; 1106 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1107 | }; 1108 | /* End PBXShellScriptBuildPhase section */ 1109 | 1110 | /* Begin PBXSourcesBuildPhase section */ 1111 | 00E356EA1AD99517003FC87E /* Sources */ = { 1112 | isa = PBXSourcesBuildPhase; 1113 | buildActionMask = 2147483647; 1114 | files = ( 1115 | 00E356F31AD99517003FC87E /* examplesTests.m in Sources */, 1116 | ); 1117 | runOnlyForDeploymentPostprocessing = 0; 1118 | }; 1119 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1120 | isa = PBXSourcesBuildPhase; 1121 | buildActionMask = 2147483647; 1122 | files = ( 1123 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1124 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1125 | ); 1126 | runOnlyForDeploymentPostprocessing = 0; 1127 | }; 1128 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1129 | isa = PBXSourcesBuildPhase; 1130 | buildActionMask = 2147483647; 1131 | files = ( 1132 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1133 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1134 | ); 1135 | runOnlyForDeploymentPostprocessing = 0; 1136 | }; 1137 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1138 | isa = PBXSourcesBuildPhase; 1139 | buildActionMask = 2147483647; 1140 | files = ( 1141 | 2DCD954D1E0B4F2C00145EB5 /* examplesTests.m in Sources */, 1142 | ); 1143 | runOnlyForDeploymentPostprocessing = 0; 1144 | }; 1145 | /* End PBXSourcesBuildPhase section */ 1146 | 1147 | /* Begin PBXTargetDependency section */ 1148 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1149 | isa = PBXTargetDependency; 1150 | target = 13B07F861A680F5B00A75B9A /* examples */; 1151 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1152 | }; 1153 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1154 | isa = PBXTargetDependency; 1155 | target = 2D02E47A1E0B4A5D006451C7 /* examples-tvOS */; 1156 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1157 | }; 1158 | /* End PBXTargetDependency section */ 1159 | 1160 | /* Begin PBXVariantGroup section */ 1161 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1162 | isa = PBXVariantGroup; 1163 | children = ( 1164 | 13B07FB21A68108700A75B9A /* Base */, 1165 | ); 1166 | name = LaunchScreen.xib; 1167 | path = examples; 1168 | sourceTree = ""; 1169 | }; 1170 | /* End PBXVariantGroup section */ 1171 | 1172 | /* Begin XCBuildConfiguration section */ 1173 | 00E356F61AD99517003FC87E /* Debug */ = { 1174 | isa = XCBuildConfiguration; 1175 | buildSettings = { 1176 | BUNDLE_LOADER = "$(TEST_HOST)"; 1177 | GCC_PREPROCESSOR_DEFINITIONS = ( 1178 | "DEBUG=1", 1179 | "$(inherited)", 1180 | ); 1181 | INFOPLIST_FILE = examplesTests/Info.plist; 1182 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1183 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1184 | OTHER_LDFLAGS = ( 1185 | "-ObjC", 1186 | "-lc++", 1187 | ); 1188 | PRODUCT_NAME = "$(TARGET_NAME)"; 1189 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/examples.app/examples"; 1190 | }; 1191 | name = Debug; 1192 | }; 1193 | 00E356F71AD99517003FC87E /* Release */ = { 1194 | isa = XCBuildConfiguration; 1195 | buildSettings = { 1196 | BUNDLE_LOADER = "$(TEST_HOST)"; 1197 | COPY_PHASE_STRIP = NO; 1198 | INFOPLIST_FILE = examplesTests/Info.plist; 1199 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1200 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1201 | OTHER_LDFLAGS = ( 1202 | "-ObjC", 1203 | "-lc++", 1204 | ); 1205 | PRODUCT_NAME = "$(TARGET_NAME)"; 1206 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/examples.app/examples"; 1207 | }; 1208 | name = Release; 1209 | }; 1210 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1211 | isa = XCBuildConfiguration; 1212 | buildSettings = { 1213 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1214 | CURRENT_PROJECT_VERSION = 1; 1215 | DEAD_CODE_STRIPPING = NO; 1216 | INFOPLIST_FILE = examples/Info.plist; 1217 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1218 | OTHER_LDFLAGS = ( 1219 | "$(inherited)", 1220 | "-ObjC", 1221 | "-lc++", 1222 | ); 1223 | PRODUCT_NAME = examples; 1224 | VERSIONING_SYSTEM = "apple-generic"; 1225 | }; 1226 | name = Debug; 1227 | }; 1228 | 13B07F951A680F5B00A75B9A /* Release */ = { 1229 | isa = XCBuildConfiguration; 1230 | buildSettings = { 1231 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1232 | CURRENT_PROJECT_VERSION = 1; 1233 | INFOPLIST_FILE = examples/Info.plist; 1234 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1235 | OTHER_LDFLAGS = ( 1236 | "$(inherited)", 1237 | "-ObjC", 1238 | "-lc++", 1239 | ); 1240 | PRODUCT_NAME = examples; 1241 | VERSIONING_SYSTEM = "apple-generic"; 1242 | }; 1243 | name = Release; 1244 | }; 1245 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1246 | isa = XCBuildConfiguration; 1247 | buildSettings = { 1248 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1249 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1250 | CLANG_ANALYZER_NONNULL = YES; 1251 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1252 | CLANG_WARN_INFINITE_RECURSION = YES; 1253 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1254 | DEBUG_INFORMATION_FORMAT = dwarf; 1255 | ENABLE_TESTABILITY = YES; 1256 | GCC_NO_COMMON_BLOCKS = YES; 1257 | INFOPLIST_FILE = "examples-tvOS/Info.plist"; 1258 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1259 | OTHER_LDFLAGS = ( 1260 | "-ObjC", 1261 | "-lc++", 1262 | ); 1263 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.examples-tvOS"; 1264 | PRODUCT_NAME = "$(TARGET_NAME)"; 1265 | SDKROOT = appletvos; 1266 | TARGETED_DEVICE_FAMILY = 3; 1267 | TVOS_DEPLOYMENT_TARGET = 9.2; 1268 | }; 1269 | name = Debug; 1270 | }; 1271 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1272 | isa = XCBuildConfiguration; 1273 | buildSettings = { 1274 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1275 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1276 | CLANG_ANALYZER_NONNULL = YES; 1277 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1278 | CLANG_WARN_INFINITE_RECURSION = YES; 1279 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1280 | COPY_PHASE_STRIP = NO; 1281 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1282 | GCC_NO_COMMON_BLOCKS = YES; 1283 | INFOPLIST_FILE = "examples-tvOS/Info.plist"; 1284 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1285 | OTHER_LDFLAGS = ( 1286 | "-ObjC", 1287 | "-lc++", 1288 | ); 1289 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.examples-tvOS"; 1290 | PRODUCT_NAME = "$(TARGET_NAME)"; 1291 | SDKROOT = appletvos; 1292 | TARGETED_DEVICE_FAMILY = 3; 1293 | TVOS_DEPLOYMENT_TARGET = 9.2; 1294 | }; 1295 | name = Release; 1296 | }; 1297 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1298 | isa = XCBuildConfiguration; 1299 | buildSettings = { 1300 | BUNDLE_LOADER = "$(TEST_HOST)"; 1301 | CLANG_ANALYZER_NONNULL = YES; 1302 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1303 | CLANG_WARN_INFINITE_RECURSION = YES; 1304 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1305 | DEBUG_INFORMATION_FORMAT = dwarf; 1306 | ENABLE_TESTABILITY = YES; 1307 | GCC_NO_COMMON_BLOCKS = YES; 1308 | INFOPLIST_FILE = "examples-tvOSTests/Info.plist"; 1309 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1310 | OTHER_LDFLAGS = ( 1311 | "-ObjC", 1312 | "-lc++", 1313 | ); 1314 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.examples-tvOSTests"; 1315 | PRODUCT_NAME = "$(TARGET_NAME)"; 1316 | SDKROOT = appletvos; 1317 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/examples-tvOS.app/examples-tvOS"; 1318 | TVOS_DEPLOYMENT_TARGET = 10.1; 1319 | }; 1320 | name = Debug; 1321 | }; 1322 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1323 | isa = XCBuildConfiguration; 1324 | buildSettings = { 1325 | BUNDLE_LOADER = "$(TEST_HOST)"; 1326 | CLANG_ANALYZER_NONNULL = YES; 1327 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1328 | CLANG_WARN_INFINITE_RECURSION = YES; 1329 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1330 | COPY_PHASE_STRIP = NO; 1331 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1332 | GCC_NO_COMMON_BLOCKS = YES; 1333 | INFOPLIST_FILE = "examples-tvOSTests/Info.plist"; 1334 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1335 | OTHER_LDFLAGS = ( 1336 | "-ObjC", 1337 | "-lc++", 1338 | ); 1339 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.examples-tvOSTests"; 1340 | PRODUCT_NAME = "$(TARGET_NAME)"; 1341 | SDKROOT = appletvos; 1342 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/examples-tvOS.app/examples-tvOS"; 1343 | TVOS_DEPLOYMENT_TARGET = 10.1; 1344 | }; 1345 | name = Release; 1346 | }; 1347 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1348 | isa = XCBuildConfiguration; 1349 | buildSettings = { 1350 | ALWAYS_SEARCH_USER_PATHS = NO; 1351 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1352 | CLANG_CXX_LIBRARY = "libc++"; 1353 | CLANG_ENABLE_MODULES = YES; 1354 | CLANG_ENABLE_OBJC_ARC = YES; 1355 | CLANG_WARN_BOOL_CONVERSION = YES; 1356 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1357 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1358 | CLANG_WARN_EMPTY_BODY = YES; 1359 | CLANG_WARN_ENUM_CONVERSION = YES; 1360 | CLANG_WARN_INT_CONVERSION = YES; 1361 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1362 | CLANG_WARN_UNREACHABLE_CODE = YES; 1363 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1364 | CODE_SIGN_IDENTITY = "iPhone Developer"; 1365 | "CODE_SIGN_IDENTITY[sdk=iphoneos11.3]" = "iPhone Developer"; 1366 | COPY_PHASE_STRIP = NO; 1367 | DEVELOPMENT_TEAM = 4GY5GJUTC7; 1368 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1369 | GCC_C_LANGUAGE_STANDARD = gnu99; 1370 | GCC_DYNAMIC_NO_PIC = NO; 1371 | GCC_OPTIMIZATION_LEVEL = 0; 1372 | GCC_PREPROCESSOR_DEFINITIONS = ( 1373 | "DEBUG=1", 1374 | "$(inherited)", 1375 | ); 1376 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1377 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1378 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1379 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1380 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1381 | GCC_WARN_UNUSED_FUNCTION = YES; 1382 | GCC_WARN_UNUSED_VARIABLE = YES; 1383 | IPHONEOS_DEPLOYMENT_TARGET = 9.1; 1384 | MTL_ENABLE_DEBUG_INFO = YES; 1385 | ONLY_ACTIVE_ARCH = YES; 1386 | SDKROOT = iphoneos; 1387 | }; 1388 | name = Debug; 1389 | }; 1390 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1391 | isa = XCBuildConfiguration; 1392 | buildSettings = { 1393 | ALWAYS_SEARCH_USER_PATHS = NO; 1394 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1395 | CLANG_CXX_LIBRARY = "libc++"; 1396 | CLANG_ENABLE_MODULES = YES; 1397 | CLANG_ENABLE_OBJC_ARC = YES; 1398 | CLANG_WARN_BOOL_CONVERSION = YES; 1399 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1400 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1401 | CLANG_WARN_EMPTY_BODY = YES; 1402 | CLANG_WARN_ENUM_CONVERSION = YES; 1403 | CLANG_WARN_INT_CONVERSION = YES; 1404 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1405 | CLANG_WARN_UNREACHABLE_CODE = YES; 1406 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1407 | CODE_SIGN_IDENTITY = "iPhone Developer"; 1408 | "CODE_SIGN_IDENTITY[sdk=iphoneos11.3]" = "iPhone Developer"; 1409 | COPY_PHASE_STRIP = YES; 1410 | DEVELOPMENT_TEAM = 4GY5GJUTC7; 1411 | ENABLE_NS_ASSERTIONS = NO; 1412 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1413 | GCC_C_LANGUAGE_STANDARD = gnu99; 1414 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1415 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1416 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1417 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1418 | GCC_WARN_UNUSED_FUNCTION = YES; 1419 | GCC_WARN_UNUSED_VARIABLE = YES; 1420 | IPHONEOS_DEPLOYMENT_TARGET = 9.1; 1421 | MTL_ENABLE_DEBUG_INFO = NO; 1422 | SDKROOT = iphoneos; 1423 | VALIDATE_PRODUCT = YES; 1424 | }; 1425 | name = Release; 1426 | }; 1427 | /* End XCBuildConfiguration section */ 1428 | 1429 | /* Begin XCConfigurationList section */ 1430 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "examplesTests" */ = { 1431 | isa = XCConfigurationList; 1432 | buildConfigurations = ( 1433 | 00E356F61AD99517003FC87E /* Debug */, 1434 | 00E356F71AD99517003FC87E /* Release */, 1435 | ); 1436 | defaultConfigurationIsVisible = 0; 1437 | defaultConfigurationName = Release; 1438 | }; 1439 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "examples" */ = { 1440 | isa = XCConfigurationList; 1441 | buildConfigurations = ( 1442 | 13B07F941A680F5B00A75B9A /* Debug */, 1443 | 13B07F951A680F5B00A75B9A /* Release */, 1444 | ); 1445 | defaultConfigurationIsVisible = 0; 1446 | defaultConfigurationName = Release; 1447 | }; 1448 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "examples-tvOS" */ = { 1449 | isa = XCConfigurationList; 1450 | buildConfigurations = ( 1451 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1452 | 2D02E4981E0B4A5E006451C7 /* Release */, 1453 | ); 1454 | defaultConfigurationIsVisible = 0; 1455 | defaultConfigurationName = Release; 1456 | }; 1457 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "examples-tvOSTests" */ = { 1458 | isa = XCConfigurationList; 1459 | buildConfigurations = ( 1460 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1461 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1462 | ); 1463 | defaultConfigurationIsVisible = 0; 1464 | defaultConfigurationName = Release; 1465 | }; 1466 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "examples" */ = { 1467 | isa = XCConfigurationList; 1468 | buildConfigurations = ( 1469 | 83CBBA201A601CBA00E9B192 /* Debug */, 1470 | 83CBBA211A601CBA00E9B192 /* Release */, 1471 | ); 1472 | defaultConfigurationIsVisible = 0; 1473 | defaultConfigurationName = Release; 1474 | }; 1475 | /* End XCConfigurationList section */ 1476 | }; 1477 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1478 | } 1479 | -------------------------------------------------------------------------------- /examples/ios/examples.xcodeproj/xcshareddata/xcschemes/examples-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 | -------------------------------------------------------------------------------- /examples/ios/examples.xcodeproj/xcshareddata/xcschemes/examples.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 | -------------------------------------------------------------------------------- /examples/ios/examples/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | @interface AppDelegate : UIResponder 11 | 12 | @property (nonatomic, strong) UIWindow *window; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /examples/ios/examples/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import "AppDelegate.h" 9 | 10 | #import 11 | #import 12 | 13 | @implementation AppDelegate 14 | 15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 16 | { 17 | NSURL *jsCodeLocation; 18 | 19 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 20 | 21 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 22 | moduleName:@"examples" 23 | initialProperties:nil 24 | launchOptions:launchOptions]; 25 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 26 | 27 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 28 | UIViewController *rootViewController = [UIViewController new]; 29 | rootViewController.view = rootView; 30 | self.window.rootViewController = rootViewController; 31 | [self.window makeKeyAndVisible]; 32 | return YES; 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /examples/ios/examples/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 | -------------------------------------------------------------------------------- /examples/ios/examples/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 | } -------------------------------------------------------------------------------- /examples/ios/examples/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /examples/ios/examples/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | examples 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 | -------------------------------------------------------------------------------- /examples/ios/examples/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /examples/ios/examplesTests/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 | -------------------------------------------------------------------------------- /examples/ios/examplesTests/examplesTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | #import 12 | #import 13 | 14 | #define TIMEOUT_SECONDS 600 15 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 16 | 17 | @interface examplesTests : XCTestCase 18 | 19 | @end 20 | 21 | @implementation examplesTests 22 | 23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 24 | { 25 | if (test(view)) { 26 | return YES; 27 | } 28 | for (UIView *subview in [view subviews]) { 29 | if ([self findSubviewInView:subview matching:test]) { 30 | return YES; 31 | } 32 | } 33 | return NO; 34 | } 35 | 36 | - (void)testRendersWelcomeScreen 37 | { 38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 40 | BOOL foundElement = NO; 41 | 42 | __block NSString *redboxError = nil; 43 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 44 | if (level >= RCTLogLevelError) { 45 | redboxError = message; 46 | } 47 | }); 48 | 49 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 50 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 51 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 52 | 53 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 54 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 55 | return YES; 56 | } 57 | return NO; 58 | }]; 59 | } 60 | 61 | RCTSetLogFunction(RCTDefaultLogFunction); 62 | 63 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 64 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 65 | } 66 | 67 | 68 | @end 69 | -------------------------------------------------------------------------------- /examples/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "examples", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "dependencies": { 10 | "react": "16.3.1", 11 | "react-native": "0.55.3", 12 | "react-native-percentage-circle": "^1.0.7", 13 | "react-timer-mixin": "^0.13.3" 14 | }, 15 | "devDependencies": { 16 | "babel-jest": "22.4.3", 17 | "babel-preset-react-native": "4.0.0", 18 | "jest": "22.4.3", 19 | "react-test-renderer": "16.3.1" 20 | }, 21 | "jest": { 22 | "preset": "react-native" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /examples/pr.js: -------------------------------------------------------------------------------- 1 | /** React Native Percentage Circle 2 | ** @github https://github.com/JackPu/react-native-percentage-circle 3 | ** React Native Version >=0.25 4 | ** to fixed react native version 5 | **/ 6 | 7 | import React, { Component } from 'react'; 8 | import { 9 | StyleSheet, 10 | View, 11 | Text, 12 | } from 'react-native'; 13 | 14 | const styles = StyleSheet.create({ 15 | circle: { 16 | overflow: 'hidden', 17 | position: 'relative', 18 | justifyContent: 'center', 19 | alignItems: 'center', 20 | backgroundColor: '#e3e3e3', 21 | }, 22 | leftWrap: { 23 | overflow: 'hidden', 24 | position: 'absolute', 25 | top: 0, 26 | }, 27 | rightWrap: { 28 | position: 'absolute', 29 | 30 | }, 31 | 32 | loader: { 33 | position: 'absolute', 34 | left: 0, 35 | top: 0, 36 | borderRadius: 1000, 37 | 38 | }, 39 | 40 | innerCircle: { 41 | overflow: 'hidden', 42 | position: 'relative', 43 | justifyContent: 'center', 44 | alignItems: 'center', 45 | }, 46 | text: { 47 | fontSize: 11, 48 | color: '#888', 49 | }, 50 | }); 51 | 52 | class PercentageCircle extends Component { 53 | propTypes: { 54 | color: React.PropTypes.string, 55 | bgcolor: React.PropTypes.string, 56 | innerColor: React.PropTypes.string, 57 | radius: React.PropTypes.number, 58 | percent: React.PropTypes.number, 59 | borderWidth: React.Proptypes.number, 60 | textStyle: React.Proptypes.array, 61 | disabled: React.PropTypes.bool, 62 | } 63 | 64 | constructor(props) { 65 | super(props); 66 | let percent = this.props.percent; 67 | let leftTransformerDegree = '0deg'; 68 | let rightTransformerDegree = '0deg'; 69 | if (percent >= 50) { 70 | rightTransformerDegree = '180deg'; 71 | leftTransformerDegree = (percent - 50) * 3.6 + 'deg'; 72 | } else { 73 | rightTransformerDegree = percent * 3.6 + 'deg'; 74 | leftTransformerDegree = '0deg'; 75 | } 76 | 77 | this.state = { 78 | percent: this.props.percent, 79 | borderWidth: this.props.borderWidth < 2 || !this.props.borderWidth ? 2 : this.props.borderWidth, 80 | leftTransformerDegree: leftTransformerDegree, 81 | rightTransformerDegree: rightTransformerDegree, 82 | textStyle: this.props.textStyle ? this.props.textStyle : null 83 | }; 84 | } 85 | 86 | componentWillReceiveProps(nextProps) { 87 | let percent = nextProps.percent; 88 | let leftTransformerDegree = '0deg'; 89 | let rightTransformerDegree = '0deg'; 90 | if (percent >= 50) { 91 | rightTransformerDegree = '180deg'; 92 | leftTransformerDegree = (percent - 50) * 3.6 + 'deg'; 93 | } else { 94 | rightTransformerDegree = percent * 3.6 + 'deg'; 95 | } 96 | this.setState({ 97 | percent: this.props.percent, 98 | borderWidth: this.props.borderWidth < 2 || !this.props.borderWidth ? 2 : this.props.borderWidth, 99 | leftTransformerDegree: leftTransformerDegree, 100 | rightTransformerDegree: rightTransformerDegree 101 | }); 102 | } 103 | 104 | render() { 105 | if (this.props.disabled) { 106 | return ( 107 | 112 | {this.props.disabledText} 113 | 114 | ); 115 | } 116 | return ( 117 | 123 | 128 | 137 | 138 | 143 | 152 | 153 | 159 | {this.props.children ? this.props.children : 160 | {this.props.percent}%} 161 | 162 | 163 | 164 | ); 165 | } 166 | } 167 | 168 | // set some attributes default value 169 | PercentageCircle.defaultProps = { 170 | bgcolor: '#e3e3e3', 171 | innerColor: '#fff' 172 | }; 173 | 174 | module.exports = PercentageCircle; 175 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | /** React Native Percentage Circle 2 | ** @github https://github.com/JackPu/react-native-percentage-circle 3 | ** React Native Version >=0.25 4 | ** to fixed react native version 5 | **/ 6 | 7 | import React, { Component } from 'react'; 8 | import { 9 | StyleSheet, 10 | View, 11 | Text, 12 | } from 'react-native'; 13 | 14 | const styles = StyleSheet.create({ 15 | circle: { 16 | overflow: 'hidden', 17 | position: 'relative', 18 | justifyContent: 'center', 19 | alignItems: 'center', 20 | backgroundColor: '#e3e3e3', 21 | }, 22 | leftWrap: { 23 | overflow: 'hidden', 24 | position: 'absolute', 25 | top: 0, 26 | }, 27 | rightWrap: { 28 | position: 'absolute', 29 | 30 | }, 31 | 32 | loader: { 33 | position: 'absolute', 34 | left: 0, 35 | top: 0, 36 | borderRadius: 1000, 37 | 38 | }, 39 | 40 | innerCircle: { 41 | overflow: 'hidden', 42 | position: 'relative', 43 | justifyContent: 'center', 44 | alignItems: 'center', 45 | }, 46 | text: { 47 | fontSize: 11, 48 | color: '#888', 49 | }, 50 | }); 51 | 52 | class PercentageCircle extends Component { 53 | propTypes: { 54 | color: React.PropTypes.string, 55 | bgcolor: React.PropTypes.string, 56 | innerColor: React.PropTypes.string, 57 | radius: React.PropTypes.number, 58 | percent: React.PropTypes.number, 59 | borderWidth: React.Proptypes.number, 60 | textStyle: React.Proptypes.array, 61 | disabled: React.PropTypes.bool, 62 | } 63 | 64 | constructor(props) { 65 | super(props); 66 | let percent = this.props.percent; 67 | let leftTransformerDegree = '0deg'; 68 | let rightTransformerDegree = '0deg'; 69 | if (percent >= 50) { 70 | rightTransformerDegree = '180deg'; 71 | leftTransformerDegree = (percent - 50) * 3.6 + 'deg'; 72 | } else { 73 | rightTransformerDegree = percent * 3.6 + 'deg'; 74 | leftTransformerDegree = '0deg'; 75 | } 76 | 77 | this.state = { 78 | percent: this.props.percent, 79 | borderWidth: this.props.borderWidth < 2 || !this.props.borderWidth ? 2 : this.props.borderWidth, 80 | leftTransformerDegree: leftTransformerDegree, 81 | rightTransformerDegree: rightTransformerDegree, 82 | textStyle: this.props.textStyle ? this.props.textStyle : null 83 | }; 84 | } 85 | 86 | componentWillReceiveProps(nextProps) { 87 | let percent = nextProps.percent; 88 | let leftTransformerDegree = '0deg'; 89 | let rightTransformerDegree = '0deg'; 90 | if (percent >= 50) { 91 | rightTransformerDegree = '180deg'; 92 | leftTransformerDegree = (percent - 50) * 3.6 + 'deg'; 93 | } else { 94 | rightTransformerDegree = percent * 3.6 + 'deg'; 95 | } 96 | this.setState({ 97 | percent: this.props.percent, 98 | borderWidth: this.props.borderWidth < 2 || !this.props.borderWidth ? 2 : this.props.borderWidth, 99 | leftTransformerDegree: leftTransformerDegree, 100 | rightTransformerDegree: rightTransformerDegree 101 | }); 102 | } 103 | 104 | render() { 105 | if (this.props.disabled) { 106 | return ( 107 | 112 | {this.props.disabledText} 113 | 114 | ); 115 | } 116 | return ( 117 | 123 | 128 | 137 | 138 | 143 | 152 | 153 | 159 | {this.props.children ? this.props.children : 160 | {this.props.percent}%} 161 | 162 | 163 | 164 | ); 165 | } 166 | } 167 | 168 | // set some attributes default value 169 | PercentageCircle.defaultProps = { 170 | bgcolor: '#e3e3e3', 171 | innerColor: '#fff' 172 | }; 173 | 174 | module.exports = PercentageCircle; 175 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-native-percentage-circle", 3 | "version": "1.0.7", 4 | "description": "react native percentage circle and also be a progress bar", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/JackPu/react-native-percentage-circle.git" 12 | }, 13 | "keywords": [ 14 | "percentage", 15 | "circle", 16 | "progress", 17 | "bar" 18 | ], 19 | "author": "jack pu", 20 | "license": "ISC", 21 | "bugs": { 22 | "url": "https://github.com/JackPu/react-native-percentage-circle/issues" 23 | }, 24 | "homepage": "https://github.com/JackPu/react-native-percentage-circle#readme", 25 | "dependencies": { 26 | "react": "^16.3.2" 27 | }, 28 | "devDependencies": { 29 | "enzyme": "^3.3.0", 30 | "enzyme-adapter-react-16": "^1.1.1", 31 | "react-dom": "^16.3.2", 32 | "react-native-mock": "^0.3.1" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /screenshots/01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JackPu/react-native-percentage-circle/e3985b723f5dae3ace207c8bfc70f9e08214bc71/screenshots/01.png --------------------------------------------------------------------------------