├── example ├── .watchmanconfig ├── .gitattributes ├── app.json ├── android │ ├── .settings │ │ └── org.eclipse.buildship.core.prefs │ ├── app │ │ ├── .settings │ │ │ └── org.eclipse.buildship.core.prefs │ │ ├── src │ │ │ └── main │ │ │ │ ├── res │ │ │ │ ├── values │ │ │ │ │ ├── strings.xml │ │ │ │ │ └── styles.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ └── mipmap-xxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ ├── MainActivity.java │ │ │ │ │ └── MainApplication.java │ │ │ │ └── AndroidManifest.xml │ │ ├── .classpath │ │ ├── .project │ │ ├── BUCK │ │ ├── proguard-rules.pro │ │ └── build.gradle │ ├── keystores │ │ ├── debug.keystore.properties │ │ └── BUCK │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── settings.gradle │ ├── android.properties │ ├── .project │ ├── build.gradle │ ├── gradle.properties │ ├── module_android.xml │ ├── gradlew.bat │ ├── android.xml │ └── gradlew ├── .buckconfig ├── .babelrc ├── __tests__ │ ├── index.ios.js │ └── index.android.js ├── ios │ ├── example │ │ ├── AppDelegate.h │ │ ├── main.m │ │ ├── Images.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── AppDelegate.m │ │ ├── Info.plist │ │ └── Base.lproj │ │ │ └── LaunchScreen.xib │ ├── exampleTests │ │ ├── Info.plist │ │ └── exampleTests.m │ ├── example-tvOSTests │ │ └── Info.plist │ ├── example-tvOS │ │ └── Info.plist │ └── example.xcodeproj │ │ ├── xcshareddata │ │ └── xcschemes │ │ │ ├── example.xcscheme │ │ │ └── example-tvOS.xcscheme │ │ └── project.pbxproj ├── package.json ├── .gitignore ├── .flowconfig └── index.js ├── .DS_Store ├── Images ├── iOSExample.png └── androidExample.png ├── CoordinatePoints.js ├── FlatNodes.js ├── ConstructCurves.js ├── SiblingCurves.js ├── ZigZagUtil.js ├── siblingUtil.js ├── package.json ├── LICENSE ├── .gitignore ├── DeployNodes.js ├── index.js ├── README.md └── yarn.lock /example/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /example/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /example/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example", 3 | "displayName": "example" 4 | } -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesinghanoop/react-native-d3-tree-graph/HEAD/.DS_Store -------------------------------------------------------------------------------- /Images/iOSExample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesinghanoop/react-native-d3-tree-graph/HEAD/Images/iOSExample.png -------------------------------------------------------------------------------- /example/android/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | #Fri Jun 14 15:35:26 IST 2019 2 | connection.project.dir= 3 | -------------------------------------------------------------------------------- /Images/androidExample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesinghanoop/react-native-d3-tree-graph/HEAD/Images/androidExample.png -------------------------------------------------------------------------------- /example/android/app/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | #Fri Jun 14 15:35:27 IST 2019 2 | connection.project.dir=.. 3 | -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | example 3 | 4 | -------------------------------------------------------------------------------- /example/.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /example/android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /example/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["module:metro-react-native-babel-preset"], 3 | "plugins": [ 4 | "@babel/plugin-proposal-nullish-coalescing-operator" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesinghanoop/react-native-d3-tree-graph/HEAD/example/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesinghanoop/react-native-d3-tree-graph/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesinghanoop/react-native-d3-tree-graph/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesinghanoop/react-native-d3-tree-graph/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesinghanoop/react-native-d3-tree-graph/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /example/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'example' 2 | include ':react-native-svg' 3 | project(':react-native-svg').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-svg/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /example/android/android.properties: -------------------------------------------------------------------------------- 1 | path.variable.kotlin_bundled=/Applications/Android Studio.app/Contents/plugins/Kotlin/kotlinc 2 | jdk.home.1.8=/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home 3 | javac2.instrumentation.includeJavaRuntime=false -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /CoordinatePoints.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | export function kx (d) { 4 | return d.x - 20; 5 | } 6 | 7 | export function ky (d) { 8 | return d.y - 10; 9 | } 10 | 11 | export function tx (d) { 12 | return d.x - 3; 13 | }; 14 | 15 | export function ty (d) { 16 | return d.y + 3; 17 | }; -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 14 01:13:23 IST 2019 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip 7 | -------------------------------------------------------------------------------- /FlatNodes.js: -------------------------------------------------------------------------------- 1 | export function flatten(root) { 2 | var n = [], 3 | i = 0; 4 | 5 | function recurse(node) { 6 | if (node.children) node.children.forEach(recurse); 7 | if (!node.id) node.id = ++i; 8 | n.push(node); 9 | } 10 | recurse(root); 11 | return n; 12 | } -------------------------------------------------------------------------------- /example/__tests__/index.ios.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.ios.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /example/__tests__/index.android.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.android.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /example/android/app/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ConstructCurves.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import _ from 'lodash' 3 | import { JoinPaths } from './ZigZagUtil' 4 | import Svg,{ Path } from 'react-native-svg' 5 | 6 | export function NodeCurves(links) 7 | { 8 | const nodePath = _.map(links,function (d,i) { 9 | return 10 | }) 11 | 12 | return nodePath 13 | } -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/example/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "example"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /example/android/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | example 4 | Project example created by Buildship. 5 | 6 | 7 | 8 | 9 | org.eclipse.buildship.core.gradleprojectbuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.buildship.core.gradleprojectnature 16 | 17 | 18 | -------------------------------------------------------------------------------- /SiblingCurves.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import _ from 'lodash' 3 | import { sblingLine } from './siblingUtil' 4 | import Svg,{ Path } from 'react-native-svg' 5 | 6 | export function SiblingCurves(siblings,allNodes) 7 | { 8 | const siblingJoins = _.map(siblings,function (d,i) { 9 | return 10 | }) 11 | 12 | return siblingJoins 13 | } -------------------------------------------------------------------------------- /example/ios/example/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (nonatomic, strong) UIWindow *window; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /example/ios/example/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import "AppDelegate.h" 13 | 14 | int main(int argc, char * argv[]) { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /example/android/app/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | app 4 | Project app created by Buildship. 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.buildship.core.gradleprojectbuilder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.buildship.core.gradleprojectnature 22 | 23 | 24 | -------------------------------------------------------------------------------- /ZigZagUtil.js: -------------------------------------------------------------------------------- 1 | import * as d3 from "d3"; 2 | 3 | export function JoinPaths(d) { 4 | if (d.target.no_parent) { 5 | return "M0,0L0,0"; 6 | } 7 | var diff = d.source.y - d.target.y; 8 | //0.40 defines the point from where you need the line to break out change is as per your choice. 9 | var ny = d.target.y + diff * 0.40; 10 | 11 | linedata = [{ 12 | x: d.target.x, 13 | y: d.target.y 14 | }, { 15 | x: d.target.x, 16 | y: ny 17 | }, { 18 | x: d.source.x, 19 | y: d.source.y 20 | }] 21 | 22 | var fun = d3.svg.line().x(function (d) { 23 | return d.x; 24 | }).y(function (d) { 25 | return d.y; 26 | }).interpolate("step-after"); 27 | return fun(linedata); 28 | } -------------------------------------------------------------------------------- /example/android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | google() 7 | } 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:3.4.1' 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | allprojects { 17 | repositories { 18 | mavenLocal() 19 | jcenter() 20 | maven { 21 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 22 | url "$rootDir/../node_modules/react-native/android" 23 | } 24 | google() 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "dependencies": { 10 | "@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4", 11 | "metro-react-native-babel-preset": "^0.54.1", 12 | "prop-types": "^15.7.2", 13 | "react": "16.8.3", 14 | "react-native": "0.59.9", 15 | "react-native-d3-tree-graph": "^1.0.11", 16 | "react-native-svg": "^9.5.1", 17 | "react-native-svg-uri": "^1.2.3" 18 | }, 19 | "devDependencies": { 20 | "babel-jest": "20.0.3", 21 | "babel-preset-react-native": "^5.0.2", 22 | "jest": "20.0.3", 23 | "react-test-renderer": "16.0.0-alpha.6" 24 | }, 25 | "jest": { 26 | "preset": "react-native" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /example/ios/exampleTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /example/ios/example-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /siblingUtil.js: -------------------------------------------------------------------------------- 1 | import * as d3 from "d3"; 2 | 3 | export function sblingLine(d,allNodes) { 4 | //start point 5 | var start = allNodes.filter(function (v) { 6 | if (d.source.id == v.id) { 7 | return true; 8 | } else { 9 | return false; 10 | } 11 | }); 12 | //end point 13 | var end = allNodes.filter(function (v) { 14 | if (d.target.id == v.id) { 15 | return true; 16 | } else { 17 | return false; 18 | } 19 | }); 20 | //define teh start coordinate and end co-ordinate 21 | var linedata = [{ 22 | x: start[0].x, 23 | y: start[0].y 24 | }, { 25 | x: end[0].x, 26 | y: end[0].y 27 | }]; 28 | var fun = d3.svg.line().x(function (d) { 29 | return d.x; 30 | }).y(function (d) { 31 | return d.y; 32 | }).interpolate("linear"); 33 | return fun(linedata); 34 | } -------------------------------------------------------------------------------- /example/android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useDeprecatedNdk=true -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-native-d3-tree-graph", 3 | "version": "1.0.12", 4 | "description": "A topological graph implementation using d3 graphs.", 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/codesinghanoop/react-native-d3-tree-graph.git" 12 | }, 13 | "keywords": [ 14 | "graph", 15 | "d3", 16 | "android", 17 | "ios", 18 | "shapes", 19 | "svg", 20 | "flow-chart", 21 | "topological-graph", 22 | "tree", 23 | "hierarchy", 24 | "family-tree", 25 | "d3-hierarchy" 26 | ], 27 | "author": "Anoop Singh", 28 | "license": "MIT", 29 | "bugs": { 30 | "url": "https://github.com/codesinghanoop/react-native-d3-tree-graph/issues" 31 | }, 32 | "homepage": "https://github.com/codesinghanoop/react-native-d3-tree-graph#readme", 33 | "dependencies": { 34 | "d3": "3.5.17" 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 50 | 51 | fastlane/report.xml 52 | fastlane/Preview.html 53 | fastlane/screenshots 54 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Anoop Singh 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Runtime data 9 | pids 10 | *.pid 11 | *.seed 12 | *.pid.lock 13 | 14 | # Directory for instrumented libs generated by jscoverage/JSCover 15 | lib-cov 16 | 17 | # Coverage directory used by tools like istanbul 18 | coverage 19 | 20 | # nyc test coverage 21 | .nyc_output 22 | 23 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 24 | .grunt 25 | 26 | # Bower dependency directory (https://bower.io/) 27 | bower_components 28 | 29 | # node-waf configuration 30 | .lock-wscript 31 | 32 | # Compiled binary addons (http://nodejs.org/api/addons.html) 33 | build/Release 34 | 35 | # Dependency directories 36 | node_modules/ 37 | jspm_packages/ 38 | 39 | # Typescript v1 declaration files 40 | typings/ 41 | 42 | # Optional npm cache directory 43 | .npm 44 | 45 | # Optional eslint cache 46 | .eslintcache 47 | 48 | # Optional REPL history 49 | .node_repl_history 50 | 51 | # Output of 'npm pack' 52 | *.tgz 53 | 54 | # Yarn Integrity file 55 | .yarn-integrity 56 | 57 | # dotenv environment variables file 58 | .env 59 | 60 | -------------------------------------------------------------------------------- /example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 15 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/example/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.example; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.horcrux.svg.SvgPackage; 7 | import com.facebook.react.ReactNativeHost; 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.react.shell.MainReactPackage; 10 | import com.facebook.soloader.SoLoader; 11 | 12 | import java.util.Arrays; 13 | import java.util.List; 14 | 15 | public class MainApplication extends Application implements ReactApplication { 16 | 17 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 18 | @Override 19 | public boolean getUseDeveloperSupport() { 20 | return BuildConfig.DEBUG; 21 | } 22 | 23 | @Override 24 | protected List getPackages() { 25 | return Arrays.asList( 26 | new MainReactPackage(), 27 | new SvgPackage() 28 | ); 29 | } 30 | 31 | @Override 32 | protected String getJSMainModuleName() { 33 | return "index"; 34 | } 35 | }; 36 | 37 | @Override 38 | public ReactNativeHost getReactNativeHost() { 39 | return mReactNativeHost; 40 | } 41 | 42 | @Override 43 | public void onCreate() { 44 | super.onCreate(); 45 | SoLoader.init(this, /* native exopackage */ false); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /example/ios/example/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | 12 | #import 13 | #import 14 | 15 | @implementation AppDelegate 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | NSURL *jsCodeLocation; 20 | 21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"example" 25 | initialProperties:nil 26 | launchOptions:launchOptions]; 27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 28 | 29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 30 | UIViewController *rootViewController = [UIViewController new]; 31 | rootViewController.view = rootView; 32 | self.window.rootViewController = rootViewController; 33 | [self.window makeKeyAndVisible]; 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /DeployNodes.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import _ from 'lodash' 3 | import { tx, ty, kx, ky } from './CoordinatePoints' 4 | import Svg,{ G, Text, Rect, Image } from 'react-native-svg' 5 | 6 | export function DeployNodes(nodes) 7 | { 8 | const rectNodes = _.map(nodes,function (n,index) { 9 | let text, imageWidth, imageHeight; 10 | imageWidth = n.nodeImageStyle ? n.nodeImageStyle.imageWidth : 50 11 | imageHeight = n.nodeImageStyle ? n.nodeImageStyle.imageHeight : 50 12 | if(n.name) 13 | { 14 | text = { n.name } 16 | return ( 17 | 25 | {text} 26 | ) 27 | } 28 | }) 29 | return rectNodes 30 | } 31 | -------------------------------------------------------------------------------- /example/.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | .*/Libraries/react-native/ReactNative.js 16 | 17 | [include] 18 | 19 | [libs] 20 | node_modules/react-native/Libraries/react-native/react-native-interface.js 21 | node_modules/react-native/flow 22 | flow/ 23 | 24 | [options] 25 | emoji=true 26 | 27 | module.system=haste 28 | 29 | experimental.strict_type_args=true 30 | 31 | munge_underscores=true 32 | 33 | 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' 34 | 35 | suppress_type=$FlowIssue 36 | suppress_type=$FlowFixMe 37 | suppress_type=$FixMe 38 | 39 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 40 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 41 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 42 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 43 | 44 | unsafe.enable_getters_and_setters=true 45 | 46 | [version] 47 | ^0.42.0 48 | -------------------------------------------------------------------------------- /example/ios/example-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /example/android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | lib_deps = [] 12 | 13 | for jarfile in glob(['libs/*.jar']): 14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')] 15 | lib_deps.append(':' + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | 21 | for aarfile in glob(['libs/*.aar']): 22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')] 23 | lib_deps.append(':' + name) 24 | android_prebuilt_aar( 25 | name = name, 26 | aar = aarfile, 27 | ) 28 | 29 | android_library( 30 | name = "all-libs", 31 | exported_deps = lib_deps, 32 | ) 33 | 34 | android_library( 35 | name = "app-code", 36 | srcs = glob([ 37 | "src/main/java/**/*.java", 38 | ]), 39 | deps = [ 40 | ":all-libs", 41 | ":build_config", 42 | ":res", 43 | ], 44 | ) 45 | 46 | android_build_config( 47 | name = "build_config", 48 | package = "com.example", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.example", 54 | res = "src/main/res", 55 | ) 56 | 57 | android_binary( 58 | name = "app", 59 | keystore = "//android/keystores:debug", 60 | manifest = "src/main/AndroidManifest.xml", 61 | package_type = "debug", 62 | deps = [ 63 | ":app-code", 64 | ], 65 | ) 66 | -------------------------------------------------------------------------------- /example/ios/example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | example 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UIViewControllerBasedStatusBarAppearance 40 | 41 | NSLocationWhenInUseUsageDescription 42 | 43 | NSAppTransportSecurity 44 | 45 | 46 | NSExceptionDomains 47 | 48 | localhost 49 | 50 | NSExceptionAllowsInsecureHTTPLoads 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /example/ios/exampleTests/exampleTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | #import 12 | 13 | #import 14 | #import 15 | 16 | #define TIMEOUT_SECONDS 600 17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 18 | 19 | @interface exampleTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation exampleTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /example/android/module_android.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { 3 | AppRegistry, 4 | StyleSheet, 5 | View, 6 | ScrollView, 7 | Dimensions, 8 | Animated 9 | } from 'react-native'; 10 | 11 | import Svg,{ Circle, G, Path, Text, Rect } from 'react-native-svg' 12 | import * as d3 from "d3"; 13 | import _ from 'lodash' 14 | import { flatten } from './FlatNodes' 15 | import { NodeCurves } from './ConstructCurves' 16 | import { DeployNodes } from './DeployNodes' 17 | import { SiblingCurves } from './SiblingCurves' 18 | 19 | 20 | var {height, width} = Dimensions.get('window'); 21 | var margin = { 22 | top: 10, 23 | right: 10, 24 | bottom: 10, 25 | left: 10 26 | }, 27 | curves,siblingpath,rectNodes 28 | 29 | export default class AwesomeHierarchyGraph extends Component { 30 | 31 | constructor (props) { 32 | super(props); 33 | this.state = { 34 | scale: new Animated.Value(0) 35 | } 36 | this.animate = this.animate.bind(this); 37 | } 38 | 39 | componentDidMount() { 40 | this.animate(); 41 | } 42 | 43 | drawTree() 44 | { 45 | const { root, siblings } = this.props 46 | 47 | var allNodes = flatten(root); 48 | 49 | var tree = d3.layout.tree().size([1000, height]), 50 | nodes = tree.nodes(root), 51 | links = tree.links(nodes); 52 | 53 | curves = NodeCurves(links) 54 | siblingpath = SiblingCurves(siblings,allNodes) 55 | rectNodes = DeployNodes(nodes) 56 | } 57 | 58 | animate() { 59 | Animated.stagger(10,[ 60 | Animated.timing(this.state.scale, 61 | { 62 | toValue:1, 63 | duration:5000 64 | }) 65 | ]).start(this.animate) 66 | } 67 | 68 | render() { 69 | this.drawTree() 70 | return ( 71 | 72 | 73 | 74 | 75 | 76 | 77 | { siblingpath } 78 | { rectNodes } 79 | { curves } 80 | 81 | 82 | 83 | 84 | 85 | 86 | ); 87 | } 88 | } 89 | 90 | const styles = StyleSheet.create({ 91 | container: { 92 | flex: 1, 93 | justifyContent: 'center', 94 | alignItems: 'center', 95 | backgroundColor: '#F5FCFF', 96 | }, 97 | welcome: { 98 | fontSize: 20, 99 | textAlign: 'center', 100 | margin: 10, 101 | }, 102 | instructions: { 103 | textAlign: 'center', 104 | color: '#333333', 105 | marginBottom: 5, 106 | }, 107 | }); 108 | -------------------------------------------------------------------------------- /example/android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /example/android/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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # react-native-d3-tree-graph 2 | An implementation of d3 graph to construct flow chart(d3 topological graph(tree)). 3 | 4 | **Latest version Release note** 5 | 6 | - Now images can be added in place of rectangles in all nodes. 7 | - Annoying issue with the previous version was collision between react-native-svg versions and it's resolved now. 8 | - New props are available to style node which will be included along with node object like below. 9 | ```{ 10 | name: "J", 11 | id: 12, 12 | imageUrl: { href: { uri: "https://facebook.github.io/react-native/docs/assets/favicon.png"}}, //new prop 13 | nodeImageStyle: { imageHeight: 60 , imageWidth: 60, opacity: 1 }, //new prop 14 | nodeTextStyle: { fontSize: 12 } //new prop 15 | }``` 16 | - Example is upgraded to latest version of react native i.e 0.59.9 and react-native-svg i.e 9.5.1 17 | 18 | **A big thanks to SUI for giving me this idea of upgrading library to show images** 19 | 20 | 21 | **Try the example app 22 | 23 | ![](https://github.com/codesinghanoop/react-native-d3-tree-graph/blob/master/Images/androidExample.png) 24 | 25 | ![](https://github.com/codesinghanoop/react-native-d3-tree-graph/blob/master/Images/iOSExample.png) 26 | 27 | **Getting Started** 28 | 29 | - Step 1- npm install react-native-d3-tree-graph --save 30 | - Step 2 - npm install react-native-svg --save 31 | - Step 3- react-native link react-native-svg 32 | - Step 4- Build the project and watch the beauty. 33 | 34 | ---------- 35 | 36 | **Usage** 37 | Note: For proper understanding see the [example][1] 38 | 39 | import AwesomeHierarchyGraph from 'react-native-d3-tree-graph' 40 | 41 | var root = { 42 | name: "", 43 | id: 1, 44 | hidden: true, 45 | children: [ { 46 | name: "Q", 47 | id: 16, 48 | no_parent: true 49 | }] 50 | } 51 | 52 | var siblings = [{ 53 | source: { 54 | id: 3, 55 | name: "C" 56 | }, 57 | target: { 58 | id: 11, 59 | name: "K" 60 | } 61 | }] 62 | 63 | export default class example extends Component { 64 | render() { 65 | return ( 66 | 67 | 71 | 72 | ); 73 | } 74 | 75 | const styles = StyleSheet.create({ 76 | container: { 77 | flex: 1, 78 | justifyContent: 'center', 79 | alignItems: 'center', 80 | backgroundColor: '#F5FCFF', 81 | }, 82 | welcome: { 83 | fontSize: 20, 84 | textAlign: 'center', 85 | margin: 10, 86 | }, 87 | instructions: { 88 | textAlign: 'center', 89 | color: '#333333', 90 | marginBottom: 5, 91 | }, 92 | }); 93 | 94 | ---------- 95 | 96 | **Properties** 97 | 98 | | Name | Type | 99 | | ------------- |:-------------:| 100 | | root | PropTypes.object| 101 | | siblings | propTypes.array | 102 | 103 | ---------- 104 | 105 | **Todo list:-** 106 | 107 | - Callbacks. 108 | 109 | - Add animation to the graph 110 | 111 | - Add test 112 | 113 | ---------- 114 | 115 | **Author** 116 | 117 | Anoop Singh (codesingh) 118 | Email: anoop100singh@gmail.com 119 | Stack Overflow: codesingh(username) 120 | 121 | ---------- 122 | 123 | **License** 124 | 125 | MIT 126 | 127 | 128 | [1]: https://github.com/codesinghanoop/react-native-d3-tree-graph/tree/master/example 129 | -------------------------------------------------------------------------------- /example/ios/example/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /example/android/android.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/xcshareddata/xcschemes/example-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /example/android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /example/android/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 | * // the root of your project, i.e. where "package.json" lives 37 | * root: "../../", 38 | * 39 | * // where to put the JS bundle asset in debug mode 40 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 41 | * 42 | * // where to put the JS bundle asset in release mode 43 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 44 | * 45 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 46 | * // require('./image.png')), in debug mode 47 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 48 | * 49 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 50 | * // require('./image.png')), in release mode 51 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 52 | * 53 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 54 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 55 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 56 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 57 | * // for example, you might want to remove it from here. 58 | * inputExcludes: ["android/**", "ios/**"], 59 | * 60 | * // override which node gets called and with what additional arguments 61 | * nodeExecutableAndArgs: ["node"], 62 | * 63 | * // supply additional arguments to the packager 64 | * extraPackagerArgs: [] 65 | * ] 66 | */ 67 | 68 | apply from: "../../node_modules/react-native/react.gradle" 69 | 70 | /** 71 | * Set this to true to create two separate APKs instead of one: 72 | * - An APK that only works on ARM devices 73 | * - An APK that only works on x86 devices 74 | * The advantage is the size of the APK is reduced by about 4MB. 75 | * Upload all the APKs to the Play Store and people will download 76 | * the correct one based on the CPU architecture of their device. 77 | */ 78 | def enableSeparateBuildPerCPUArchitecture = false 79 | 80 | /** 81 | * Run Proguard to shrink the Java bytecode in release builds. 82 | */ 83 | def enableProguardInReleaseBuilds = false 84 | 85 | android { 86 | compileSdkVersion 28 87 | buildToolsVersion '27.0.3' 88 | 89 | defaultConfig { 90 | applicationId "com.example" 91 | minSdkVersion 16 92 | targetSdkVersion 26 93 | versionCode 1 94 | versionName "1.0" 95 | ndk { 96 | abiFilters "armeabi-v7a", "x86" 97 | } 98 | } 99 | splits { 100 | abi { 101 | reset() 102 | enable enableSeparateBuildPerCPUArchitecture 103 | universalApk false // If true, also generate a universal APK 104 | include "armeabi-v7a", "x86" 105 | } 106 | } 107 | buildTypes { 108 | release { 109 | minifyEnabled enableProguardInReleaseBuilds 110 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 111 | } 112 | } 113 | // applicationVariants are e.g. debug, release 114 | applicationVariants.all { variant -> 115 | variant.outputs.each { output -> 116 | // For each separate APK per architecture, set a unique version code as described here: 117 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 118 | def versionCodes = ["armeabi-v7a":1, "x86":2] 119 | def abi = output.getFilter(OutputFile.ABI) 120 | if (abi != null) { // null for the universal-debug, universal-release variants 121 | output.versionCodeOverride = 122 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 123 | } 124 | } 125 | } 126 | } 127 | 128 | dependencies { 129 | compile project(':react-native-svg') 130 | compile fileTree(dir: "libs", include: ["*.jar"]) 131 | compile "com.android.support:appcompat-v7:27.1.1 " 132 | compile "com.facebook.react:react-native:+" // From node_modules 133 | } 134 | 135 | // Run this once to be able to run the application with BUCK 136 | // puts all compile dependencies into folder libs for BUCK to use 137 | task copyDownloadableDepsToLibs(type: Copy) { 138 | from configurations.compile 139 | into 'libs' 140 | } 141 | -------------------------------------------------------------------------------- /example/index.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 { 9 | AppRegistry, 10 | StyleSheet, 11 | Text, 12 | View 13 | } from 'react-native'; 14 | import AwesomeHierarchyGraph from 'react-native-d3-tree-graph' 15 | 16 | var root = { 17 | name: "", 18 | id: 1, 19 | hidden: true, 20 | children: [ { 21 | name: "Q", 22 | id: 16, 23 | no_parent: true, 24 | imageUrl: { href: { uri: "https://facebook.github.io/react-native/docs/assets/favicon.png"}}, 25 | nodeImageStyle: { imageHeight: 60 , imageWidth: 60, opacity: 1 }, 26 | nodeTextStyle: { fontSize: 12 } 27 | }, 28 | { 29 | name: "", 30 | id: 2, 31 | no_parent: true, 32 | hidden: true, 33 | children: [{ 34 | name: "J", 35 | id: 12, 36 | imageUrl: { href: { uri: "https://facebook.github.io/react-native/docs/assets/favicon.png"}}, 37 | nodeImageStyle: { imageHeight: 60 , imageWidth: 60, opacity: 1 }, 38 | nodeTextStyle: { fontSize: 12 } 39 | }, { 40 | name: "L", 41 | id: 13, 42 | no_parent: true, 43 | imageUrl: { href: { uri: "https://facebook.github.io/react-native/docs/assets/favicon.png"}}, 44 | nodeImageStyle: { imageHeight: 60 , imageWidth: 60, opacity: 1 }, 45 | nodeTextStyle: { fontSize: 12 } 46 | }, { 47 | name: "C", 48 | id: 3, 49 | imageUrl: { href: { uri: "https://facebook.github.io/react-native/docs/assets/favicon.png"}}, 50 | nodeImageStyle: { imageHeight: 60 , imageWidth: 60, opacity: 1 }, 51 | nodeTextStyle: { fontSize: 12 } 52 | }, { 53 | name: "", 54 | id: 4, 55 | hidden: true, 56 | no_parent: true, 57 | children: [{ 58 | name: "D", 59 | id: 5, 60 | imageUrl: { href: { uri: "https://facebook.github.io/react-native/docs/assets/favicon.png"}}, 61 | nodeImageStyle: { imageHeight: 60 , imageWidth: 60, opacity: 1 }, 62 | nodeTextStyle: { fontSize: 12 } 63 | }, { 64 | name: "", 65 | id: 14, 66 | hidden: true, 67 | no_parent: true, 68 | children: [{ 69 | name: "P", 70 | id: 15, 71 | imageUrl: { href: { uri: "https://facebook.github.io/react-native/docs/assets/favicon.png"}}, 72 | nodeImageStyle: { imageHeight: 60 , imageWidth: 60, opacity: 1 }, 73 | nodeTextStyle: { fontSize: 12 } 74 | }] 75 | }, { 76 | name: "E", 77 | id: 6, 78 | imageUrl: { href: { uri: "https://facebook.github.io/react-native/docs/assets/favicon.png"}}, 79 | nodeImageStyle: { imageHeight: 60 , imageWidth: 60, opacity: 1 }, 80 | nodeTextStyle: { fontSize: 12 } 81 | }] 82 | }, { 83 | name: "K", 84 | id: 11, 85 | imageUrl: { href: { uri: "https://facebook.github.io/react-native/docs/assets/favicon.png"}}, 86 | nodeImageStyle: { imageHeight: 60 , imageWidth: 60, opacity: 1 }, 87 | nodeTextStyle: { fontSize: 12 } 88 | }, { 89 | name: "G", 90 | id: 7, 91 | imageUrl: { href: { uri: "https://facebook.github.io/react-native/docs/assets/favicon.png"}}, 92 | nodeImageStyle: { imageHeight: 60 , imageWidth: 60, opacity: 1 }, 93 | nodeTextStyle: { fontSize: 12 }, 94 | children: [{ 95 | name: "H", 96 | id: 8, 97 | imageUrl: { href: { uri: "https://facebook.github.io/react-native/docs/assets/favicon.png"}}, 98 | nodeImageStyle: { imageHeight: 60 , imageWidth: 60, opacity: 1 }, 99 | nodeTextStyle: { fontSize: 12 } 100 | }, { 101 | name: "I", 102 | id: 9, 103 | imageUrl: { href: { uri: "https://facebook.github.io/react-native/docs/assets/favicon.png"}}, 104 | nodeImageStyle: { imageHeight: 60 , imageWidth: 60, opacity: 1 }, 105 | nodeTextStyle: { fontSize: 12 } 106 | }] 107 | }] 108 | }, { 109 | name: "M", 110 | id: 10, 111 | no_parent: true, 112 | imageUrl: { href: { uri: "https://facebook.github.io/react-native/docs/assets/favicon.png"}}, 113 | nodeImageStyle: { imageHeight: 60 , imageWidth: 60, opacity: 1 }, 114 | nodeTextStyle: { fontSize: 12 }, 115 | children: [ 116 | 117 | ] 118 | }, 119 | { 120 | name: "anoop", 121 | id: 155, 122 | no_parent: true, 123 | children: [{ 124 | name: "H", 125 | id: 8, 126 | }, { 127 | name: "I", 128 | id: 9, 129 | }, 130 | { 131 | name: "I", 132 | id: 9, 133 | }, 134 | { 135 | name: "I", 136 | id: 9, 137 | }, 138 | { 139 | name: "I", 140 | id: 9, 141 | }, 142 | 143 | ] 144 | }, 145 | { 146 | name: "x", 147 | id: 16, 148 | no_parent: true 149 | } 150 | 151 | ] 152 | } 153 | 154 | var siblings = [{ 155 | source: { 156 | id: 3, 157 | name: "C" 158 | }, 159 | target: { 160 | id: 11, 161 | name: "K" 162 | } 163 | }, { 164 | source: { 165 | id: 12, 166 | name: "L" 167 | }, 168 | target: { 169 | id: 13, 170 | name: "J" 171 | } 172 | }, { 173 | source: { 174 | id: 5, 175 | name: "D" 176 | }, 177 | target: { 178 | id: 6, 179 | name: "E" 180 | } 181 | }, { 182 | source: { 183 | id: 16, 184 | name: "Q" 185 | }, 186 | target: { 187 | id: 10, 188 | name: "M" 189 | } 190 | }]; 191 | 192 | 193 | export default class example extends Component { 194 | render() { 195 | return ( 196 | 197 | 201 | 202 | ); 203 | } 204 | } 205 | 206 | const styles = StyleSheet.create({ 207 | container: { 208 | flex: 1, 209 | justifyContent: 'center', 210 | alignItems: 'center', 211 | backgroundColor: '#F5FCFF', 212 | }, 213 | welcome: { 214 | fontSize: 20, 215 | textAlign: 'center', 216 | margin: 10, 217 | }, 218 | instructions: { 219 | textAlign: 'center', 220 | color: '#333333', 221 | marginBottom: 5, 222 | }, 223 | }); 224 | 225 | AppRegistry.registerComponent('example', () => example); 226 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | clone@^1.0.2: 6 | version "1.0.2" 7 | resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.2.tgz#260b7a99ebb1edfe247538175f783243cb19d149" 8 | 9 | color-convert@^1.3.0: 10 | version "1.9.0" 11 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.0.tgz#1accf97dd739b983bf994d56fec8f95853641b7a" 12 | dependencies: 13 | color-name "^1.1.1" 14 | 15 | color-name@^1.0.0, color-name@^1.1.1: 16 | version "1.1.2" 17 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.2.tgz#5c8ab72b64bd2215d617ae9559ebb148475cf98d" 18 | 19 | color-string@^0.3.0: 20 | version "0.3.0" 21 | resolved "https://registry.yarnpkg.com/color-string/-/color-string-0.3.0.tgz#27d46fb67025c5c2fa25993bfbf579e47841b991" 22 | dependencies: 23 | color-name "^1.0.0" 24 | 25 | color@^0.11.1: 26 | version "0.11.4" 27 | resolved "https://registry.yarnpkg.com/color/-/color-0.11.4.tgz#6d7b5c74fb65e841cd48792ad1ed5e07b904d764" 28 | dependencies: 29 | clone "^1.0.2" 30 | color-convert "^1.3.0" 31 | color-string "^0.3.0" 32 | 33 | commander@2: 34 | version "2.9.0" 35 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" 36 | dependencies: 37 | graceful-readlink ">= 1.0.0" 38 | 39 | d3-array@1, d3-array@1.2.0, d3-array@^1.2.0: 40 | version "1.2.0" 41 | resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-1.2.0.tgz#147d269720e174c4057a7f42be8b0f3f2ba53108" 42 | 43 | d3-axis@1.0.7: 44 | version "1.0.7" 45 | resolved "https://registry.yarnpkg.com/d3-axis/-/d3-axis-1.0.7.tgz#048433d307061f62d1d248e2930c01d7b6738cd8" 46 | 47 | d3-brush@1.0.4: 48 | version "1.0.4" 49 | resolved "https://registry.yarnpkg.com/d3-brush/-/d3-brush-1.0.4.tgz#00c2f238019f24f6c0a194a26d41a1530ffe7bc4" 50 | dependencies: 51 | d3-dispatch "1" 52 | d3-drag "1" 53 | d3-interpolate "1" 54 | d3-selection "1" 55 | d3-transition "1" 56 | 57 | d3-chord@1.0.4: 58 | version "1.0.4" 59 | resolved "https://registry.yarnpkg.com/d3-chord/-/d3-chord-1.0.4.tgz#7dec4f0ba886f713fe111c45f763414f6f74ca2c" 60 | dependencies: 61 | d3-array "1" 62 | d3-path "1" 63 | 64 | d3-collection@1, d3-collection@1.0.3: 65 | version "1.0.3" 66 | resolved "https://registry.yarnpkg.com/d3-collection/-/d3-collection-1.0.3.tgz#00bdea94fbc1628d435abbae2f4dc2164e37dd34" 67 | 68 | d3-color@1, d3-color@1.0.3: 69 | version "1.0.3" 70 | resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-1.0.3.tgz#bc7643fca8e53a8347e2fbdaffa236796b58509b" 71 | 72 | d3-dispatch@1, d3-dispatch@1.0.3: 73 | version "1.0.3" 74 | resolved "https://registry.yarnpkg.com/d3-dispatch/-/d3-dispatch-1.0.3.tgz#46e1491eaa9b58c358fce5be4e8bed626e7871f8" 75 | 76 | d3-drag@1, d3-drag@1.1.0: 77 | version "1.1.0" 78 | resolved "https://registry.yarnpkg.com/d3-drag/-/d3-drag-1.1.0.tgz#4a49b4d77a42e9e3d5a0ef3b492b14aaa2e5a733" 79 | dependencies: 80 | d3-dispatch "1" 81 | d3-selection "1" 82 | 83 | d3-dsv@1, d3-dsv@1.0.5: 84 | version "1.0.5" 85 | resolved "https://registry.yarnpkg.com/d3-dsv/-/d3-dsv-1.0.5.tgz#419f7db47f628789fc3fdb636e678449d0821136" 86 | dependencies: 87 | commander "2" 88 | iconv-lite "0.4" 89 | rw "1" 90 | 91 | d3-ease@1, d3-ease@1.0.3: 92 | version "1.0.3" 93 | resolved "https://registry.yarnpkg.com/d3-ease/-/d3-ease-1.0.3.tgz#68bfbc349338a380c44d8acc4fbc3304aa2d8c0e" 94 | 95 | d3-force@1.0.6: 96 | version "1.0.6" 97 | resolved "https://registry.yarnpkg.com/d3-force/-/d3-force-1.0.6.tgz#ea7e1b7730e2664cd314f594d6718c57cc132b79" 98 | dependencies: 99 | d3-collection "1" 100 | d3-dispatch "1" 101 | d3-quadtree "1" 102 | d3-timer "1" 103 | 104 | d3-format@1, d3-format@1.2.0: 105 | version "1.2.0" 106 | resolved "https://registry.yarnpkg.com/d3-format/-/d3-format-1.2.0.tgz#6b480baa886885d4651dc248a8f4ac9da16db07a" 107 | 108 | d3-geo@1.6.4: 109 | version "1.6.4" 110 | resolved "https://registry.yarnpkg.com/d3-geo/-/d3-geo-1.6.4.tgz#f20e1e461cb1845f5a8be55ab6f876542a7e3199" 111 | dependencies: 112 | d3-array "1" 113 | 114 | d3-hierarchy@1.1.4: 115 | version "1.1.4" 116 | resolved "https://registry.yarnpkg.com/d3-hierarchy/-/d3-hierarchy-1.1.4.tgz#96c3942f3f21cf997a11b4edf00dde2a77b4c6d0" 117 | 118 | d3-interpolate@1, d3-interpolate@1.1.5: 119 | version "1.1.5" 120 | resolved "https://registry.yarnpkg.com/d3-interpolate/-/d3-interpolate-1.1.5.tgz#69e099ff39214716e563c9aec3ea9d1ea4b8a79f" 121 | dependencies: 122 | d3-color "1" 123 | 124 | d3-path@1, d3-path@1.0.5: 125 | version "1.0.5" 126 | resolved "https://registry.yarnpkg.com/d3-path/-/d3-path-1.0.5.tgz#241eb1849bd9e9e8021c0d0a799f8a0e8e441764" 127 | 128 | d3-polygon@1.0.3: 129 | version "1.0.3" 130 | resolved "https://registry.yarnpkg.com/d3-polygon/-/d3-polygon-1.0.3.tgz#16888e9026460933f2b179652ad378224d382c62" 131 | 132 | d3-quadtree@1, d3-quadtree@1.0.3: 133 | version "1.0.3" 134 | resolved "https://registry.yarnpkg.com/d3-quadtree/-/d3-quadtree-1.0.3.tgz#ac7987e3e23fe805a990f28e1b50d38fcb822438" 135 | 136 | d3-queue@3.0.7: 137 | version "3.0.7" 138 | resolved "https://registry.yarnpkg.com/d3-queue/-/d3-queue-3.0.7.tgz#c93a2e54b417c0959129d7d73f6cf7d4292e7618" 139 | 140 | d3-random@1.1.0: 141 | version "1.1.0" 142 | resolved "https://registry.yarnpkg.com/d3-random/-/d3-random-1.1.0.tgz#6642e506c6fa3a648595d2b2469788a8d12529d3" 143 | 144 | d3-request@1.0.5: 145 | version "1.0.5" 146 | resolved "https://registry.yarnpkg.com/d3-request/-/d3-request-1.0.5.tgz#4daae946d1dd0d57dfe01f022956354958d51f23" 147 | dependencies: 148 | d3-collection "1" 149 | d3-dispatch "1" 150 | d3-dsv "1" 151 | xmlhttprequest "1" 152 | 153 | d3-scale@1.0.6: 154 | version "1.0.6" 155 | resolved "https://registry.yarnpkg.com/d3-scale/-/d3-scale-1.0.6.tgz#bce19da80d3a0cf422c9543ae3322086220b34ed" 156 | dependencies: 157 | d3-array "^1.2.0" 158 | d3-collection "1" 159 | d3-color "1" 160 | d3-format "1" 161 | d3-interpolate "1" 162 | d3-time "1" 163 | d3-time-format "2" 164 | 165 | d3-selection@1, d3-selection@1.1.0, d3-selection@^1.1.0: 166 | version "1.1.0" 167 | resolved "https://registry.yarnpkg.com/d3-selection/-/d3-selection-1.1.0.tgz#1998684896488f839ca0372123da34f1d318809c" 168 | 169 | d3-shape@1.1.1: 170 | version "1.1.1" 171 | resolved "https://registry.yarnpkg.com/d3-shape/-/d3-shape-1.1.1.tgz#50a1037e48a79f5b8fd9d58cde52799aeb1f7723" 172 | dependencies: 173 | d3-path "1" 174 | 175 | d3-time-format@2, d3-time-format@2.0.5: 176 | version "2.0.5" 177 | resolved "https://registry.yarnpkg.com/d3-time-format/-/d3-time-format-2.0.5.tgz#9d7780204f7c9119c9170b1a56db4de9a8af972e" 178 | dependencies: 179 | d3-time "1" 180 | 181 | d3-time@1, d3-time@1.0.6: 182 | version "1.0.6" 183 | resolved "https://registry.yarnpkg.com/d3-time/-/d3-time-1.0.6.tgz#a55b13d7d15d3a160ae91708232e0835f1d5e945" 184 | 185 | d3-timer@1, d3-timer@1.0.5: 186 | version "1.0.5" 187 | resolved "https://registry.yarnpkg.com/d3-timer/-/d3-timer-1.0.5.tgz#b266d476c71b0d269e7ac5f352b410a3b6fe6ef0" 188 | 189 | d3-transition@1, d3-transition@1.1.0: 190 | version "1.1.0" 191 | resolved "https://registry.yarnpkg.com/d3-transition/-/d3-transition-1.1.0.tgz#cfc85c74e5239324290546623572990560c3966f" 192 | dependencies: 193 | d3-color "1" 194 | d3-dispatch "1" 195 | d3-ease "1" 196 | d3-interpolate "1" 197 | d3-selection "^1.1.0" 198 | d3-timer "1" 199 | 200 | d3-voronoi@1.1.2: 201 | version "1.1.2" 202 | resolved "https://registry.yarnpkg.com/d3-voronoi/-/d3-voronoi-1.1.2.tgz#1687667e8f13a2d158c80c1480c5a29cb0d8973c" 203 | 204 | d3-zoom@1.2.0: 205 | version "1.2.0" 206 | resolved "https://registry.yarnpkg.com/d3-zoom/-/d3-zoom-1.2.0.tgz#b3231f4f9386241475defe1c557bfd3fde1065fb" 207 | dependencies: 208 | d3-dispatch "1" 209 | d3-drag "1" 210 | d3-interpolate "1" 211 | d3-selection "1" 212 | d3-transition "1" 213 | 214 | d3@^4.9.1: 215 | version "4.9.1" 216 | resolved "https://registry.yarnpkg.com/d3/-/d3-4.9.1.tgz#f860be9252261a3c14eea64b1d2590d14f4db838" 217 | dependencies: 218 | d3-array "1.2.0" 219 | d3-axis "1.0.7" 220 | d3-brush "1.0.4" 221 | d3-chord "1.0.4" 222 | d3-collection "1.0.3" 223 | d3-color "1.0.3" 224 | d3-dispatch "1.0.3" 225 | d3-drag "1.1.0" 226 | d3-dsv "1.0.5" 227 | d3-ease "1.0.3" 228 | d3-force "1.0.6" 229 | d3-format "1.2.0" 230 | d3-geo "1.6.4" 231 | d3-hierarchy "1.1.4" 232 | d3-interpolate "1.1.5" 233 | d3-path "1.0.5" 234 | d3-polygon "1.0.3" 235 | d3-quadtree "1.0.3" 236 | d3-queue "3.0.7" 237 | d3-random "1.1.0" 238 | d3-request "1.0.5" 239 | d3-scale "1.0.6" 240 | d3-selection "1.1.0" 241 | d3-shape "1.1.1" 242 | d3-time "1.0.6" 243 | d3-time-format "2.0.5" 244 | d3-timer "1.0.5" 245 | d3-transition "1.1.0" 246 | d3-voronoi "1.1.2" 247 | d3-zoom "1.2.0" 248 | 249 | "graceful-readlink@>= 1.0.0": 250 | version "1.0.1" 251 | resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" 252 | 253 | iconv-lite@0.4: 254 | version "0.4.17" 255 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.17.tgz#4fdaa3b38acbc2c031b045d0edcdfe1ecab18c8d" 256 | 257 | lodash@^4.16.6: 258 | version "4.17.4" 259 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" 260 | 261 | react-native-svg@^5.1.8: 262 | version "5.1.8" 263 | resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-5.1.8.tgz#bdb9bc6a8693852751f7faa6598ebcb3d1be48ce" 264 | dependencies: 265 | color "^0.11.1" 266 | lodash "^4.16.6" 267 | 268 | rw@1: 269 | version "1.3.3" 270 | resolved "https://registry.yarnpkg.com/rw/-/rw-1.3.3.tgz#3f862dfa91ab766b14885ef4d01124bfda074fb4" 271 | 272 | xmlhttprequest@1: 273 | version "1.8.0" 274 | resolved "https://registry.yarnpkg.com/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz#67fe075c5c24fef39f9d65f5f7b7fe75171968fc" 275 | -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 15 | 00E356F31AD99517003FC87E /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; }; 16 | 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 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 25 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 26 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 27 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 28 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 29 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 30 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 31 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 32 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 33 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 34 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 35 | 2DCD954D1E0B4F2C00145EB5 /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; }; 36 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 37 | 6D7B752EF6D44A6F87BB345F /* libRNSVG.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 16FE88616B5844C19E36FD2F /* libRNSVG.a */; }; 38 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 39 | C6D4940922B257920085F599 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 40 | C6D4940A22B257980085F599 /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C6D4937922B22EFF0085F599 /* JavaScriptCore.framework */; }; 41 | E0DD4F109AF84633AB5D8C43 /* libRNSVG-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9CF52F188BA548649876230A /* libRNSVG-tvOS.a */; }; 42 | /* End PBXBuildFile section */ 43 | 44 | /* Begin PBXContainerItemProxy section */ 45 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 46 | isa = PBXContainerItemProxy; 47 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 48 | proxyType = 2; 49 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 50 | remoteInfo = RCTActionSheet; 51 | }; 52 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 53 | isa = PBXContainerItemProxy; 54 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 55 | proxyType = 2; 56 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 57 | remoteInfo = RCTGeolocation; 58 | }; 59 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 60 | isa = PBXContainerItemProxy; 61 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 62 | proxyType = 2; 63 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 64 | remoteInfo = RCTImage; 65 | }; 66 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 67 | isa = PBXContainerItemProxy; 68 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 69 | proxyType = 2; 70 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 71 | remoteInfo = RCTNetwork; 72 | }; 73 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 74 | isa = PBXContainerItemProxy; 75 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 76 | proxyType = 2; 77 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 78 | remoteInfo = RCTVibration; 79 | }; 80 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 81 | isa = PBXContainerItemProxy; 82 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 83 | proxyType = 1; 84 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 85 | remoteInfo = example; 86 | }; 87 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 88 | isa = PBXContainerItemProxy; 89 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 90 | proxyType = 2; 91 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 92 | remoteInfo = RCTSettings; 93 | }; 94 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 95 | isa = PBXContainerItemProxy; 96 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 97 | proxyType = 2; 98 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 99 | remoteInfo = RCTWebSocket; 100 | }; 101 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 102 | isa = PBXContainerItemProxy; 103 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 104 | proxyType = 2; 105 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 106 | remoteInfo = React; 107 | }; 108 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 109 | isa = PBXContainerItemProxy; 110 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 111 | proxyType = 1; 112 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 113 | remoteInfo = "example-tvOS"; 114 | }; 115 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 116 | isa = PBXContainerItemProxy; 117 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 118 | proxyType = 2; 119 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 120 | remoteInfo = "RCTImage-tvOS"; 121 | }; 122 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 123 | isa = PBXContainerItemProxy; 124 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 125 | proxyType = 2; 126 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 127 | remoteInfo = "RCTLinking-tvOS"; 128 | }; 129 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 130 | isa = PBXContainerItemProxy; 131 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 132 | proxyType = 2; 133 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 134 | remoteInfo = "RCTNetwork-tvOS"; 135 | }; 136 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 137 | isa = PBXContainerItemProxy; 138 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 139 | proxyType = 2; 140 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 141 | remoteInfo = "RCTSettings-tvOS"; 142 | }; 143 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 144 | isa = PBXContainerItemProxy; 145 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 146 | proxyType = 2; 147 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 148 | remoteInfo = "RCTText-tvOS"; 149 | }; 150 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 151 | isa = PBXContainerItemProxy; 152 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 153 | proxyType = 2; 154 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 155 | remoteInfo = "RCTWebSocket-tvOS"; 156 | }; 157 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 158 | isa = PBXContainerItemProxy; 159 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 160 | proxyType = 2; 161 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 162 | remoteInfo = "React-tvOS"; 163 | }; 164 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 165 | isa = PBXContainerItemProxy; 166 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 167 | proxyType = 2; 168 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 169 | remoteInfo = yoga; 170 | }; 171 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 172 | isa = PBXContainerItemProxy; 173 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 174 | proxyType = 2; 175 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 176 | remoteInfo = "yoga-tvOS"; 177 | }; 178 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 179 | isa = PBXContainerItemProxy; 180 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 181 | proxyType = 2; 182 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 183 | remoteInfo = cxxreact; 184 | }; 185 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 186 | isa = PBXContainerItemProxy; 187 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 188 | proxyType = 2; 189 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 190 | remoteInfo = "cxxreact-tvOS"; 191 | }; 192 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 193 | isa = PBXContainerItemProxy; 194 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 195 | proxyType = 2; 196 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 197 | remoteInfo = RCTAnimation; 198 | }; 199 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 200 | isa = PBXContainerItemProxy; 201 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 202 | proxyType = 2; 203 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 204 | remoteInfo = "RCTAnimation-tvOS"; 205 | }; 206 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 207 | isa = PBXContainerItemProxy; 208 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 209 | proxyType = 2; 210 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 211 | remoteInfo = RCTLinking; 212 | }; 213 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 214 | isa = PBXContainerItemProxy; 215 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 216 | proxyType = 2; 217 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 218 | remoteInfo = RCTText; 219 | }; 220 | C6D4934C22B22E850085F599 /* PBXContainerItemProxy */ = { 221 | isa = PBXContainerItemProxy; 222 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 223 | proxyType = 2; 224 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 225 | remoteInfo = fishhook; 226 | }; 227 | C6D4934E22B22E850085F599 /* PBXContainerItemProxy */ = { 228 | isa = PBXContainerItemProxy; 229 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 230 | proxyType = 2; 231 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 232 | remoteInfo = "fishhook-tvOS"; 233 | }; 234 | C6D4936022B22E850085F599 /* PBXContainerItemProxy */ = { 235 | isa = PBXContainerItemProxy; 236 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 237 | proxyType = 2; 238 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5; 239 | remoteInfo = jsinspector; 240 | }; 241 | C6D4936222B22E850085F599 /* PBXContainerItemProxy */ = { 242 | isa = PBXContainerItemProxy; 243 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 244 | proxyType = 2; 245 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; 246 | remoteInfo = "jsinspector-tvOS"; 247 | }; 248 | C6D4936422B22E850085F599 /* PBXContainerItemProxy */ = { 249 | isa = PBXContainerItemProxy; 250 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 251 | proxyType = 2; 252 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 253 | remoteInfo = "third-party"; 254 | }; 255 | C6D4936622B22E850085F599 /* PBXContainerItemProxy */ = { 256 | isa = PBXContainerItemProxy; 257 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 258 | proxyType = 2; 259 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 260 | remoteInfo = "third-party-tvOS"; 261 | }; 262 | C6D4936822B22E850085F599 /* PBXContainerItemProxy */ = { 263 | isa = PBXContainerItemProxy; 264 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 265 | proxyType = 2; 266 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 267 | remoteInfo = "double-conversion"; 268 | }; 269 | C6D4936A22B22E850085F599 /* PBXContainerItemProxy */ = { 270 | isa = PBXContainerItemProxy; 271 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 272 | proxyType = 2; 273 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 274 | remoteInfo = "double-conversion-tvOS"; 275 | }; 276 | C6D4936C22B22E850085F599 /* PBXContainerItemProxy */ = { 277 | isa = PBXContainerItemProxy; 278 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 279 | proxyType = 2; 280 | remoteGlobalIDString = EDEBC6D6214B3E7000DD5AC8; 281 | remoteInfo = jsi; 282 | }; 283 | C6D4936E22B22E850085F599 /* PBXContainerItemProxy */ = { 284 | isa = PBXContainerItemProxy; 285 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 286 | proxyType = 2; 287 | remoteGlobalIDString = EDEBC73B214B45A300DD5AC8; 288 | remoteInfo = jsiexecutor; 289 | }; 290 | C6D4937022B22E850085F599 /* PBXContainerItemProxy */ = { 291 | isa = PBXContainerItemProxy; 292 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 293 | proxyType = 2; 294 | remoteGlobalIDString = ED296FB6214C9A0900B7C4FE; 295 | remoteInfo = "jsi-tvOS"; 296 | }; 297 | C6D4937222B22E850085F599 /* PBXContainerItemProxy */ = { 298 | isa = PBXContainerItemProxy; 299 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 300 | proxyType = 2; 301 | remoteGlobalIDString = ED296FEE214C9CF800B7C4FE; 302 | remoteInfo = "jsiexecutor-tvOS"; 303 | }; 304 | C6D4940522B24A090085F599 /* PBXContainerItemProxy */ = { 305 | isa = PBXContainerItemProxy; 306 | containerPortal = 0314AACF85EF4E0CA4889A2F /* RNSVG.xcodeproj */; 307 | proxyType = 2; 308 | remoteGlobalIDString = 0CF68AC11AF0540F00FF9E5C; 309 | remoteInfo = RNSVG; 310 | }; 311 | C6D4940722B24A090085F599 /* PBXContainerItemProxy */ = { 312 | isa = PBXContainerItemProxy; 313 | containerPortal = 0314AACF85EF4E0CA4889A2F /* RNSVG.xcodeproj */; 314 | proxyType = 2; 315 | remoteGlobalIDString = 94DDAC5C1F3D024300EED511; 316 | remoteInfo = "RNSVG-tvOS"; 317 | }; 318 | /* End PBXContainerItemProxy section */ 319 | 320 | /* Begin PBXFileReference section */ 321 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 322 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 323 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 324 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 325 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 326 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 327 | 00E356EE1AD99517003FC87E /* exampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = exampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 328 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 329 | 00E356F21AD99517003FC87E /* exampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = exampleTests.m; sourceTree = ""; }; 330 | 0314AACF85EF4E0CA4889A2F /* RNSVG.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNSVG.xcodeproj; path = "../node_modules/react-native-svg/ios/RNSVG.xcodeproj"; sourceTree = ""; }; 331 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 332 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 333 | 13B07F961A680F5B00A75B9A /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 334 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = example/AppDelegate.h; sourceTree = ""; }; 335 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = example/AppDelegate.m; sourceTree = ""; }; 336 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 337 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = ""; }; 338 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = ""; }; 339 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = ""; }; 340 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 341 | 16FE88616B5844C19E36FD2F /* libRNSVG.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNSVG.a; sourceTree = ""; }; 342 | 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 343 | 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "example-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 344 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 345 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 346 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 347 | 9CF52F188BA548649876230A /* libRNSVG-tvOS.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = "libRNSVG-tvOS.a"; sourceTree = ""; }; 348 | C6D4937922B22EFF0085F599 /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 349 | /* End PBXFileReference section */ 350 | 351 | /* Begin PBXFrameworksBuildPhase section */ 352 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 353 | isa = PBXFrameworksBuildPhase; 354 | buildActionMask = 2147483647; 355 | files = ( 356 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 357 | ); 358 | runOnlyForDeploymentPostprocessing = 0; 359 | }; 360 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 361 | isa = PBXFrameworksBuildPhase; 362 | buildActionMask = 2147483647; 363 | files = ( 364 | C6D4940A22B257980085F599 /* JavaScriptCore.framework in Frameworks */, 365 | C6D4940922B257920085F599 /* libReact.a in Frameworks */, 366 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 367 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 368 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 369 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 370 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 371 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 372 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 373 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 374 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 375 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 376 | 6D7B752EF6D44A6F87BB345F /* libRNSVG.a in Frameworks */, 377 | ); 378 | runOnlyForDeploymentPostprocessing = 0; 379 | }; 380 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 381 | isa = PBXFrameworksBuildPhase; 382 | buildActionMask = 2147483647; 383 | files = ( 384 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, 385 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 386 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 387 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 388 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 389 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 390 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 391 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 392 | E0DD4F109AF84633AB5D8C43 /* libRNSVG-tvOS.a in Frameworks */, 393 | ); 394 | runOnlyForDeploymentPostprocessing = 0; 395 | }; 396 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 397 | isa = PBXFrameworksBuildPhase; 398 | buildActionMask = 2147483647; 399 | files = ( 400 | ); 401 | runOnlyForDeploymentPostprocessing = 0; 402 | }; 403 | /* End PBXFrameworksBuildPhase section */ 404 | 405 | /* Begin PBXGroup section */ 406 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 407 | isa = PBXGroup; 408 | children = ( 409 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 410 | ); 411 | name = Products; 412 | sourceTree = ""; 413 | }; 414 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 415 | isa = PBXGroup; 416 | children = ( 417 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 418 | ); 419 | name = Products; 420 | sourceTree = ""; 421 | }; 422 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 423 | isa = PBXGroup; 424 | children = ( 425 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 426 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 427 | ); 428 | name = Products; 429 | sourceTree = ""; 430 | }; 431 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 432 | isa = PBXGroup; 433 | children = ( 434 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 435 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 436 | ); 437 | name = Products; 438 | sourceTree = ""; 439 | }; 440 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 441 | isa = PBXGroup; 442 | children = ( 443 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 444 | ); 445 | name = Products; 446 | sourceTree = ""; 447 | }; 448 | 00E356EF1AD99517003FC87E /* exampleTests */ = { 449 | isa = PBXGroup; 450 | children = ( 451 | 00E356F21AD99517003FC87E /* exampleTests.m */, 452 | 00E356F01AD99517003FC87E /* Supporting Files */, 453 | ); 454 | path = exampleTests; 455 | sourceTree = ""; 456 | }; 457 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 458 | isa = PBXGroup; 459 | children = ( 460 | 00E356F11AD99517003FC87E /* Info.plist */, 461 | ); 462 | name = "Supporting Files"; 463 | sourceTree = ""; 464 | }; 465 | 139105B71AF99BAD00B5F7CC /* Products */ = { 466 | isa = PBXGroup; 467 | children = ( 468 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 469 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 470 | ); 471 | name = Products; 472 | sourceTree = ""; 473 | }; 474 | 139FDEE71B06529A00C62182 /* Products */ = { 475 | isa = PBXGroup; 476 | children = ( 477 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 478 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 479 | C6D4934D22B22E850085F599 /* libfishhook.a */, 480 | C6D4934F22B22E850085F599 /* libfishhook-tvOS.a */, 481 | ); 482 | name = Products; 483 | sourceTree = ""; 484 | }; 485 | 13B07FAE1A68108700A75B9A /* example */ = { 486 | isa = PBXGroup; 487 | children = ( 488 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 489 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 490 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 491 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 492 | 13B07FB61A68108700A75B9A /* Info.plist */, 493 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 494 | 13B07FB71A68108700A75B9A /* main.m */, 495 | ); 496 | name = example; 497 | sourceTree = ""; 498 | }; 499 | 146834001AC3E56700842450 /* Products */ = { 500 | isa = PBXGroup; 501 | children = ( 502 | 146834041AC3E56700842450 /* libReact.a */, 503 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 504 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 505 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 506 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 507 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 508 | C6D4936122B22E850085F599 /* libjsinspector.a */, 509 | C6D4936322B22E850085F599 /* libjsinspector-tvOS.a */, 510 | C6D4936522B22E850085F599 /* libthird-party.a */, 511 | C6D4936722B22E850085F599 /* libthird-party.a */, 512 | C6D4936922B22E850085F599 /* libdouble-conversion.a */, 513 | C6D4936B22B22E850085F599 /* libdouble-conversion.a */, 514 | C6D4936D22B22E850085F599 /* libjsi.a */, 515 | C6D4936F22B22E850085F599 /* libjsiexecutor.a */, 516 | C6D4937122B22E850085F599 /* libjsi-tvOS.a */, 517 | C6D4937322B22E850085F599 /* libjsiexecutor-tvOS.a */, 518 | ); 519 | name = Products; 520 | sourceTree = ""; 521 | }; 522 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 523 | isa = PBXGroup; 524 | children = ( 525 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 526 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 527 | ); 528 | name = Products; 529 | sourceTree = ""; 530 | }; 531 | 78C398B11ACF4ADC00677621 /* Products */ = { 532 | isa = PBXGroup; 533 | children = ( 534 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 535 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 536 | ); 537 | name = Products; 538 | sourceTree = ""; 539 | }; 540 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 541 | isa = PBXGroup; 542 | children = ( 543 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 544 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 545 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 546 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 547 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 548 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 549 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 550 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 551 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 552 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 553 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 554 | 0314AACF85EF4E0CA4889A2F /* RNSVG.xcodeproj */, 555 | ); 556 | name = Libraries; 557 | sourceTree = ""; 558 | }; 559 | 832341B11AAA6A8300B99B32 /* Products */ = { 560 | isa = PBXGroup; 561 | children = ( 562 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 563 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 564 | ); 565 | name = Products; 566 | sourceTree = ""; 567 | }; 568 | 83CBB9F61A601CBA00E9B192 = { 569 | isa = PBXGroup; 570 | children = ( 571 | 13B07FAE1A68108700A75B9A /* example */, 572 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 573 | 00E356EF1AD99517003FC87E /* exampleTests */, 574 | 83CBBA001A601CBA00E9B192 /* Products */, 575 | C6D4933822B22E840085F599 /* Recovered References */, 576 | C6D4937822B22EFE0085F599 /* Frameworks */, 577 | ); 578 | indentWidth = 2; 579 | sourceTree = ""; 580 | tabWidth = 2; 581 | }; 582 | 83CBBA001A601CBA00E9B192 /* Products */ = { 583 | isa = PBXGroup; 584 | children = ( 585 | 13B07F961A680F5B00A75B9A /* example.app */, 586 | 00E356EE1AD99517003FC87E /* exampleTests.xctest */, 587 | 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */, 588 | 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */, 589 | ); 590 | name = Products; 591 | sourceTree = ""; 592 | }; 593 | C6D4933822B22E840085F599 /* Recovered References */ = { 594 | isa = PBXGroup; 595 | children = ( 596 | 16FE88616B5844C19E36FD2F /* libRNSVG.a */, 597 | 9CF52F188BA548649876230A /* libRNSVG-tvOS.a */, 598 | ); 599 | name = "Recovered References"; 600 | sourceTree = ""; 601 | }; 602 | C6D4937822B22EFE0085F599 /* Frameworks */ = { 603 | isa = PBXGroup; 604 | children = ( 605 | C6D4937922B22EFF0085F599 /* JavaScriptCore.framework */, 606 | ); 607 | name = Frameworks; 608 | sourceTree = ""; 609 | }; 610 | C6D4940122B24A090085F599 /* Products */ = { 611 | isa = PBXGroup; 612 | children = ( 613 | C6D4940622B24A090085F599 /* libRNSVG.a */, 614 | C6D4940822B24A090085F599 /* libRNSVG-tvOS.a */, 615 | ); 616 | name = Products; 617 | sourceTree = ""; 618 | }; 619 | /* End PBXGroup section */ 620 | 621 | /* Begin PBXNativeTarget section */ 622 | 00E356ED1AD99517003FC87E /* exampleTests */ = { 623 | isa = PBXNativeTarget; 624 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */; 625 | buildPhases = ( 626 | 00E356EA1AD99517003FC87E /* Sources */, 627 | 00E356EB1AD99517003FC87E /* Frameworks */, 628 | 00E356EC1AD99517003FC87E /* Resources */, 629 | ); 630 | buildRules = ( 631 | ); 632 | dependencies = ( 633 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 634 | ); 635 | name = exampleTests; 636 | productName = exampleTests; 637 | productReference = 00E356EE1AD99517003FC87E /* exampleTests.xctest */; 638 | productType = "com.apple.product-type.bundle.unit-test"; 639 | }; 640 | 13B07F861A680F5B00A75B9A /* example */ = { 641 | isa = PBXNativeTarget; 642 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */; 643 | buildPhases = ( 644 | 13B07F871A680F5B00A75B9A /* Sources */, 645 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 646 | 13B07F8E1A680F5B00A75B9A /* Resources */, 647 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 648 | ); 649 | buildRules = ( 650 | ); 651 | dependencies = ( 652 | ); 653 | name = example; 654 | productName = "Hello World"; 655 | productReference = 13B07F961A680F5B00A75B9A /* example.app */; 656 | productType = "com.apple.product-type.application"; 657 | }; 658 | 2D02E47A1E0B4A5D006451C7 /* example-tvOS */ = { 659 | isa = PBXNativeTarget; 660 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOS" */; 661 | buildPhases = ( 662 | 2D02E4771E0B4A5D006451C7 /* Sources */, 663 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 664 | 2D02E4791E0B4A5D006451C7 /* Resources */, 665 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 666 | ); 667 | buildRules = ( 668 | ); 669 | dependencies = ( 670 | ); 671 | name = "example-tvOS"; 672 | productName = "example-tvOS"; 673 | productReference = 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */; 674 | productType = "com.apple.product-type.application"; 675 | }; 676 | 2D02E48F1E0B4A5D006451C7 /* example-tvOSTests */ = { 677 | isa = PBXNativeTarget; 678 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOSTests" */; 679 | buildPhases = ( 680 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 681 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 682 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 683 | ); 684 | buildRules = ( 685 | ); 686 | dependencies = ( 687 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 688 | ); 689 | name = "example-tvOSTests"; 690 | productName = "example-tvOSTests"; 691 | productReference = 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */; 692 | productType = "com.apple.product-type.bundle.unit-test"; 693 | }; 694 | /* End PBXNativeTarget section */ 695 | 696 | /* Begin PBXProject section */ 697 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 698 | isa = PBXProject; 699 | attributes = { 700 | LastUpgradeCheck = 610; 701 | ORGANIZATIONNAME = Facebook; 702 | TargetAttributes = { 703 | 00E356ED1AD99517003FC87E = { 704 | CreatedOnToolsVersion = 6.2; 705 | TestTargetID = 13B07F861A680F5B00A75B9A; 706 | }; 707 | 2D02E47A1E0B4A5D006451C7 = { 708 | CreatedOnToolsVersion = 8.2.1; 709 | ProvisioningStyle = Automatic; 710 | }; 711 | 2D02E48F1E0B4A5D006451C7 = { 712 | CreatedOnToolsVersion = 8.2.1; 713 | ProvisioningStyle = Automatic; 714 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 715 | }; 716 | }; 717 | }; 718 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */; 719 | compatibilityVersion = "Xcode 3.2"; 720 | developmentRegion = English; 721 | hasScannedForEncodings = 0; 722 | knownRegions = ( 723 | en, 724 | Base, 725 | ); 726 | mainGroup = 83CBB9F61A601CBA00E9B192; 727 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 728 | projectDirPath = ""; 729 | projectReferences = ( 730 | { 731 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 732 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 733 | }, 734 | { 735 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 736 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 737 | }, 738 | { 739 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 740 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 741 | }, 742 | { 743 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 744 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 745 | }, 746 | { 747 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 748 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 749 | }, 750 | { 751 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 752 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 753 | }, 754 | { 755 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 756 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 757 | }, 758 | { 759 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 760 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 761 | }, 762 | { 763 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 764 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 765 | }, 766 | { 767 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 768 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 769 | }, 770 | { 771 | ProductGroup = 146834001AC3E56700842450 /* Products */; 772 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 773 | }, 774 | { 775 | ProductGroup = C6D4940122B24A090085F599 /* Products */; 776 | ProjectRef = 0314AACF85EF4E0CA4889A2F /* RNSVG.xcodeproj */; 777 | }, 778 | ); 779 | projectRoot = ""; 780 | targets = ( 781 | 13B07F861A680F5B00A75B9A /* example */, 782 | 00E356ED1AD99517003FC87E /* exampleTests */, 783 | 2D02E47A1E0B4A5D006451C7 /* example-tvOS */, 784 | 2D02E48F1E0B4A5D006451C7 /* example-tvOSTests */, 785 | ); 786 | }; 787 | /* End PBXProject section */ 788 | 789 | /* Begin PBXReferenceProxy section */ 790 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 791 | isa = PBXReferenceProxy; 792 | fileType = archive.ar; 793 | path = libRCTActionSheet.a; 794 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 795 | sourceTree = BUILT_PRODUCTS_DIR; 796 | }; 797 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 798 | isa = PBXReferenceProxy; 799 | fileType = archive.ar; 800 | path = libRCTGeolocation.a; 801 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 802 | sourceTree = BUILT_PRODUCTS_DIR; 803 | }; 804 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 805 | isa = PBXReferenceProxy; 806 | fileType = archive.ar; 807 | path = libRCTImage.a; 808 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 809 | sourceTree = BUILT_PRODUCTS_DIR; 810 | }; 811 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 812 | isa = PBXReferenceProxy; 813 | fileType = archive.ar; 814 | path = libRCTNetwork.a; 815 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 816 | sourceTree = BUILT_PRODUCTS_DIR; 817 | }; 818 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 819 | isa = PBXReferenceProxy; 820 | fileType = archive.ar; 821 | path = libRCTVibration.a; 822 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 823 | sourceTree = BUILT_PRODUCTS_DIR; 824 | }; 825 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 826 | isa = PBXReferenceProxy; 827 | fileType = archive.ar; 828 | path = libRCTSettings.a; 829 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 830 | sourceTree = BUILT_PRODUCTS_DIR; 831 | }; 832 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 833 | isa = PBXReferenceProxy; 834 | fileType = archive.ar; 835 | path = libRCTWebSocket.a; 836 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 837 | sourceTree = BUILT_PRODUCTS_DIR; 838 | }; 839 | 146834041AC3E56700842450 /* libReact.a */ = { 840 | isa = PBXReferenceProxy; 841 | fileType = archive.ar; 842 | path = libReact.a; 843 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 844 | sourceTree = BUILT_PRODUCTS_DIR; 845 | }; 846 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 847 | isa = PBXReferenceProxy; 848 | fileType = archive.ar; 849 | path = "libRCTImage-tvOS.a"; 850 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 851 | sourceTree = BUILT_PRODUCTS_DIR; 852 | }; 853 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 854 | isa = PBXReferenceProxy; 855 | fileType = archive.ar; 856 | path = "libRCTLinking-tvOS.a"; 857 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 858 | sourceTree = BUILT_PRODUCTS_DIR; 859 | }; 860 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 861 | isa = PBXReferenceProxy; 862 | fileType = archive.ar; 863 | path = "libRCTNetwork-tvOS.a"; 864 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 865 | sourceTree = BUILT_PRODUCTS_DIR; 866 | }; 867 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 868 | isa = PBXReferenceProxy; 869 | fileType = archive.ar; 870 | path = "libRCTSettings-tvOS.a"; 871 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 872 | sourceTree = BUILT_PRODUCTS_DIR; 873 | }; 874 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 875 | isa = PBXReferenceProxy; 876 | fileType = archive.ar; 877 | path = "libRCTText-tvOS.a"; 878 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 879 | sourceTree = BUILT_PRODUCTS_DIR; 880 | }; 881 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 882 | isa = PBXReferenceProxy; 883 | fileType = archive.ar; 884 | path = "libRCTWebSocket-tvOS.a"; 885 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 886 | sourceTree = BUILT_PRODUCTS_DIR; 887 | }; 888 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 889 | isa = PBXReferenceProxy; 890 | fileType = archive.ar; 891 | path = libReact.a; 892 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 893 | sourceTree = BUILT_PRODUCTS_DIR; 894 | }; 895 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 896 | isa = PBXReferenceProxy; 897 | fileType = archive.ar; 898 | path = libyoga.a; 899 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 900 | sourceTree = BUILT_PRODUCTS_DIR; 901 | }; 902 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 903 | isa = PBXReferenceProxy; 904 | fileType = archive.ar; 905 | path = libyoga.a; 906 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 907 | sourceTree = BUILT_PRODUCTS_DIR; 908 | }; 909 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 910 | isa = PBXReferenceProxy; 911 | fileType = archive.ar; 912 | path = libcxxreact.a; 913 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 914 | sourceTree = BUILT_PRODUCTS_DIR; 915 | }; 916 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 917 | isa = PBXReferenceProxy; 918 | fileType = archive.ar; 919 | path = libcxxreact.a; 920 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 921 | sourceTree = BUILT_PRODUCTS_DIR; 922 | }; 923 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 924 | isa = PBXReferenceProxy; 925 | fileType = archive.ar; 926 | path = libRCTAnimation.a; 927 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 928 | sourceTree = BUILT_PRODUCTS_DIR; 929 | }; 930 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 931 | isa = PBXReferenceProxy; 932 | fileType = archive.ar; 933 | path = libRCTAnimation.a; 934 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 935 | sourceTree = BUILT_PRODUCTS_DIR; 936 | }; 937 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 938 | isa = PBXReferenceProxy; 939 | fileType = archive.ar; 940 | path = libRCTLinking.a; 941 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 942 | sourceTree = BUILT_PRODUCTS_DIR; 943 | }; 944 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 945 | isa = PBXReferenceProxy; 946 | fileType = archive.ar; 947 | path = libRCTText.a; 948 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 949 | sourceTree = BUILT_PRODUCTS_DIR; 950 | }; 951 | C6D4934D22B22E850085F599 /* libfishhook.a */ = { 952 | isa = PBXReferenceProxy; 953 | fileType = archive.ar; 954 | path = libfishhook.a; 955 | remoteRef = C6D4934C22B22E850085F599 /* PBXContainerItemProxy */; 956 | sourceTree = BUILT_PRODUCTS_DIR; 957 | }; 958 | C6D4934F22B22E850085F599 /* libfishhook-tvOS.a */ = { 959 | isa = PBXReferenceProxy; 960 | fileType = archive.ar; 961 | path = "libfishhook-tvOS.a"; 962 | remoteRef = C6D4934E22B22E850085F599 /* PBXContainerItemProxy */; 963 | sourceTree = BUILT_PRODUCTS_DIR; 964 | }; 965 | C6D4936122B22E850085F599 /* libjsinspector.a */ = { 966 | isa = PBXReferenceProxy; 967 | fileType = archive.ar; 968 | path = libjsinspector.a; 969 | remoteRef = C6D4936022B22E850085F599 /* PBXContainerItemProxy */; 970 | sourceTree = BUILT_PRODUCTS_DIR; 971 | }; 972 | C6D4936322B22E850085F599 /* libjsinspector-tvOS.a */ = { 973 | isa = PBXReferenceProxy; 974 | fileType = archive.ar; 975 | path = "libjsinspector-tvOS.a"; 976 | remoteRef = C6D4936222B22E850085F599 /* PBXContainerItemProxy */; 977 | sourceTree = BUILT_PRODUCTS_DIR; 978 | }; 979 | C6D4936522B22E850085F599 /* libthird-party.a */ = { 980 | isa = PBXReferenceProxy; 981 | fileType = archive.ar; 982 | path = "libthird-party.a"; 983 | remoteRef = C6D4936422B22E850085F599 /* PBXContainerItemProxy */; 984 | sourceTree = BUILT_PRODUCTS_DIR; 985 | }; 986 | C6D4936722B22E850085F599 /* libthird-party.a */ = { 987 | isa = PBXReferenceProxy; 988 | fileType = archive.ar; 989 | path = "libthird-party.a"; 990 | remoteRef = C6D4936622B22E850085F599 /* PBXContainerItemProxy */; 991 | sourceTree = BUILT_PRODUCTS_DIR; 992 | }; 993 | C6D4936922B22E850085F599 /* libdouble-conversion.a */ = { 994 | isa = PBXReferenceProxy; 995 | fileType = archive.ar; 996 | path = "libdouble-conversion.a"; 997 | remoteRef = C6D4936822B22E850085F599 /* PBXContainerItemProxy */; 998 | sourceTree = BUILT_PRODUCTS_DIR; 999 | }; 1000 | C6D4936B22B22E850085F599 /* libdouble-conversion.a */ = { 1001 | isa = PBXReferenceProxy; 1002 | fileType = archive.ar; 1003 | path = "libdouble-conversion.a"; 1004 | remoteRef = C6D4936A22B22E850085F599 /* PBXContainerItemProxy */; 1005 | sourceTree = BUILT_PRODUCTS_DIR; 1006 | }; 1007 | C6D4936D22B22E850085F599 /* libjsi.a */ = { 1008 | isa = PBXReferenceProxy; 1009 | fileType = archive.ar; 1010 | path = libjsi.a; 1011 | remoteRef = C6D4936C22B22E850085F599 /* PBXContainerItemProxy */; 1012 | sourceTree = BUILT_PRODUCTS_DIR; 1013 | }; 1014 | C6D4936F22B22E850085F599 /* libjsiexecutor.a */ = { 1015 | isa = PBXReferenceProxy; 1016 | fileType = archive.ar; 1017 | path = libjsiexecutor.a; 1018 | remoteRef = C6D4936E22B22E850085F599 /* PBXContainerItemProxy */; 1019 | sourceTree = BUILT_PRODUCTS_DIR; 1020 | }; 1021 | C6D4937122B22E850085F599 /* libjsi-tvOS.a */ = { 1022 | isa = PBXReferenceProxy; 1023 | fileType = archive.ar; 1024 | path = "libjsi-tvOS.a"; 1025 | remoteRef = C6D4937022B22E850085F599 /* PBXContainerItemProxy */; 1026 | sourceTree = BUILT_PRODUCTS_DIR; 1027 | }; 1028 | C6D4937322B22E850085F599 /* libjsiexecutor-tvOS.a */ = { 1029 | isa = PBXReferenceProxy; 1030 | fileType = archive.ar; 1031 | path = "libjsiexecutor-tvOS.a"; 1032 | remoteRef = C6D4937222B22E850085F599 /* PBXContainerItemProxy */; 1033 | sourceTree = BUILT_PRODUCTS_DIR; 1034 | }; 1035 | C6D4940622B24A090085F599 /* libRNSVG.a */ = { 1036 | isa = PBXReferenceProxy; 1037 | fileType = archive.ar; 1038 | path = libRNSVG.a; 1039 | remoteRef = C6D4940522B24A090085F599 /* PBXContainerItemProxy */; 1040 | sourceTree = BUILT_PRODUCTS_DIR; 1041 | }; 1042 | C6D4940822B24A090085F599 /* libRNSVG-tvOS.a */ = { 1043 | isa = PBXReferenceProxy; 1044 | fileType = archive.ar; 1045 | path = "libRNSVG-tvOS.a"; 1046 | remoteRef = C6D4940722B24A090085F599 /* PBXContainerItemProxy */; 1047 | sourceTree = BUILT_PRODUCTS_DIR; 1048 | }; 1049 | /* End PBXReferenceProxy section */ 1050 | 1051 | /* Begin PBXResourcesBuildPhase section */ 1052 | 00E356EC1AD99517003FC87E /* Resources */ = { 1053 | isa = PBXResourcesBuildPhase; 1054 | buildActionMask = 2147483647; 1055 | files = ( 1056 | ); 1057 | runOnlyForDeploymentPostprocessing = 0; 1058 | }; 1059 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1060 | isa = PBXResourcesBuildPhase; 1061 | buildActionMask = 2147483647; 1062 | files = ( 1063 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1064 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1065 | ); 1066 | runOnlyForDeploymentPostprocessing = 0; 1067 | }; 1068 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1069 | isa = PBXResourcesBuildPhase; 1070 | buildActionMask = 2147483647; 1071 | files = ( 1072 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1073 | ); 1074 | runOnlyForDeploymentPostprocessing = 0; 1075 | }; 1076 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1077 | isa = PBXResourcesBuildPhase; 1078 | buildActionMask = 2147483647; 1079 | files = ( 1080 | ); 1081 | runOnlyForDeploymentPostprocessing = 0; 1082 | }; 1083 | /* End PBXResourcesBuildPhase section */ 1084 | 1085 | /* Begin PBXShellScriptBuildPhase section */ 1086 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1087 | isa = PBXShellScriptBuildPhase; 1088 | buildActionMask = 2147483647; 1089 | files = ( 1090 | ); 1091 | inputPaths = ( 1092 | ); 1093 | name = "Bundle React Native code and images"; 1094 | outputPaths = ( 1095 | ); 1096 | runOnlyForDeploymentPostprocessing = 0; 1097 | shellPath = /bin/sh; 1098 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n"; 1099 | }; 1100 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1101 | isa = PBXShellScriptBuildPhase; 1102 | buildActionMask = 2147483647; 1103 | files = ( 1104 | ); 1105 | inputPaths = ( 1106 | ); 1107 | name = "Bundle React Native Code And Images"; 1108 | outputPaths = ( 1109 | ); 1110 | runOnlyForDeploymentPostprocessing = 0; 1111 | shellPath = /bin/sh; 1112 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 1113 | }; 1114 | /* End PBXShellScriptBuildPhase section */ 1115 | 1116 | /* Begin PBXSourcesBuildPhase section */ 1117 | 00E356EA1AD99517003FC87E /* Sources */ = { 1118 | isa = PBXSourcesBuildPhase; 1119 | buildActionMask = 2147483647; 1120 | files = ( 1121 | 00E356F31AD99517003FC87E /* exampleTests.m in Sources */, 1122 | ); 1123 | runOnlyForDeploymentPostprocessing = 0; 1124 | }; 1125 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1126 | isa = PBXSourcesBuildPhase; 1127 | buildActionMask = 2147483647; 1128 | files = ( 1129 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1130 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1131 | ); 1132 | runOnlyForDeploymentPostprocessing = 0; 1133 | }; 1134 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1135 | isa = PBXSourcesBuildPhase; 1136 | buildActionMask = 2147483647; 1137 | files = ( 1138 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1139 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1140 | ); 1141 | runOnlyForDeploymentPostprocessing = 0; 1142 | }; 1143 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1144 | isa = PBXSourcesBuildPhase; 1145 | buildActionMask = 2147483647; 1146 | files = ( 1147 | 2DCD954D1E0B4F2C00145EB5 /* exampleTests.m in Sources */, 1148 | ); 1149 | runOnlyForDeploymentPostprocessing = 0; 1150 | }; 1151 | /* End PBXSourcesBuildPhase section */ 1152 | 1153 | /* Begin PBXTargetDependency section */ 1154 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1155 | isa = PBXTargetDependency; 1156 | target = 13B07F861A680F5B00A75B9A /* example */; 1157 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1158 | }; 1159 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1160 | isa = PBXTargetDependency; 1161 | target = 2D02E47A1E0B4A5D006451C7 /* example-tvOS */; 1162 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1163 | }; 1164 | /* End PBXTargetDependency section */ 1165 | 1166 | /* Begin PBXVariantGroup section */ 1167 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1168 | isa = PBXVariantGroup; 1169 | children = ( 1170 | 13B07FB21A68108700A75B9A /* Base */, 1171 | ); 1172 | name = LaunchScreen.xib; 1173 | path = example; 1174 | sourceTree = ""; 1175 | }; 1176 | /* End PBXVariantGroup section */ 1177 | 1178 | /* Begin XCBuildConfiguration section */ 1179 | 00E356F61AD99517003FC87E /* Debug */ = { 1180 | isa = XCBuildConfiguration; 1181 | buildSettings = { 1182 | BUNDLE_LOADER = "$(TEST_HOST)"; 1183 | GCC_PREPROCESSOR_DEFINITIONS = ( 1184 | "DEBUG=1", 1185 | "$(inherited)", 1186 | ); 1187 | HEADER_SEARCH_PATHS = ( 1188 | "$(inherited)", 1189 | "$(SRCROOT)/../node_modules/react-native-svg/ios/**", 1190 | ); 1191 | INFOPLIST_FILE = exampleTests/Info.plist; 1192 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1193 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1194 | LIBRARY_SEARCH_PATHS = ( 1195 | "$(inherited)", 1196 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1197 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1198 | ); 1199 | OTHER_LDFLAGS = ( 1200 | "-ObjC", 1201 | "-lc++", 1202 | ); 1203 | PRODUCT_NAME = "$(TARGET_NAME)"; 1204 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example"; 1205 | }; 1206 | name = Debug; 1207 | }; 1208 | 00E356F71AD99517003FC87E /* Release */ = { 1209 | isa = XCBuildConfiguration; 1210 | buildSettings = { 1211 | BUNDLE_LOADER = "$(TEST_HOST)"; 1212 | COPY_PHASE_STRIP = NO; 1213 | HEADER_SEARCH_PATHS = ( 1214 | "$(inherited)", 1215 | "$(SRCROOT)/../node_modules/react-native-svg/ios/**", 1216 | ); 1217 | INFOPLIST_FILE = exampleTests/Info.plist; 1218 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1219 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1220 | LIBRARY_SEARCH_PATHS = ( 1221 | "$(inherited)", 1222 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1223 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1224 | ); 1225 | OTHER_LDFLAGS = ( 1226 | "-ObjC", 1227 | "-lc++", 1228 | ); 1229 | PRODUCT_NAME = "$(TARGET_NAME)"; 1230 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example"; 1231 | }; 1232 | name = Release; 1233 | }; 1234 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1235 | isa = XCBuildConfiguration; 1236 | buildSettings = { 1237 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1238 | CURRENT_PROJECT_VERSION = 1; 1239 | DEAD_CODE_STRIPPING = NO; 1240 | HEADER_SEARCH_PATHS = ( 1241 | "$(inherited)", 1242 | "$(SRCROOT)/../node_modules/react-native-svg/ios/**", 1243 | ); 1244 | INFOPLIST_FILE = example/Info.plist; 1245 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1246 | OTHER_LDFLAGS = ( 1247 | "$(inherited)", 1248 | "-ObjC", 1249 | "-lc++", 1250 | ); 1251 | PRODUCT_NAME = example; 1252 | VERSIONING_SYSTEM = "apple-generic"; 1253 | }; 1254 | name = Debug; 1255 | }; 1256 | 13B07F951A680F5B00A75B9A /* Release */ = { 1257 | isa = XCBuildConfiguration; 1258 | buildSettings = { 1259 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1260 | CURRENT_PROJECT_VERSION = 1; 1261 | HEADER_SEARCH_PATHS = ( 1262 | "$(inherited)", 1263 | "$(SRCROOT)/../node_modules/react-native-svg/ios/**", 1264 | ); 1265 | INFOPLIST_FILE = example/Info.plist; 1266 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1267 | OTHER_LDFLAGS = ( 1268 | "$(inherited)", 1269 | "-ObjC", 1270 | "-lc++", 1271 | ); 1272 | PRODUCT_NAME = example; 1273 | VERSIONING_SYSTEM = "apple-generic"; 1274 | }; 1275 | name = Release; 1276 | }; 1277 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1278 | isa = XCBuildConfiguration; 1279 | buildSettings = { 1280 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1281 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1282 | CLANG_ANALYZER_NONNULL = YES; 1283 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1284 | CLANG_WARN_INFINITE_RECURSION = YES; 1285 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1286 | DEBUG_INFORMATION_FORMAT = dwarf; 1287 | ENABLE_TESTABILITY = YES; 1288 | GCC_NO_COMMON_BLOCKS = YES; 1289 | HEADER_SEARCH_PATHS = ( 1290 | "$(inherited)", 1291 | "$(SRCROOT)/../node_modules/react-native-svg/ios/**", 1292 | ); 1293 | INFOPLIST_FILE = "example-tvOS/Info.plist"; 1294 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1295 | LIBRARY_SEARCH_PATHS = ( 1296 | "$(inherited)", 1297 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1298 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1299 | ); 1300 | OTHER_LDFLAGS = ( 1301 | "-ObjC", 1302 | "-lc++", 1303 | ); 1304 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOS"; 1305 | PRODUCT_NAME = "$(TARGET_NAME)"; 1306 | SDKROOT = appletvos; 1307 | TARGETED_DEVICE_FAMILY = 3; 1308 | TVOS_DEPLOYMENT_TARGET = 9.2; 1309 | }; 1310 | name = Debug; 1311 | }; 1312 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1313 | isa = XCBuildConfiguration; 1314 | buildSettings = { 1315 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1316 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1317 | CLANG_ANALYZER_NONNULL = YES; 1318 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1319 | CLANG_WARN_INFINITE_RECURSION = YES; 1320 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1321 | COPY_PHASE_STRIP = NO; 1322 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1323 | GCC_NO_COMMON_BLOCKS = YES; 1324 | HEADER_SEARCH_PATHS = ( 1325 | "$(inherited)", 1326 | "$(SRCROOT)/../node_modules/react-native-svg/ios/**", 1327 | ); 1328 | INFOPLIST_FILE = "example-tvOS/Info.plist"; 1329 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1330 | LIBRARY_SEARCH_PATHS = ( 1331 | "$(inherited)", 1332 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1333 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1334 | ); 1335 | OTHER_LDFLAGS = ( 1336 | "-ObjC", 1337 | "-lc++", 1338 | ); 1339 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOS"; 1340 | PRODUCT_NAME = "$(TARGET_NAME)"; 1341 | SDKROOT = appletvos; 1342 | TARGETED_DEVICE_FAMILY = 3; 1343 | TVOS_DEPLOYMENT_TARGET = 9.2; 1344 | }; 1345 | name = Release; 1346 | }; 1347 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1348 | isa = XCBuildConfiguration; 1349 | buildSettings = { 1350 | BUNDLE_LOADER = "$(TEST_HOST)"; 1351 | CLANG_ANALYZER_NONNULL = YES; 1352 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1353 | CLANG_WARN_INFINITE_RECURSION = YES; 1354 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1355 | DEBUG_INFORMATION_FORMAT = dwarf; 1356 | ENABLE_TESTABILITY = YES; 1357 | GCC_NO_COMMON_BLOCKS = YES; 1358 | INFOPLIST_FILE = "example-tvOSTests/Info.plist"; 1359 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1360 | LIBRARY_SEARCH_PATHS = ( 1361 | "$(inherited)", 1362 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1363 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1364 | ); 1365 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOSTests"; 1366 | PRODUCT_NAME = "$(TARGET_NAME)"; 1367 | SDKROOT = appletvos; 1368 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example-tvOS.app/example-tvOS"; 1369 | TVOS_DEPLOYMENT_TARGET = 10.1; 1370 | }; 1371 | name = Debug; 1372 | }; 1373 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1374 | isa = XCBuildConfiguration; 1375 | buildSettings = { 1376 | BUNDLE_LOADER = "$(TEST_HOST)"; 1377 | CLANG_ANALYZER_NONNULL = YES; 1378 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1379 | CLANG_WARN_INFINITE_RECURSION = YES; 1380 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1381 | COPY_PHASE_STRIP = NO; 1382 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1383 | GCC_NO_COMMON_BLOCKS = YES; 1384 | INFOPLIST_FILE = "example-tvOSTests/Info.plist"; 1385 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1386 | LIBRARY_SEARCH_PATHS = ( 1387 | "$(inherited)", 1388 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1389 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1390 | ); 1391 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOSTests"; 1392 | PRODUCT_NAME = "$(TARGET_NAME)"; 1393 | SDKROOT = appletvos; 1394 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example-tvOS.app/example-tvOS"; 1395 | TVOS_DEPLOYMENT_TARGET = 10.1; 1396 | }; 1397 | name = Release; 1398 | }; 1399 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1400 | isa = XCBuildConfiguration; 1401 | buildSettings = { 1402 | ALWAYS_SEARCH_USER_PATHS = NO; 1403 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1404 | CLANG_CXX_LIBRARY = "libc++"; 1405 | CLANG_ENABLE_MODULES = YES; 1406 | CLANG_ENABLE_OBJC_ARC = YES; 1407 | CLANG_WARN_BOOL_CONVERSION = YES; 1408 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1409 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1410 | CLANG_WARN_EMPTY_BODY = YES; 1411 | CLANG_WARN_ENUM_CONVERSION = YES; 1412 | CLANG_WARN_INT_CONVERSION = YES; 1413 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1414 | CLANG_WARN_UNREACHABLE_CODE = YES; 1415 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1416 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1417 | COPY_PHASE_STRIP = NO; 1418 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1419 | GCC_C_LANGUAGE_STANDARD = gnu99; 1420 | GCC_DYNAMIC_NO_PIC = NO; 1421 | GCC_OPTIMIZATION_LEVEL = 0; 1422 | GCC_PREPROCESSOR_DEFINITIONS = ( 1423 | "DEBUG=1", 1424 | "$(inherited)", 1425 | ); 1426 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1427 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1428 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1429 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1430 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1431 | GCC_WARN_UNUSED_FUNCTION = YES; 1432 | GCC_WARN_UNUSED_VARIABLE = YES; 1433 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1434 | MTL_ENABLE_DEBUG_INFO = YES; 1435 | ONLY_ACTIVE_ARCH = YES; 1436 | SDKROOT = iphoneos; 1437 | }; 1438 | name = Debug; 1439 | }; 1440 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1441 | isa = XCBuildConfiguration; 1442 | buildSettings = { 1443 | ALWAYS_SEARCH_USER_PATHS = NO; 1444 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1445 | CLANG_CXX_LIBRARY = "libc++"; 1446 | CLANG_ENABLE_MODULES = YES; 1447 | CLANG_ENABLE_OBJC_ARC = YES; 1448 | CLANG_WARN_BOOL_CONVERSION = YES; 1449 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1450 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1451 | CLANG_WARN_EMPTY_BODY = YES; 1452 | CLANG_WARN_ENUM_CONVERSION = YES; 1453 | CLANG_WARN_INT_CONVERSION = YES; 1454 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1455 | CLANG_WARN_UNREACHABLE_CODE = YES; 1456 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1457 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1458 | COPY_PHASE_STRIP = YES; 1459 | ENABLE_NS_ASSERTIONS = NO; 1460 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1461 | GCC_C_LANGUAGE_STANDARD = gnu99; 1462 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1463 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1464 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1465 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1466 | GCC_WARN_UNUSED_FUNCTION = YES; 1467 | GCC_WARN_UNUSED_VARIABLE = YES; 1468 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1469 | MTL_ENABLE_DEBUG_INFO = NO; 1470 | SDKROOT = iphoneos; 1471 | VALIDATE_PRODUCT = YES; 1472 | }; 1473 | name = Release; 1474 | }; 1475 | /* End XCBuildConfiguration section */ 1476 | 1477 | /* Begin XCConfigurationList section */ 1478 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */ = { 1479 | isa = XCConfigurationList; 1480 | buildConfigurations = ( 1481 | 00E356F61AD99517003FC87E /* Debug */, 1482 | 00E356F71AD99517003FC87E /* Release */, 1483 | ); 1484 | defaultConfigurationIsVisible = 0; 1485 | defaultConfigurationName = Release; 1486 | }; 1487 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */ = { 1488 | isa = XCConfigurationList; 1489 | buildConfigurations = ( 1490 | 13B07F941A680F5B00A75B9A /* Debug */, 1491 | 13B07F951A680F5B00A75B9A /* Release */, 1492 | ); 1493 | defaultConfigurationIsVisible = 0; 1494 | defaultConfigurationName = Release; 1495 | }; 1496 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOS" */ = { 1497 | isa = XCConfigurationList; 1498 | buildConfigurations = ( 1499 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1500 | 2D02E4981E0B4A5E006451C7 /* Release */, 1501 | ); 1502 | defaultConfigurationIsVisible = 0; 1503 | defaultConfigurationName = Release; 1504 | }; 1505 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOSTests" */ = { 1506 | isa = XCConfigurationList; 1507 | buildConfigurations = ( 1508 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1509 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1510 | ); 1511 | defaultConfigurationIsVisible = 0; 1512 | defaultConfigurationName = Release; 1513 | }; 1514 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */ = { 1515 | isa = XCConfigurationList; 1516 | buildConfigurations = ( 1517 | 83CBBA201A601CBA00E9B192 /* Debug */, 1518 | 83CBBA211A601CBA00E9B192 /* Release */, 1519 | ); 1520 | defaultConfigurationIsVisible = 0; 1521 | defaultConfigurationName = Release; 1522 | }; 1523 | /* End XCConfigurationList section */ 1524 | }; 1525 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1526 | } 1527 | --------------------------------------------------------------------------------