├── .github └── ISSUE_TEMPLATE.md ├── .gitignore ├── Badge.js ├── CHANGELOG ├── LICENSE ├── Layout.js ├── README.md ├── StaticContainer.js ├── Tab.js ├── TabBar.js ├── TabNavigator.js ├── TabNavigatorItem.js ├── config └── ViewPropTypes.js ├── demo.gif ├── example └── TabDemo │ ├── .babelrc │ ├── .buckconfig │ ├── .flowconfig │ ├── .gitattributes │ ├── .gitignore │ ├── .watchmanconfig │ ├── __tests__ │ ├── index.android.js │ └── index.ios.js │ ├── android │ ├── app │ │ ├── BUCK │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── tabdemo │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── res │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── keystores │ │ ├── BUCK │ │ └── debug.keystore.properties │ └── settings.gradle │ ├── app.json │ ├── index.android.js │ ├── index.ios.js │ ├── ios │ ├── Podfile │ ├── Pods │ │ └── Local Podspecs │ │ │ └── RNVectorIcons.podspec.json │ ├── TabDemo-tvOS │ │ └── Info.plist │ ├── TabDemo-tvOSTests │ │ └── Info.plist │ ├── TabDemo.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ ├── TabDemo-tvOS.xcscheme │ │ │ └── TabDemo.xcscheme │ ├── TabDemo │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Base.lproj │ │ │ └── LaunchScreen.xib │ │ ├── Images.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── Info.plist │ │ └── main.m │ └── TabDemoTests │ │ ├── Info.plist │ │ └── TabDemoTests.m │ ├── launcher.js │ └── package.json └── package.json /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 10 | 11 | - [ ] I have searched [existing issues](https://github.com/happypancake/react-native-tab-navigator/issues) 12 | - [ ] I am using the [latest react native tab navigator version](https://www.npmjs.org/package/react-native-tab-navigator) 13 | 14 | 17 | 18 | ## Steps to Reproduce 19 | 22 | 23 | ## Expected Behavior 24 | 27 | 28 | ## Actual Behavior 29 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | 5 | # Runtime data 6 | pids 7 | *.pid 8 | *.seed 9 | 10 | # Directory for instrumented libs generated by jscoverage/JSCover 11 | lib-cov 12 | 13 | # Coverage directory used by tools like istanbul 14 | coverage 15 | 16 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 17 | .grunt 18 | 19 | # node-waf configuration 20 | .lock-wscript 21 | 22 | # Compiled binary addons (http://nodejs.org/api/addons.html) 23 | build/Release 24 | 25 | # Dependency directory 26 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git 27 | node_modules 28 | 29 | # Webstorm 30 | .idea 31 | -------------------------------------------------------------------------------- /Badge.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import React from 'react'; 4 | import { 5 | StyleSheet, 6 | Text, 7 | } from 'react-native'; 8 | 9 | import Layout from './Layout'; 10 | 11 | export default class Badge extends React.Component { 12 | static propTypes = Text.propTypes; 13 | 14 | constructor(props, context) { 15 | super(props, context); 16 | 17 | this._handleLayout = this._handleLayout.bind(this); 18 | } 19 | 20 | state = { 21 | computedSize: null, 22 | }; 23 | 24 | render() { 25 | let { computedSize } = this.state; 26 | let style = {}; 27 | if (!computedSize) { 28 | style.opacity = 0; 29 | } else { 30 | style.width = Math.max(computedSize.height, computedSize.width); 31 | } 32 | 33 | return ( 34 | 39 | {this.props.children} 40 | 41 | ); 42 | } 43 | 44 | _handleLayout(event) { 45 | let { width, height } = event.nativeEvent.layout; 46 | let { computedSize } = this.state; 47 | if (computedSize && computedSize.height === height && 48 | computedSize.width === width) { 49 | return; 50 | } 51 | 52 | this.setState({ 53 | computedSize: { width, height }, 54 | }); 55 | 56 | if (this.props.onLayout) { 57 | this.props.onLayout(event); 58 | } 59 | } 60 | } 61 | 62 | let styles = StyleSheet.create({ 63 | container: { 64 | fontSize: 10, 65 | color: '#fff', 66 | backgroundColor: 'rgb(0, 122, 255)', 67 | lineHeight: 15, 68 | textAlign: 'center', 69 | borderWidth: 1 + Layout.pixel, 70 | borderColor: '#fefefe', 71 | borderRadius: 17 / 2, 72 | overflow: 'hidden', 73 | }, 74 | }); 75 | -------------------------------------------------------------------------------- /CHANGELOG: -------------------------------------------------------------------------------- 1 | # 0.3.4 2 | 3 | BREAKING: Updated PropTypes imports for React 16 4 | BREAKING: Updated ViewProps imports for RN 0.44 release 5 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 James Ide 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 | 23 | -------------------------------------------------------------------------------- /Layout.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import { PixelRatio } from 'react-native'; 4 | 5 | export default { 6 | pixel: 1 / PixelRatio.get(), 7 | tabBarHeight: 49, 8 | }; 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # TabNavigator 2 | A tab bar that switches between scenes, written in JS for cross-platform support. It works on iOS and Android. 3 | 4 | This component is compatible with React Native 0.16 and newer. 5 | 6 | The look and feel is slightly different than the native navigator but it is better in some ways. Also it is pure JavaScript. 7 | 8 | Note: This is **not** the same `TabNavigation` component that is used in [ExNavigation](https://github.com/exponentjs/ex-navigation), the API and implementations are slightly different -- react-native-tab-navigator stands on its own and does not depend on any other navigation library. 9 | 10 | ## Demo 11 | For demo, please check the example folder 12 | 13 | demo 14 | 15 | Install 16 | ------- 17 | 18 | Make sure that you are in your React Native project directory and run: 19 | 20 | ```npm install react-native-tab-navigator --save``` 21 | 22 | ## Usage 23 | 24 | Import TabNavigator as a JavaScript module: 25 | 26 | ```js 27 | import TabNavigator from 'react-native-tab-navigator'; 28 | ``` 29 | 30 | This is an example of how to use the component and some of the commonly used props that it supports: 31 | 32 | ```js 33 | 34 | } 38 | renderSelectedIcon={() => } 39 | badgeText="1" 40 | onPress={() => this.setState({ selectedTab: 'home' })}> 41 | {homeView} 42 | 43 | } 47 | renderSelectedIcon={() => } 48 | renderBadge={() => } 49 | onPress={() => this.setState({ selectedTab: 'profile' })}> 50 | {profileView} 51 | 52 | 53 | ``` 54 | 55 | See TabNavigatorItem's supported props for more info. 56 | 57 | ### Hiding the Tab Bar 58 | 59 | You can hide the tab bar by using styles. For example: 60 | ```js 61 | let tabBarHeight = 0; 62 | 66 | ``` 67 | 68 | ### Props 69 | 70 | TabNavigator props 71 | 72 | | prop | default | type | description | 73 | | ---- | ---- | ----| ---- | 74 | | sceneStyle | inherited | object (style) | define for rendered scene | 75 | | tabBarStyle | inherited | object (style) | define style for TabBar | 76 | | tabBarShadowStyle | inherited | object (style) | define shadow style for tabBar | 77 | | hidesTabTouch | false | boolean | disable onPress opacity for Tab | 78 | 79 | TabNavigator.Item props 80 | 81 | | prop | default | type | description | 82 | | ---- | ---- | ----| ---- | 83 | | renderIcon | none | function | returns Item icon | 84 | | renderSelectedIcon | none | function | returns selected Item icon | 85 | | badgeText | none | string or number | text for Item badge | 86 | | renderBadge | none | function | returns Item badge | 87 | | title | none | string | Item title | 88 | | titleStyle | inherited | style | styling for Item title | 89 | | selectedTitleStyle | none | style | styling for selected Item title | 90 | | tabStyle | inherited | style | styling for tab | 91 | | selected | none | boolean | return whether the item is selected | 92 | | onPress | none | function | onPress method for Item | 93 | | allowFontScaling | false | boolean | allow font scaling for title | 94 | | accessible | none | boolean | indicates if this item is an accessibility element | 95 | | accessibilityLabel | none | string | override text for screen readers | 96 | | testID | none | string | used to locate this item in end-to-end-tests | 97 | -------------------------------------------------------------------------------- /StaticContainer.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import React from 'react'; 4 | import PropTypes from 'prop-types'; 5 | 6 | export default class StaticContainer extends React.Component { 7 | static propTypes = { 8 | shouldUpdate: PropTypes.bool, 9 | }; 10 | 11 | shouldComponentUpdate(nextProps: Object): boolean { 12 | return !!nextProps.shouldUpdate; 13 | } 14 | 15 | render() { 16 | let { children } = this.props; 17 | return children ? React.Children.only(children) : null; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Tab.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import React from 'react'; 4 | import PropTypes from 'prop-types'; 5 | import { 6 | StyleSheet, 7 | Text, 8 | TouchableOpacity, 9 | TouchableNativeFeedback, 10 | Platform, 11 | View, 12 | } from 'react-native'; 13 | 14 | import ViewPropTypes from './config/ViewPropTypes'; 15 | import Layout from './Layout'; 16 | 17 | export default class Tab extends React.Component { 18 | static propTypes = { 19 | testID : PropTypes.string, 20 | accessible: PropTypes.bool, 21 | accessibilityLabel : PropTypes.string, 22 | title: PropTypes.string, 23 | titleStyle: Text.propTypes.style, 24 | badge: PropTypes.element, 25 | onPress: PropTypes.func, 26 | hidesTabTouch: PropTypes.bool, 27 | allowFontScaling: PropTypes.bool, 28 | style: ViewPropTypes.style, 29 | }; 30 | 31 | constructor(props, context) { 32 | super(props, context); 33 | 34 | this._handlePress = this._handlePress.bind(this); 35 | } 36 | 37 | render() { 38 | let { title, badge } = this.props; 39 | let icon = null; 40 | if (React.Children.count(this.props.children) > 0) { 41 | icon = React.Children.only(this.props.children); 42 | } 43 | 44 | if (title) { 45 | title = 46 | 50 | {title} 51 | ; 52 | } 53 | 54 | if (badge) { 55 | badge = React.cloneElement(badge, { 56 | style: [styles.badge, badge.props.style], 57 | }); 58 | } 59 | 60 | let tabStyle = [ 61 | styles.container, 62 | title ? null : styles.untitledContainer, 63 | this.props.style, 64 | ]; 65 | if ( 66 | !this.props.hidesTabTouch && 67 | Platform.OS === 'android' && 68 | Platform.Version >= 21 69 | ) { 70 | return ( 71 | 77 | 78 | 79 | {icon} 80 | {badge} 81 | 82 | {title} 83 | 84 | 85 | ); 86 | } 87 | return ( 88 | 95 | 96 | {icon} 97 | {badge} 98 | 99 | {title} 100 | 101 | ); 102 | } 103 | 104 | _handlePress(event) { 105 | if (this.props.onPress) { 106 | this.props.onPress(event); 107 | } 108 | } 109 | } 110 | 111 | let styles = StyleSheet.create({ 112 | badge: { 113 | position: 'absolute', 114 | top: -6, 115 | right: -10, 116 | }, 117 | container: { 118 | flex: 1, 119 | flexDirection: 'column', 120 | justifyContent: 'flex-end', 121 | alignItems: 'center', 122 | }, 123 | untitledContainer: { 124 | paddingBottom: 13, 125 | }, 126 | title: { 127 | color: '#929292', 128 | fontSize: 10, 129 | textAlign: 'center', 130 | alignSelf: 'stretch', 131 | marginTop: 4, 132 | marginBottom: 1 + Layout.pixel, 133 | }, 134 | }); 135 | -------------------------------------------------------------------------------- /TabBar.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import React from 'react'; 4 | import { 5 | Animated, 6 | Platform, 7 | StyleSheet, 8 | View, 9 | } from 'react-native'; 10 | 11 | import ViewPropTypes from './config/ViewPropTypes'; 12 | import Layout from './Layout'; 13 | 14 | export default class TabBar extends React.Component { 15 | static propTypes = { 16 | ...Animated.View.propTypes, 17 | shadowStyle: ViewPropTypes.style, 18 | }; 19 | 20 | render() { 21 | return ( 22 | 23 | {this.props.children} 24 | 25 | 26 | ); 27 | } 28 | } 29 | 30 | let styles = StyleSheet.create({ 31 | container: { 32 | backgroundColor: '#f8f8f8', 33 | flexDirection: 'row', 34 | justifyContent: 'space-around', 35 | height: Layout.tabBarHeight, 36 | position: 'absolute', 37 | bottom: 0, 38 | left: 0, 39 | right: 0, 40 | }, 41 | shadow: { 42 | backgroundColor: 'rgba(0, 0, 0, 0.25)', 43 | height: Layout.pixel, 44 | position: 'absolute', 45 | left: 0, 46 | right: 0, 47 | top: Platform.OS === 'android' ? 0 : -Layout.pixel, 48 | }, 49 | }); 50 | -------------------------------------------------------------------------------- /TabNavigator.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import { Set } from 'immutable'; 4 | import React from 'react'; 5 | import PropTypes from 'prop-types'; 6 | import { 7 | StyleSheet, 8 | View, 9 | } from 'react-native'; 10 | 11 | import Badge from './Badge'; 12 | import Layout from './Layout'; 13 | import StaticContainer from './StaticContainer'; 14 | import Tab from './Tab'; 15 | import TabBar from './TabBar'; 16 | import TabNavigatorItem from './TabNavigatorItem'; 17 | import ViewPropTypes from './config/ViewPropTypes'; 18 | 19 | export default class TabNavigator extends React.Component { 20 | static propTypes = { 21 | ...ViewPropTypes, 22 | sceneStyle: ViewPropTypes.style, 23 | tabBarStyle: TabBar.propTypes.style, 24 | tabBarShadowStyle: TabBar.propTypes.shadowStyle, 25 | hidesTabTouch: PropTypes.bool 26 | }; 27 | 28 | constructor(props, context) { 29 | super(props, context); 30 | this.state = { 31 | renderedSceneKeys: this._updateRenderedSceneKeys(props.children), 32 | }; 33 | 34 | this._renderTab = this._renderTab.bind(this); 35 | } 36 | 37 | componentWillReceiveProps(nextProps) { 38 | let { renderedSceneKeys } = this.state; 39 | this.setState({ 40 | renderedSceneKeys: this._updateRenderedSceneKeys( 41 | nextProps.children, 42 | renderedSceneKeys, 43 | ), 44 | }); 45 | } 46 | 47 | _getSceneKey(item, index): string { 48 | return `scene-${(item.key !== null) ? item.key : index}`; 49 | } 50 | 51 | _updateRenderedSceneKeys(children, oldSceneKeys = Set()): Set { 52 | let newSceneKeys = Set().asMutable(); 53 | React.Children.forEach(children, (item, index) => { 54 | if (item === null) { 55 | return; 56 | } 57 | let key = this._getSceneKey(item, index); 58 | if (oldSceneKeys.has(key) || item.props.selected) { 59 | newSceneKeys.add(key); 60 | } 61 | }); 62 | return newSceneKeys.asImmutable(); 63 | } 64 | 65 | render() { 66 | let { style, children, tabBarStyle, tabBarShadowStyle, sceneStyle, ...props } = this.props; 67 | let scenes = []; 68 | 69 | React.Children.forEach(children, (item, index) => { 70 | if (item === null) { 71 | return; 72 | } 73 | let sceneKey = this._getSceneKey(item, index); 74 | if (!this.state.renderedSceneKeys.has(sceneKey)) { 75 | return; 76 | } 77 | 78 | let { selected } = item.props; 79 | let scene = 80 | 81 | {item} 82 | ; 83 | 84 | scenes.push(scene); 85 | }); 86 | 87 | return ( 88 | 89 | {scenes} 90 | 91 | {React.Children.map(children, this._renderTab)} 92 | 93 | 94 | ); 95 | } 96 | 97 | _renderTab(item) { 98 | let icon; 99 | if (item === null) { 100 | return; 101 | } 102 | if (item.props.selected) { 103 | if (item.props.renderSelectedIcon) { 104 | icon = item.props.renderSelectedIcon(); 105 | } else if (item.props.renderIcon) { 106 | let defaultIcon = item.props.renderIcon(); 107 | icon = React.cloneElement(defaultIcon, { 108 | style: [defaultIcon.props.style, styles.defaultSelectedIcon], 109 | }); 110 | } 111 | } else if (item.props.renderIcon) { 112 | icon = item.props.renderIcon(); 113 | } 114 | 115 | let badge; 116 | if (item.props.renderBadge) { 117 | badge = item.props.renderBadge(); 118 | } else if (item.props.badgeText) { 119 | badge = {item.props.badgeText}; 120 | } 121 | 122 | return ( 123 | 140 | {icon} 141 | 142 | ); 143 | } 144 | } 145 | 146 | class SceneContainer extends React.Component { 147 | static propTypes = { 148 | ...ViewPropTypes, 149 | selected: PropTypes.bool, 150 | }; 151 | 152 | render() { 153 | let { selected, ...props } = this.props; 154 | return ( 155 | 164 | 165 | {this.props.children} 166 | 167 | 168 | ); 169 | } 170 | } 171 | 172 | let styles = StyleSheet.create({ 173 | container: { 174 | flex: 1, 175 | }, 176 | sceneContainer: { 177 | position: 'absolute', 178 | top: 0, 179 | left: 0, 180 | right: 0, 181 | bottom: 0, 182 | paddingBottom: Layout.tabBarHeight, 183 | }, 184 | hiddenSceneContainer: { 185 | overflow: 'hidden', 186 | opacity: 0, 187 | }, 188 | defaultSelectedTitle: { 189 | color: 'rgb(0, 122, 255)', 190 | }, 191 | defaultSelectedIcon: { 192 | tintColor: 'rgb(0, 122, 255)', 193 | }, 194 | }); 195 | 196 | TabNavigator.Item = TabNavigatorItem; 197 | -------------------------------------------------------------------------------- /TabNavigatorItem.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import React from 'react'; 4 | import PropTypes from 'prop-types'; 5 | import { 6 | Text, 7 | View, 8 | } from 'react-native'; 9 | 10 | import ViewPropTypes from './config/ViewPropTypes'; 11 | 12 | export default class TabNavigatorItem extends React.Component { 13 | static propTypes = { 14 | renderIcon: PropTypes.func, 15 | renderSelectedIcon: PropTypes.func, 16 | badgeText: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), 17 | renderBadge: PropTypes.func, 18 | title: PropTypes.string, 19 | titleStyle: Text.propTypes.style, 20 | selectedTitleStyle: Text.propTypes.style, 21 | tabStyle: ViewPropTypes.style, 22 | selected: PropTypes.bool, 23 | onPress: PropTypes.func, 24 | allowFontScaling: PropTypes.bool, 25 | }; 26 | 27 | static defaultProps = { 28 | }; 29 | 30 | render() { 31 | let child = React.Children.only(this.props.children); 32 | return React.cloneElement(child, { 33 | style: [child.props.style, this.props.style], 34 | }); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /config/ViewPropTypes.js: -------------------------------------------------------------------------------- 1 | import { View, ViewPropTypes as RNViewPropTypes } from 'react-native'; 2 | 3 | const ViewPropTypes = RNViewPropTypes || View.propTypes; 4 | 5 | export default ViewPropTypes; -------------------------------------------------------------------------------- /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ptomasroos/react-native-tab-navigator/5004fa9f78ef5a59c83d43a8eb6205563e28c795/demo.gif -------------------------------------------------------------------------------- /example/TabDemo/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } -------------------------------------------------------------------------------- /example/TabDemo/.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /example/TabDemo/.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-0]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 40 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-0]\\|[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.40.0 48 | -------------------------------------------------------------------------------- /example/TabDemo/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /example/TabDemo/.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 | -------------------------------------------------------------------------------- /example/TabDemo/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /example/TabDemo/__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/TabDemo/__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/TabDemo/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.tabdemo", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.tabdemo", 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/TabDemo/android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | apply from: "../../node_modules/react-native-vector-icons/fonts.gradle" 3 | 4 | import com.android.build.OutputFile 5 | 6 | /** 7 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 8 | * and bundleReleaseJsAndAssets). 9 | * These basically call `react-native bundle` with the correct arguments during the Android build 10 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 11 | * bundle directly from the development server. Below you can see all the possible configurations 12 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 13 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 14 | * 15 | * project.ext.react = [ 16 | * // the name of the generated asset file containing your JS bundle 17 | * bundleAssetName: "index.android.bundle", 18 | * 19 | * // the entry file for bundle generation 20 | * entryFile: "index.android.js", 21 | * 22 | * // whether to bundle JS and assets in debug mode 23 | * bundleInDebug: false, 24 | * 25 | * // whether to bundle JS and assets in release mode 26 | * bundleInRelease: true, 27 | * 28 | * // whether to bundle JS and assets in another build variant (if configured). 29 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 30 | * // The configuration property can be in the following formats 31 | * // 'bundleIn${productFlavor}${buildType}' 32 | * // 'bundleIn${buildType}' 33 | * // bundleInFreeDebug: true, 34 | * // bundleInPaidRelease: true, 35 | * // bundleInBeta: true, 36 | * 37 | * // the root of your project, i.e. where "package.json" lives 38 | * root: "../../", 39 | * 40 | * // where to put the JS bundle asset in debug mode 41 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 42 | * 43 | * // where to put the JS bundle asset in release mode 44 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 45 | * 46 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 47 | * // require('./image.png')), in debug mode 48 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 49 | * 50 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 51 | * // require('./image.png')), in release mode 52 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 53 | * 54 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 55 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 56 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 57 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 58 | * // for example, you might want to remove it from here. 59 | * inputExcludes: ["android/**", "ios/**"], 60 | * 61 | * // override which node gets called and with what additional arguments 62 | * nodeExecutableAndArgs: ["node"] 63 | * 64 | * // supply additional arguments to the packager 65 | * extraPackagerArgs: [] 66 | * ] 67 | */ 68 | 69 | apply from: "../../node_modules/react-native/react.gradle" 70 | 71 | /** 72 | * Set this to true to create two separate APKs instead of one: 73 | * - An APK that only works on ARM devices 74 | * - An APK that only works on x86 devices 75 | * The advantage is the size of the APK is reduced by about 4MB. 76 | * Upload all the APKs to the Play Store and people will download 77 | * the correct one based on the CPU architecture of their device. 78 | */ 79 | def enableSeparateBuildPerCPUArchitecture = false 80 | 81 | /** 82 | * Run Proguard to shrink the Java bytecode in release builds. 83 | */ 84 | def enableProguardInReleaseBuilds = false 85 | 86 | android { 87 | compileSdkVersion 23 88 | buildToolsVersion "23.0.1" 89 | 90 | defaultConfig { 91 | applicationId "com.tabdemo" 92 | minSdkVersion 16 93 | targetSdkVersion 22 94 | versionCode 1 95 | versionName "1.0" 96 | ndk { 97 | abiFilters "armeabi-v7a", "x86" 98 | } 99 | } 100 | splits { 101 | abi { 102 | reset() 103 | enable enableSeparateBuildPerCPUArchitecture 104 | universalApk false // If true, also generate a universal APK 105 | include "armeabi-v7a", "x86" 106 | } 107 | } 108 | buildTypes { 109 | release { 110 | minifyEnabled enableProguardInReleaseBuilds 111 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 112 | } 113 | } 114 | // applicationVariants are e.g. debug, release 115 | applicationVariants.all { variant -> 116 | variant.outputs.each { output -> 117 | // For each separate APK per architecture, set a unique version code as described here: 118 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 119 | def versionCodes = ["armeabi-v7a":1, "x86":2] 120 | def abi = output.getFilter(OutputFile.ABI) 121 | if (abi != null) { // null for the universal-debug, universal-release variants 122 | output.versionCodeOverride = 123 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 124 | } 125 | } 126 | } 127 | } 128 | 129 | dependencies { 130 | compile fileTree(dir: "libs", include: ["*.jar"]) 131 | compile "com.android.support:appcompat-v7:23.0.1" 132 | compile "com.facebook.react:react-native:+" // From node_modules 133 | compile project(':react-native-vector-icons') 134 | } 135 | 136 | // Run this once to be able to run the application with BUCK 137 | // puts all compile dependencies into folder libs for BUCK to use 138 | task copyDownloadableDepsToLibs(type: Copy) { 139 | from configurations.compile 140 | into 'libs' 141 | } 142 | -------------------------------------------------------------------------------- /example/TabDemo/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 | # okhttp 54 | 55 | -keepattributes Signature 56 | -keepattributes *Annotation* 57 | -keep class okhttp3.** { *; } 58 | -keep interface okhttp3.** { *; } 59 | -dontwarn okhttp3.** 60 | 61 | # okio 62 | 63 | -keep class sun.misc.Unsafe { *; } 64 | -dontwarn java.nio.file.* 65 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 66 | -dontwarn okio.** 67 | -------------------------------------------------------------------------------- /example/TabDemo/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /example/TabDemo/android/app/src/main/java/com/tabdemo/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.tabdemo; 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 "TabDemo"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /example/TabDemo/android/app/src/main/java/com/tabdemo/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.tabdemo; 2 | 3 | import android.app.Application; 4 | 5 | import com.oblador.vectoricons.VectorIconsPackage; 6 | 7 | import com.facebook.react.ReactApplication; 8 | import com.facebook.react.ReactNativeHost; 9 | import com.facebook.react.ReactPackage; 10 | import com.facebook.react.shell.MainReactPackage; 11 | import com.facebook.soloader.SoLoader; 12 | 13 | import java.util.Arrays; 14 | import java.util.List; 15 | 16 | public class MainApplication extends Application implements ReactApplication { 17 | 18 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 19 | @Override 20 | public boolean getUseDeveloperSupport() { 21 | return BuildConfig.DEBUG; 22 | } 23 | 24 | @Override 25 | protected List getPackages() { 26 | return Arrays.asList( 27 | new MainReactPackage(), 28 | new VectorIconsPackage() 29 | ); 30 | } 31 | }; 32 | 33 | @Override 34 | public ReactNativeHost getReactNativeHost() { 35 | return mReactNativeHost; 36 | } 37 | 38 | @Override 39 | public void onCreate() { 40 | super.onCreate(); 41 | SoLoader.init(this, /* native exopackage */ false); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /example/TabDemo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ptomasroos/react-native-tab-navigator/5004fa9f78ef5a59c83d43a8eb6205563e28c795/example/TabDemo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/TabDemo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ptomasroos/react-native-tab-navigator/5004fa9f78ef5a59c83d43a8eb6205563e28c795/example/TabDemo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/TabDemo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ptomasroos/react-native-tab-navigator/5004fa9f78ef5a59c83d43a8eb6205563e28c795/example/TabDemo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/TabDemo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ptomasroos/react-native-tab-navigator/5004fa9f78ef5a59c83d43a8eb6205563e28c795/example/TabDemo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/TabDemo/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | TabDemo 3 | 4 | -------------------------------------------------------------------------------- /example/TabDemo/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /example/TabDemo/android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.3' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | mavenLocal() 18 | jcenter() 19 | maven { 20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 21 | url "$rootDir/../node_modules/react-native/android" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /example/TabDemo/android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useDeprecatedNdk=true 21 | -------------------------------------------------------------------------------- /example/TabDemo/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ptomasroos/react-native-tab-navigator/5004fa9f78ef5a59c83d43a8eb6205563e28c795/example/TabDemo/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /example/TabDemo/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 6 | -------------------------------------------------------------------------------- /example/TabDemo/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/TabDemo/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/TabDemo/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/TabDemo/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/TabDemo/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'TabDemo' 2 | 3 | include ':app' 4 | 5 | include ':react-native-vector-icons' 6 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 7 | -------------------------------------------------------------------------------- /example/TabDemo/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TabDemo", 3 | "displayName": "TabDemo" 4 | } -------------------------------------------------------------------------------- /example/TabDemo/index.android.js: -------------------------------------------------------------------------------- 1 | import './launcher' -------------------------------------------------------------------------------- /example/TabDemo/index.ios.js: -------------------------------------------------------------------------------- 1 | import './launcher' 2 | 3 | -------------------------------------------------------------------------------- /example/TabDemo/ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'TabDemo' do 5 | # Uncomment the next line if you're using Swift or would like to use dynamic frameworks 6 | # use_frameworks! 7 | 8 | # Pods for TabDemo 9 | 10 | target 'TabDemo-tvOSTests' do 11 | inherit! :search_paths 12 | pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons' 13 | # Pods for testing 14 | end 15 | 16 | target 'TabDemoTests' do 17 | inherit! :search_paths 18 | # Pods for testing 19 | end 20 | 21 | end 22 | -------------------------------------------------------------------------------- /example/TabDemo/ios/Pods/Local Podspecs/RNVectorIcons.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RNVectorIcons", 3 | "version": "4.0.1", 4 | "summary": "Customizable Icons for React Native with support for NavBar/TabBar, image source and full styling.", 5 | "homepage": "https://github.com/oblador/react-native-vector-icons", 6 | "license": "MIT", 7 | "authors": { 8 | "Joel Arvidsson": "joel@oblador.se" 9 | }, 10 | "platforms": { 11 | "ios": "7.0" 12 | }, 13 | "source": { 14 | "git": "https://github.com/oblador/react-native-vector-icons.git", 15 | "tag": "v4.0.1" 16 | }, 17 | "source_files": "RNVectorIconsManager/**/*.{h,m}", 18 | "resources": "Fonts/*.ttf", 19 | "preserve_paths": "**/*.js", 20 | "dependencies": { 21 | "React": [ 22 | 23 | ] 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /example/TabDemo/ios/TabDemo-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/TabDemo/ios/TabDemo-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /example/TabDemo/ios/TabDemo.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 /* TabDemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* TabDemoTests.m */; }; 16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 23 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 25 | 246D48D41E9BB95D00DBA202 /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 246D48CA1E9BB95D00DBA202 /* Entypo.ttf */; }; 26 | 246D48D51E9BB95D00DBA202 /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 246D48CB1E9BB95D00DBA202 /* EvilIcons.ttf */; }; 27 | 246D48D61E9BB95D00DBA202 /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 246D48CC1E9BB95D00DBA202 /* Octicons.ttf */; }; 28 | 246D48D71E9BB95D00DBA202 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 246D48CD1E9BB95D00DBA202 /* SimpleLineIcons.ttf */; }; 29 | 246D48D81E9BB95D00DBA202 /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 246D48CE1E9BB95D00DBA202 /* Zocial.ttf */; }; 30 | 246D48D91E9BB95D00DBA202 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 246D48CF1E9BB95D00DBA202 /* MaterialCommunityIcons.ttf */; }; 31 | 246D48DA1E9BB95D00DBA202 /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 246D48D01E9BB95D00DBA202 /* Ionicons.ttf */; }; 32 | 246D48DB1E9BB95D00DBA202 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 246D48D11E9BB95D00DBA202 /* MaterialIcons.ttf */; }; 33 | 246D48DC1E9BB95D00DBA202 /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 246D48D21E9BB95D00DBA202 /* Foundation.ttf */; }; 34 | 246D48DD1E9BB95D00DBA202 /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 246D48D31E9BB95D00DBA202 /* FontAwesome.ttf */; }; 35 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 36 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 37 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 38 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */; }; 39 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 40 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 41 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 42 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 43 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 44 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 45 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 46 | 2DCD954D1E0B4F2C00145EB5 /* TabDemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* TabDemoTests.m */; }; 47 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 48 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 49 | /* End PBXBuildFile section */ 50 | 51 | /* Begin PBXContainerItemProxy section */ 52 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 53 | isa = PBXContainerItemProxy; 54 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 55 | proxyType = 2; 56 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 57 | remoteInfo = RCTActionSheet; 58 | }; 59 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 60 | isa = PBXContainerItemProxy; 61 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 62 | proxyType = 2; 63 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 64 | remoteInfo = RCTGeolocation; 65 | }; 66 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 67 | isa = PBXContainerItemProxy; 68 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 69 | proxyType = 2; 70 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 71 | remoteInfo = RCTImage; 72 | }; 73 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 74 | isa = PBXContainerItemProxy; 75 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 76 | proxyType = 2; 77 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 78 | remoteInfo = RCTNetwork; 79 | }; 80 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 81 | isa = PBXContainerItemProxy; 82 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 83 | proxyType = 2; 84 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 85 | remoteInfo = RCTVibration; 86 | }; 87 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 88 | isa = PBXContainerItemProxy; 89 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 90 | proxyType = 1; 91 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 92 | remoteInfo = TabDemo; 93 | }; 94 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 95 | isa = PBXContainerItemProxy; 96 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 97 | proxyType = 2; 98 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 99 | remoteInfo = RCTSettings; 100 | }; 101 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 102 | isa = PBXContainerItemProxy; 103 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 104 | proxyType = 2; 105 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 106 | remoteInfo = RCTWebSocket; 107 | }; 108 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 109 | isa = PBXContainerItemProxy; 110 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 111 | proxyType = 2; 112 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 113 | remoteInfo = React; 114 | }; 115 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 116 | isa = PBXContainerItemProxy; 117 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 118 | proxyType = 1; 119 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 120 | remoteInfo = "TabDemo-tvOS"; 121 | }; 122 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 123 | isa = PBXContainerItemProxy; 124 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 125 | proxyType = 2; 126 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 127 | remoteInfo = "RCTImage-tvOS"; 128 | }; 129 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 130 | isa = PBXContainerItemProxy; 131 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 132 | proxyType = 2; 133 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 134 | remoteInfo = "RCTLinking-tvOS"; 135 | }; 136 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 137 | isa = PBXContainerItemProxy; 138 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 139 | proxyType = 2; 140 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 141 | remoteInfo = "RCTNetwork-tvOS"; 142 | }; 143 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 144 | isa = PBXContainerItemProxy; 145 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 146 | proxyType = 2; 147 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 148 | remoteInfo = "RCTSettings-tvOS"; 149 | }; 150 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 151 | isa = PBXContainerItemProxy; 152 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 153 | proxyType = 2; 154 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 155 | remoteInfo = "RCTText-tvOS"; 156 | }; 157 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 158 | isa = PBXContainerItemProxy; 159 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 160 | proxyType = 2; 161 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 162 | remoteInfo = "RCTWebSocket-tvOS"; 163 | }; 164 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 165 | isa = PBXContainerItemProxy; 166 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 167 | proxyType = 2; 168 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 169 | remoteInfo = "React-tvOS"; 170 | }; 171 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 172 | isa = PBXContainerItemProxy; 173 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 174 | proxyType = 2; 175 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 176 | remoteInfo = yoga; 177 | }; 178 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 179 | isa = PBXContainerItemProxy; 180 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 181 | proxyType = 2; 182 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 183 | remoteInfo = "yoga-tvOS"; 184 | }; 185 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 186 | isa = PBXContainerItemProxy; 187 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 188 | proxyType = 2; 189 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 190 | remoteInfo = cxxreact; 191 | }; 192 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 193 | isa = PBXContainerItemProxy; 194 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 195 | proxyType = 2; 196 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 197 | remoteInfo = "cxxreact-tvOS"; 198 | }; 199 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 200 | isa = PBXContainerItemProxy; 201 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 202 | proxyType = 2; 203 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 204 | remoteInfo = jschelpers; 205 | }; 206 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 207 | isa = PBXContainerItemProxy; 208 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 209 | proxyType = 2; 210 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 211 | remoteInfo = "jschelpers-tvOS"; 212 | }; 213 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 214 | isa = PBXContainerItemProxy; 215 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 216 | proxyType = 2; 217 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 218 | remoteInfo = RCTAnimation; 219 | }; 220 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 221 | isa = PBXContainerItemProxy; 222 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 223 | proxyType = 2; 224 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 225 | remoteInfo = "RCTAnimation-tvOS"; 226 | }; 227 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 228 | isa = PBXContainerItemProxy; 229 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 230 | proxyType = 2; 231 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 232 | remoteInfo = RCTLinking; 233 | }; 234 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 235 | isa = PBXContainerItemProxy; 236 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 237 | proxyType = 2; 238 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 239 | remoteInfo = RCTText; 240 | }; 241 | /* End PBXContainerItemProxy section */ 242 | 243 | /* Begin PBXFileReference section */ 244 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 245 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 246 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 247 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 248 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 249 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 250 | 00E356EE1AD99517003FC87E /* TabDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TabDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 251 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 252 | 00E356F21AD99517003FC87E /* TabDemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TabDemoTests.m; sourceTree = ""; }; 253 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 254 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 255 | 13B07F961A680F5B00A75B9A /* TabDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TabDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 256 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = TabDemo/AppDelegate.h; sourceTree = ""; }; 257 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = TabDemo/AppDelegate.m; sourceTree = ""; }; 258 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 259 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = TabDemo/Images.xcassets; sourceTree = ""; }; 260 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = TabDemo/Info.plist; sourceTree = ""; }; 261 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = TabDemo/main.m; sourceTree = ""; }; 262 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 263 | 246D48CA1E9BB95D00DBA202 /* Entypo.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; }; 264 | 246D48CB1E9BB95D00DBA202 /* EvilIcons.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = EvilIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; }; 265 | 246D48CC1E9BB95D00DBA202 /* Octicons.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = Octicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; }; 266 | 246D48CD1E9BB95D00DBA202 /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; }; 267 | 246D48CE1E9BB95D00DBA202 /* Zocial.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = Zocial.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; }; 268 | 246D48CF1E9BB95D00DBA202 /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = MaterialCommunityIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; }; 269 | 246D48D01E9BB95D00DBA202 /* Ionicons.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = Ionicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; }; 270 | 246D48D11E9BB95D00DBA202 /* MaterialIcons.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = MaterialIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; }; 271 | 246D48D21E9BB95D00DBA202 /* Foundation.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = Foundation.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; }; 272 | 246D48D31E9BB95D00DBA202 /* FontAwesome.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; }; 273 | 2D02E47B1E0B4A5D006451C7 /* TabDemo-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "TabDemo-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 274 | 2D02E4901E0B4A5D006451C7 /* TabDemo-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "TabDemo-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 275 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 276 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 277 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 278 | /* End PBXFileReference section */ 279 | 280 | /* Begin PBXFrameworksBuildPhase section */ 281 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 282 | isa = PBXFrameworksBuildPhase; 283 | buildActionMask = 2147483647; 284 | files = ( 285 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 286 | ); 287 | runOnlyForDeploymentPostprocessing = 0; 288 | }; 289 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 290 | isa = PBXFrameworksBuildPhase; 291 | buildActionMask = 2147483647; 292 | files = ( 293 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 294 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 295 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 296 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 297 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 298 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 299 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 300 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 301 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 302 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 303 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 304 | ); 305 | runOnlyForDeploymentPostprocessing = 0; 306 | }; 307 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 308 | isa = PBXFrameworksBuildPhase; 309 | buildActionMask = 2147483647; 310 | files = ( 311 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, 312 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */, 313 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 314 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 315 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 316 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 317 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 318 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 319 | ); 320 | runOnlyForDeploymentPostprocessing = 0; 321 | }; 322 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 323 | isa = PBXFrameworksBuildPhase; 324 | buildActionMask = 2147483647; 325 | files = ( 326 | ); 327 | runOnlyForDeploymentPostprocessing = 0; 328 | }; 329 | /* End PBXFrameworksBuildPhase section */ 330 | 331 | /* Begin PBXGroup section */ 332 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 333 | isa = PBXGroup; 334 | children = ( 335 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 336 | ); 337 | name = Products; 338 | sourceTree = ""; 339 | }; 340 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 341 | isa = PBXGroup; 342 | children = ( 343 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 344 | ); 345 | name = Products; 346 | sourceTree = ""; 347 | }; 348 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 349 | isa = PBXGroup; 350 | children = ( 351 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 352 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 353 | ); 354 | name = Products; 355 | sourceTree = ""; 356 | }; 357 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 358 | isa = PBXGroup; 359 | children = ( 360 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 361 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 362 | ); 363 | name = Products; 364 | sourceTree = ""; 365 | }; 366 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 367 | isa = PBXGroup; 368 | children = ( 369 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 370 | ); 371 | name = Products; 372 | sourceTree = ""; 373 | }; 374 | 00E356EF1AD99517003FC87E /* TabDemoTests */ = { 375 | isa = PBXGroup; 376 | children = ( 377 | 00E356F21AD99517003FC87E /* TabDemoTests.m */, 378 | 00E356F01AD99517003FC87E /* Supporting Files */, 379 | ); 380 | path = TabDemoTests; 381 | sourceTree = ""; 382 | }; 383 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 384 | isa = PBXGroup; 385 | children = ( 386 | 00E356F11AD99517003FC87E /* Info.plist */, 387 | ); 388 | name = "Supporting Files"; 389 | sourceTree = ""; 390 | }; 391 | 139105B71AF99BAD00B5F7CC /* Products */ = { 392 | isa = PBXGroup; 393 | children = ( 394 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 395 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 396 | ); 397 | name = Products; 398 | sourceTree = ""; 399 | }; 400 | 139FDEE71B06529A00C62182 /* Products */ = { 401 | isa = PBXGroup; 402 | children = ( 403 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 404 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 405 | ); 406 | name = Products; 407 | sourceTree = ""; 408 | }; 409 | 13B07FAE1A68108700A75B9A /* TabDemo */ = { 410 | isa = PBXGroup; 411 | children = ( 412 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 413 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 414 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 415 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 416 | 13B07FB61A68108700A75B9A /* Info.plist */, 417 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 418 | 13B07FB71A68108700A75B9A /* main.m */, 419 | ); 420 | name = TabDemo; 421 | sourceTree = ""; 422 | }; 423 | 146834001AC3E56700842450 /* Products */ = { 424 | isa = PBXGroup; 425 | children = ( 426 | 146834041AC3E56700842450 /* libReact.a */, 427 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 428 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 429 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 430 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 431 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 432 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 433 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 434 | ); 435 | name = Products; 436 | sourceTree = ""; 437 | }; 438 | 2498ED671E9BB9E300260DB4 /* Fonts */ = { 439 | isa = PBXGroup; 440 | children = ( 441 | 246D48CA1E9BB95D00DBA202 /* Entypo.ttf */, 442 | 246D48CB1E9BB95D00DBA202 /* EvilIcons.ttf */, 443 | 246D48CC1E9BB95D00DBA202 /* Octicons.ttf */, 444 | 246D48CD1E9BB95D00DBA202 /* SimpleLineIcons.ttf */, 445 | 246D48CE1E9BB95D00DBA202 /* Zocial.ttf */, 446 | 246D48CF1E9BB95D00DBA202 /* MaterialCommunityIcons.ttf */, 447 | 246D48D01E9BB95D00DBA202 /* Ionicons.ttf */, 448 | 246D48D11E9BB95D00DBA202 /* MaterialIcons.ttf */, 449 | 246D48D21E9BB95D00DBA202 /* Foundation.ttf */, 450 | 246D48D31E9BB95D00DBA202 /* FontAwesome.ttf */, 451 | ); 452 | name = Fonts; 453 | sourceTree = ""; 454 | }; 455 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 456 | isa = PBXGroup; 457 | children = ( 458 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 459 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */, 460 | ); 461 | name = Products; 462 | sourceTree = ""; 463 | }; 464 | 78C398B11ACF4ADC00677621 /* Products */ = { 465 | isa = PBXGroup; 466 | children = ( 467 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 468 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 469 | ); 470 | name = Products; 471 | sourceTree = ""; 472 | }; 473 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 474 | isa = PBXGroup; 475 | children = ( 476 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 477 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 478 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 479 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 480 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 481 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 482 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 483 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 484 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 485 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 486 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 487 | ); 488 | name = Libraries; 489 | sourceTree = ""; 490 | }; 491 | 832341B11AAA6A8300B99B32 /* Products */ = { 492 | isa = PBXGroup; 493 | children = ( 494 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 495 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 496 | ); 497 | name = Products; 498 | sourceTree = ""; 499 | }; 500 | 83CBB9F61A601CBA00E9B192 = { 501 | isa = PBXGroup; 502 | children = ( 503 | 2498ED671E9BB9E300260DB4 /* Fonts */, 504 | 13B07FAE1A68108700A75B9A /* TabDemo */, 505 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 506 | 00E356EF1AD99517003FC87E /* TabDemoTests */, 507 | 83CBBA001A601CBA00E9B192 /* Products */, 508 | ); 509 | indentWidth = 2; 510 | sourceTree = ""; 511 | tabWidth = 2; 512 | }; 513 | 83CBBA001A601CBA00E9B192 /* Products */ = { 514 | isa = PBXGroup; 515 | children = ( 516 | 13B07F961A680F5B00A75B9A /* TabDemo.app */, 517 | 00E356EE1AD99517003FC87E /* TabDemoTests.xctest */, 518 | 2D02E47B1E0B4A5D006451C7 /* TabDemo-tvOS.app */, 519 | 2D02E4901E0B4A5D006451C7 /* TabDemo-tvOSTests.xctest */, 520 | ); 521 | name = Products; 522 | sourceTree = ""; 523 | }; 524 | /* End PBXGroup section */ 525 | 526 | /* Begin PBXNativeTarget section */ 527 | 00E356ED1AD99517003FC87E /* TabDemoTests */ = { 528 | isa = PBXNativeTarget; 529 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "TabDemoTests" */; 530 | buildPhases = ( 531 | 00E356EA1AD99517003FC87E /* Sources */, 532 | 00E356EB1AD99517003FC87E /* Frameworks */, 533 | 00E356EC1AD99517003FC87E /* Resources */, 534 | ); 535 | buildRules = ( 536 | ); 537 | dependencies = ( 538 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 539 | ); 540 | name = TabDemoTests; 541 | productName = TabDemoTests; 542 | productReference = 00E356EE1AD99517003FC87E /* TabDemoTests.xctest */; 543 | productType = "com.apple.product-type.bundle.unit-test"; 544 | }; 545 | 13B07F861A680F5B00A75B9A /* TabDemo */ = { 546 | isa = PBXNativeTarget; 547 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "TabDemo" */; 548 | buildPhases = ( 549 | 13B07F871A680F5B00A75B9A /* Sources */, 550 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 551 | 13B07F8E1A680F5B00A75B9A /* Resources */, 552 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 553 | ); 554 | buildRules = ( 555 | ); 556 | dependencies = ( 557 | ); 558 | name = TabDemo; 559 | productName = "Hello World"; 560 | productReference = 13B07F961A680F5B00A75B9A /* TabDemo.app */; 561 | productType = "com.apple.product-type.application"; 562 | }; 563 | 2D02E47A1E0B4A5D006451C7 /* TabDemo-tvOS */ = { 564 | isa = PBXNativeTarget; 565 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "TabDemo-tvOS" */; 566 | buildPhases = ( 567 | 2D02E4771E0B4A5D006451C7 /* Sources */, 568 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 569 | 2D02E4791E0B4A5D006451C7 /* Resources */, 570 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 571 | ); 572 | buildRules = ( 573 | ); 574 | dependencies = ( 575 | ); 576 | name = "TabDemo-tvOS"; 577 | productName = "TabDemo-tvOS"; 578 | productReference = 2D02E47B1E0B4A5D006451C7 /* TabDemo-tvOS.app */; 579 | productType = "com.apple.product-type.application"; 580 | }; 581 | 2D02E48F1E0B4A5D006451C7 /* TabDemo-tvOSTests */ = { 582 | isa = PBXNativeTarget; 583 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "TabDemo-tvOSTests" */; 584 | buildPhases = ( 585 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 586 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 587 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 588 | ); 589 | buildRules = ( 590 | ); 591 | dependencies = ( 592 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 593 | ); 594 | name = "TabDemo-tvOSTests"; 595 | productName = "TabDemo-tvOSTests"; 596 | productReference = 2D02E4901E0B4A5D006451C7 /* TabDemo-tvOSTests.xctest */; 597 | productType = "com.apple.product-type.bundle.unit-test"; 598 | }; 599 | /* End PBXNativeTarget section */ 600 | 601 | /* Begin PBXProject section */ 602 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 603 | isa = PBXProject; 604 | attributes = { 605 | KnownAssetTags = ( 606 | New, 607 | ); 608 | LastUpgradeCheck = 0610; 609 | ORGANIZATIONNAME = Facebook; 610 | TargetAttributes = { 611 | 00E356ED1AD99517003FC87E = { 612 | CreatedOnToolsVersion = 6.2; 613 | TestTargetID = 13B07F861A680F5B00A75B9A; 614 | }; 615 | 2D02E47A1E0B4A5D006451C7 = { 616 | CreatedOnToolsVersion = 8.2.1; 617 | ProvisioningStyle = Automatic; 618 | }; 619 | 2D02E48F1E0B4A5D006451C7 = { 620 | CreatedOnToolsVersion = 8.2.1; 621 | ProvisioningStyle = Automatic; 622 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 623 | }; 624 | }; 625 | }; 626 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "TabDemo" */; 627 | compatibilityVersion = "Xcode 3.2"; 628 | developmentRegion = English; 629 | hasScannedForEncodings = 0; 630 | knownRegions = ( 631 | en, 632 | Base, 633 | ); 634 | mainGroup = 83CBB9F61A601CBA00E9B192; 635 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 636 | projectDirPath = ""; 637 | projectReferences = ( 638 | { 639 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 640 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 641 | }, 642 | { 643 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 644 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 645 | }, 646 | { 647 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 648 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 649 | }, 650 | { 651 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 652 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 653 | }, 654 | { 655 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 656 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 657 | }, 658 | { 659 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 660 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 661 | }, 662 | { 663 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 664 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 665 | }, 666 | { 667 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 668 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 669 | }, 670 | { 671 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 672 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 673 | }, 674 | { 675 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 676 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 677 | }, 678 | { 679 | ProductGroup = 146834001AC3E56700842450 /* Products */; 680 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 681 | }, 682 | ); 683 | projectRoot = ""; 684 | targets = ( 685 | 13B07F861A680F5B00A75B9A /* TabDemo */, 686 | 00E356ED1AD99517003FC87E /* TabDemoTests */, 687 | 2D02E47A1E0B4A5D006451C7 /* TabDemo-tvOS */, 688 | 2D02E48F1E0B4A5D006451C7 /* TabDemo-tvOSTests */, 689 | ); 690 | }; 691 | /* End PBXProject section */ 692 | 693 | /* Begin PBXReferenceProxy section */ 694 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 695 | isa = PBXReferenceProxy; 696 | fileType = archive.ar; 697 | path = libRCTActionSheet.a; 698 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 699 | sourceTree = BUILT_PRODUCTS_DIR; 700 | }; 701 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 702 | isa = PBXReferenceProxy; 703 | fileType = archive.ar; 704 | path = libRCTGeolocation.a; 705 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 706 | sourceTree = BUILT_PRODUCTS_DIR; 707 | }; 708 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 709 | isa = PBXReferenceProxy; 710 | fileType = archive.ar; 711 | path = libRCTImage.a; 712 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 713 | sourceTree = BUILT_PRODUCTS_DIR; 714 | }; 715 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 716 | isa = PBXReferenceProxy; 717 | fileType = archive.ar; 718 | path = libRCTNetwork.a; 719 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 720 | sourceTree = BUILT_PRODUCTS_DIR; 721 | }; 722 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 723 | isa = PBXReferenceProxy; 724 | fileType = archive.ar; 725 | path = libRCTVibration.a; 726 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 727 | sourceTree = BUILT_PRODUCTS_DIR; 728 | }; 729 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 730 | isa = PBXReferenceProxy; 731 | fileType = archive.ar; 732 | path = libRCTSettings.a; 733 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 734 | sourceTree = BUILT_PRODUCTS_DIR; 735 | }; 736 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 737 | isa = PBXReferenceProxy; 738 | fileType = archive.ar; 739 | path = libRCTWebSocket.a; 740 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 741 | sourceTree = BUILT_PRODUCTS_DIR; 742 | }; 743 | 146834041AC3E56700842450 /* libReact.a */ = { 744 | isa = PBXReferenceProxy; 745 | fileType = archive.ar; 746 | path = libReact.a; 747 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 748 | sourceTree = BUILT_PRODUCTS_DIR; 749 | }; 750 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 751 | isa = PBXReferenceProxy; 752 | fileType = archive.ar; 753 | path = "libRCTImage-tvOS.a"; 754 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 755 | sourceTree = BUILT_PRODUCTS_DIR; 756 | }; 757 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 758 | isa = PBXReferenceProxy; 759 | fileType = archive.ar; 760 | path = "libRCTLinking-tvOS.a"; 761 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 762 | sourceTree = BUILT_PRODUCTS_DIR; 763 | }; 764 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 765 | isa = PBXReferenceProxy; 766 | fileType = archive.ar; 767 | path = "libRCTNetwork-tvOS.a"; 768 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 769 | sourceTree = BUILT_PRODUCTS_DIR; 770 | }; 771 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 772 | isa = PBXReferenceProxy; 773 | fileType = archive.ar; 774 | path = "libRCTSettings-tvOS.a"; 775 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 776 | sourceTree = BUILT_PRODUCTS_DIR; 777 | }; 778 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 779 | isa = PBXReferenceProxy; 780 | fileType = archive.ar; 781 | path = "libRCTText-tvOS.a"; 782 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 783 | sourceTree = BUILT_PRODUCTS_DIR; 784 | }; 785 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 786 | isa = PBXReferenceProxy; 787 | fileType = archive.ar; 788 | path = "libRCTWebSocket-tvOS.a"; 789 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 790 | sourceTree = BUILT_PRODUCTS_DIR; 791 | }; 792 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 793 | isa = PBXReferenceProxy; 794 | fileType = archive.ar; 795 | path = libReact.a; 796 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 797 | sourceTree = BUILT_PRODUCTS_DIR; 798 | }; 799 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 800 | isa = PBXReferenceProxy; 801 | fileType = archive.ar; 802 | path = libyoga.a; 803 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 804 | sourceTree = BUILT_PRODUCTS_DIR; 805 | }; 806 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 807 | isa = PBXReferenceProxy; 808 | fileType = archive.ar; 809 | path = libyoga.a; 810 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 811 | sourceTree = BUILT_PRODUCTS_DIR; 812 | }; 813 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 814 | isa = PBXReferenceProxy; 815 | fileType = archive.ar; 816 | path = libcxxreact.a; 817 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 818 | sourceTree = BUILT_PRODUCTS_DIR; 819 | }; 820 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 821 | isa = PBXReferenceProxy; 822 | fileType = archive.ar; 823 | path = libcxxreact.a; 824 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 825 | sourceTree = BUILT_PRODUCTS_DIR; 826 | }; 827 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 828 | isa = PBXReferenceProxy; 829 | fileType = archive.ar; 830 | path = libjschelpers.a; 831 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 832 | sourceTree = BUILT_PRODUCTS_DIR; 833 | }; 834 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 835 | isa = PBXReferenceProxy; 836 | fileType = archive.ar; 837 | path = libjschelpers.a; 838 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 839 | sourceTree = BUILT_PRODUCTS_DIR; 840 | }; 841 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 842 | isa = PBXReferenceProxy; 843 | fileType = archive.ar; 844 | path = libRCTAnimation.a; 845 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 846 | sourceTree = BUILT_PRODUCTS_DIR; 847 | }; 848 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */ = { 849 | isa = PBXReferenceProxy; 850 | fileType = archive.ar; 851 | path = "libRCTAnimation-tvOS.a"; 852 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 853 | sourceTree = BUILT_PRODUCTS_DIR; 854 | }; 855 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 856 | isa = PBXReferenceProxy; 857 | fileType = archive.ar; 858 | path = libRCTLinking.a; 859 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 860 | sourceTree = BUILT_PRODUCTS_DIR; 861 | }; 862 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 863 | isa = PBXReferenceProxy; 864 | fileType = archive.ar; 865 | path = libRCTText.a; 866 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 867 | sourceTree = BUILT_PRODUCTS_DIR; 868 | }; 869 | /* End PBXReferenceProxy section */ 870 | 871 | /* Begin PBXResourcesBuildPhase section */ 872 | 00E356EC1AD99517003FC87E /* Resources */ = { 873 | isa = PBXResourcesBuildPhase; 874 | buildActionMask = 2147483647; 875 | files = ( 876 | ); 877 | runOnlyForDeploymentPostprocessing = 0; 878 | }; 879 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 880 | isa = PBXResourcesBuildPhase; 881 | buildActionMask = 2147483647; 882 | files = ( 883 | 246D48D61E9BB95D00DBA202 /* Octicons.ttf in Resources */, 884 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 885 | 246D48DB1E9BB95D00DBA202 /* MaterialIcons.ttf in Resources */, 886 | 246D48DA1E9BB95D00DBA202 /* Ionicons.ttf in Resources */, 887 | 246D48D51E9BB95D00DBA202 /* EvilIcons.ttf in Resources */, 888 | 246D48DC1E9BB95D00DBA202 /* Foundation.ttf in Resources */, 889 | 246D48D41E9BB95D00DBA202 /* Entypo.ttf in Resources */, 890 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 891 | 246D48D71E9BB95D00DBA202 /* SimpleLineIcons.ttf in Resources */, 892 | 246D48D91E9BB95D00DBA202 /* MaterialCommunityIcons.ttf in Resources */, 893 | 246D48D81E9BB95D00DBA202 /* Zocial.ttf in Resources */, 894 | 246D48DD1E9BB95D00DBA202 /* FontAwesome.ttf in Resources */, 895 | ); 896 | runOnlyForDeploymentPostprocessing = 0; 897 | }; 898 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 899 | isa = PBXResourcesBuildPhase; 900 | buildActionMask = 2147483647; 901 | files = ( 902 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 903 | ); 904 | runOnlyForDeploymentPostprocessing = 0; 905 | }; 906 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 907 | isa = PBXResourcesBuildPhase; 908 | buildActionMask = 2147483647; 909 | files = ( 910 | ); 911 | runOnlyForDeploymentPostprocessing = 0; 912 | }; 913 | /* End PBXResourcesBuildPhase section */ 914 | 915 | /* Begin PBXShellScriptBuildPhase section */ 916 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 917 | isa = PBXShellScriptBuildPhase; 918 | buildActionMask = 2147483647; 919 | files = ( 920 | ); 921 | inputPaths = ( 922 | ); 923 | name = "Bundle React Native code and images"; 924 | outputPaths = ( 925 | ); 926 | runOnlyForDeploymentPostprocessing = 0; 927 | shellPath = /bin/sh; 928 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 929 | }; 930 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 931 | isa = PBXShellScriptBuildPhase; 932 | buildActionMask = 2147483647; 933 | files = ( 934 | ); 935 | inputPaths = ( 936 | ); 937 | name = "Bundle React Native Code And Images"; 938 | outputPaths = ( 939 | ); 940 | runOnlyForDeploymentPostprocessing = 0; 941 | shellPath = /bin/sh; 942 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 943 | }; 944 | /* End PBXShellScriptBuildPhase section */ 945 | 946 | /* Begin PBXSourcesBuildPhase section */ 947 | 00E356EA1AD99517003FC87E /* Sources */ = { 948 | isa = PBXSourcesBuildPhase; 949 | buildActionMask = 2147483647; 950 | files = ( 951 | 00E356F31AD99517003FC87E /* TabDemoTests.m in Sources */, 952 | ); 953 | runOnlyForDeploymentPostprocessing = 0; 954 | }; 955 | 13B07F871A680F5B00A75B9A /* Sources */ = { 956 | isa = PBXSourcesBuildPhase; 957 | buildActionMask = 2147483647; 958 | files = ( 959 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 960 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 961 | ); 962 | runOnlyForDeploymentPostprocessing = 0; 963 | }; 964 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 965 | isa = PBXSourcesBuildPhase; 966 | buildActionMask = 2147483647; 967 | files = ( 968 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 969 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 970 | ); 971 | runOnlyForDeploymentPostprocessing = 0; 972 | }; 973 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 974 | isa = PBXSourcesBuildPhase; 975 | buildActionMask = 2147483647; 976 | files = ( 977 | 2DCD954D1E0B4F2C00145EB5 /* TabDemoTests.m in Sources */, 978 | ); 979 | runOnlyForDeploymentPostprocessing = 0; 980 | }; 981 | /* End PBXSourcesBuildPhase section */ 982 | 983 | /* Begin PBXTargetDependency section */ 984 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 985 | isa = PBXTargetDependency; 986 | target = 13B07F861A680F5B00A75B9A /* TabDemo */; 987 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 988 | }; 989 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 990 | isa = PBXTargetDependency; 991 | target = 2D02E47A1E0B4A5D006451C7 /* TabDemo-tvOS */; 992 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 993 | }; 994 | /* End PBXTargetDependency section */ 995 | 996 | /* Begin PBXVariantGroup section */ 997 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 998 | isa = PBXVariantGroup; 999 | children = ( 1000 | 13B07FB21A68108700A75B9A /* Base */, 1001 | ); 1002 | name = LaunchScreen.xib; 1003 | path = TabDemo; 1004 | sourceTree = ""; 1005 | }; 1006 | /* End PBXVariantGroup section */ 1007 | 1008 | /* Begin XCBuildConfiguration section */ 1009 | 00E356F61AD99517003FC87E /* Debug */ = { 1010 | isa = XCBuildConfiguration; 1011 | buildSettings = { 1012 | BUNDLE_LOADER = "$(TEST_HOST)"; 1013 | GCC_PREPROCESSOR_DEFINITIONS = ( 1014 | "DEBUG=1", 1015 | "$(inherited)", 1016 | ); 1017 | INFOPLIST_FILE = TabDemoTests/Info.plist; 1018 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1019 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1020 | OTHER_LDFLAGS = ( 1021 | "-ObjC", 1022 | "-lc++", 1023 | ); 1024 | PRODUCT_NAME = "$(TARGET_NAME)"; 1025 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TabDemo.app/TabDemo"; 1026 | }; 1027 | name = Debug; 1028 | }; 1029 | 00E356F71AD99517003FC87E /* Release */ = { 1030 | isa = XCBuildConfiguration; 1031 | buildSettings = { 1032 | BUNDLE_LOADER = "$(TEST_HOST)"; 1033 | COPY_PHASE_STRIP = NO; 1034 | INFOPLIST_FILE = TabDemoTests/Info.plist; 1035 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1036 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1037 | OTHER_LDFLAGS = ( 1038 | "-ObjC", 1039 | "-lc++", 1040 | ); 1041 | PRODUCT_NAME = "$(TARGET_NAME)"; 1042 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TabDemo.app/TabDemo"; 1043 | }; 1044 | name = Release; 1045 | }; 1046 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1047 | isa = XCBuildConfiguration; 1048 | buildSettings = { 1049 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1050 | CURRENT_PROJECT_VERSION = 1; 1051 | DEAD_CODE_STRIPPING = NO; 1052 | INFOPLIST_FILE = TabDemo/Info.plist; 1053 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1054 | OTHER_LDFLAGS = ( 1055 | "$(inherited)", 1056 | "-ObjC", 1057 | "-lc++", 1058 | ); 1059 | PRODUCT_NAME = TabDemo; 1060 | VERSIONING_SYSTEM = "apple-generic"; 1061 | }; 1062 | name = Debug; 1063 | }; 1064 | 13B07F951A680F5B00A75B9A /* Release */ = { 1065 | isa = XCBuildConfiguration; 1066 | buildSettings = { 1067 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1068 | CURRENT_PROJECT_VERSION = 1; 1069 | INFOPLIST_FILE = TabDemo/Info.plist; 1070 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1071 | OTHER_LDFLAGS = ( 1072 | "$(inherited)", 1073 | "-ObjC", 1074 | "-lc++", 1075 | ); 1076 | PRODUCT_NAME = TabDemo; 1077 | VERSIONING_SYSTEM = "apple-generic"; 1078 | }; 1079 | name = Release; 1080 | }; 1081 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1082 | isa = XCBuildConfiguration; 1083 | buildSettings = { 1084 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1085 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1086 | CLANG_ANALYZER_NONNULL = YES; 1087 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1088 | CLANG_WARN_INFINITE_RECURSION = YES; 1089 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1090 | DEBUG_INFORMATION_FORMAT = dwarf; 1091 | ENABLE_TESTABILITY = YES; 1092 | GCC_NO_COMMON_BLOCKS = YES; 1093 | INFOPLIST_FILE = "TabDemo-tvOS/Info.plist"; 1094 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1095 | OTHER_LDFLAGS = ( 1096 | "-ObjC", 1097 | "-lc++", 1098 | ); 1099 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.TabDemo-tvOS"; 1100 | PRODUCT_NAME = "$(TARGET_NAME)"; 1101 | SDKROOT = appletvos; 1102 | TARGETED_DEVICE_FAMILY = 3; 1103 | TVOS_DEPLOYMENT_TARGET = 9.2; 1104 | }; 1105 | name = Debug; 1106 | }; 1107 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1108 | isa = XCBuildConfiguration; 1109 | buildSettings = { 1110 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1111 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1112 | CLANG_ANALYZER_NONNULL = YES; 1113 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1114 | CLANG_WARN_INFINITE_RECURSION = YES; 1115 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1116 | COPY_PHASE_STRIP = NO; 1117 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1118 | GCC_NO_COMMON_BLOCKS = YES; 1119 | INFOPLIST_FILE = "TabDemo-tvOS/Info.plist"; 1120 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1121 | OTHER_LDFLAGS = ( 1122 | "-ObjC", 1123 | "-lc++", 1124 | ); 1125 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.TabDemo-tvOS"; 1126 | PRODUCT_NAME = "$(TARGET_NAME)"; 1127 | SDKROOT = appletvos; 1128 | TARGETED_DEVICE_FAMILY = 3; 1129 | TVOS_DEPLOYMENT_TARGET = 9.2; 1130 | }; 1131 | name = Release; 1132 | }; 1133 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1134 | isa = XCBuildConfiguration; 1135 | buildSettings = { 1136 | BUNDLE_LOADER = "$(TEST_HOST)"; 1137 | CLANG_ANALYZER_NONNULL = YES; 1138 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1139 | CLANG_WARN_INFINITE_RECURSION = YES; 1140 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1141 | DEBUG_INFORMATION_FORMAT = dwarf; 1142 | ENABLE_TESTABILITY = YES; 1143 | GCC_NO_COMMON_BLOCKS = YES; 1144 | INFOPLIST_FILE = "TabDemo-tvOSTests/Info.plist"; 1145 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1146 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.TabDemo-tvOSTests"; 1147 | PRODUCT_NAME = "$(TARGET_NAME)"; 1148 | SDKROOT = appletvos; 1149 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TabDemo-tvOS.app/TabDemo-tvOS"; 1150 | TVOS_DEPLOYMENT_TARGET = 10.1; 1151 | }; 1152 | name = Debug; 1153 | }; 1154 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1155 | isa = XCBuildConfiguration; 1156 | buildSettings = { 1157 | BUNDLE_LOADER = "$(TEST_HOST)"; 1158 | CLANG_ANALYZER_NONNULL = YES; 1159 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1160 | CLANG_WARN_INFINITE_RECURSION = YES; 1161 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1162 | COPY_PHASE_STRIP = NO; 1163 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1164 | GCC_NO_COMMON_BLOCKS = YES; 1165 | INFOPLIST_FILE = "TabDemo-tvOSTests/Info.plist"; 1166 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1167 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.TabDemo-tvOSTests"; 1168 | PRODUCT_NAME = "$(TARGET_NAME)"; 1169 | SDKROOT = appletvos; 1170 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TabDemo-tvOS.app/TabDemo-tvOS"; 1171 | TVOS_DEPLOYMENT_TARGET = 10.1; 1172 | }; 1173 | name = Release; 1174 | }; 1175 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1176 | isa = XCBuildConfiguration; 1177 | buildSettings = { 1178 | ALWAYS_SEARCH_USER_PATHS = NO; 1179 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1180 | CLANG_CXX_LIBRARY = "libc++"; 1181 | CLANG_ENABLE_MODULES = YES; 1182 | CLANG_ENABLE_OBJC_ARC = YES; 1183 | CLANG_WARN_BOOL_CONVERSION = YES; 1184 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1185 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1186 | CLANG_WARN_EMPTY_BODY = YES; 1187 | CLANG_WARN_ENUM_CONVERSION = YES; 1188 | CLANG_WARN_INT_CONVERSION = YES; 1189 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1190 | CLANG_WARN_UNREACHABLE_CODE = YES; 1191 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1192 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1193 | COPY_PHASE_STRIP = NO; 1194 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1195 | GCC_C_LANGUAGE_STANDARD = gnu99; 1196 | GCC_DYNAMIC_NO_PIC = NO; 1197 | GCC_OPTIMIZATION_LEVEL = 0; 1198 | GCC_PREPROCESSOR_DEFINITIONS = ( 1199 | "DEBUG=1", 1200 | "$(inherited)", 1201 | ); 1202 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1203 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1204 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1205 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1206 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1207 | GCC_WARN_UNUSED_FUNCTION = YES; 1208 | GCC_WARN_UNUSED_VARIABLE = YES; 1209 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1210 | MTL_ENABLE_DEBUG_INFO = YES; 1211 | ONLY_ACTIVE_ARCH = YES; 1212 | SDKROOT = iphoneos; 1213 | }; 1214 | name = Debug; 1215 | }; 1216 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1217 | isa = XCBuildConfiguration; 1218 | buildSettings = { 1219 | ALWAYS_SEARCH_USER_PATHS = NO; 1220 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1221 | CLANG_CXX_LIBRARY = "libc++"; 1222 | CLANG_ENABLE_MODULES = YES; 1223 | CLANG_ENABLE_OBJC_ARC = YES; 1224 | CLANG_WARN_BOOL_CONVERSION = YES; 1225 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1226 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1227 | CLANG_WARN_EMPTY_BODY = YES; 1228 | CLANG_WARN_ENUM_CONVERSION = YES; 1229 | CLANG_WARN_INT_CONVERSION = YES; 1230 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1231 | CLANG_WARN_UNREACHABLE_CODE = YES; 1232 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1233 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1234 | COPY_PHASE_STRIP = YES; 1235 | ENABLE_NS_ASSERTIONS = NO; 1236 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1237 | GCC_C_LANGUAGE_STANDARD = gnu99; 1238 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1239 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1240 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1241 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1242 | GCC_WARN_UNUSED_FUNCTION = YES; 1243 | GCC_WARN_UNUSED_VARIABLE = YES; 1244 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1245 | MTL_ENABLE_DEBUG_INFO = NO; 1246 | SDKROOT = iphoneos; 1247 | VALIDATE_PRODUCT = YES; 1248 | }; 1249 | name = Release; 1250 | }; 1251 | /* End XCBuildConfiguration section */ 1252 | 1253 | /* Begin XCConfigurationList section */ 1254 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "TabDemoTests" */ = { 1255 | isa = XCConfigurationList; 1256 | buildConfigurations = ( 1257 | 00E356F61AD99517003FC87E /* Debug */, 1258 | 00E356F71AD99517003FC87E /* Release */, 1259 | ); 1260 | defaultConfigurationIsVisible = 0; 1261 | defaultConfigurationName = Release; 1262 | }; 1263 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "TabDemo" */ = { 1264 | isa = XCConfigurationList; 1265 | buildConfigurations = ( 1266 | 13B07F941A680F5B00A75B9A /* Debug */, 1267 | 13B07F951A680F5B00A75B9A /* Release */, 1268 | ); 1269 | defaultConfigurationIsVisible = 0; 1270 | defaultConfigurationName = Release; 1271 | }; 1272 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "TabDemo-tvOS" */ = { 1273 | isa = XCConfigurationList; 1274 | buildConfigurations = ( 1275 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1276 | 2D02E4981E0B4A5E006451C7 /* Release */, 1277 | ); 1278 | defaultConfigurationIsVisible = 0; 1279 | defaultConfigurationName = Release; 1280 | }; 1281 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "TabDemo-tvOSTests" */ = { 1282 | isa = XCConfigurationList; 1283 | buildConfigurations = ( 1284 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1285 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1286 | ); 1287 | defaultConfigurationIsVisible = 0; 1288 | defaultConfigurationName = Release; 1289 | }; 1290 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "TabDemo" */ = { 1291 | isa = XCConfigurationList; 1292 | buildConfigurations = ( 1293 | 83CBBA201A601CBA00E9B192 /* Debug */, 1294 | 83CBBA211A601CBA00E9B192 /* Release */, 1295 | ); 1296 | defaultConfigurationIsVisible = 0; 1297 | defaultConfigurationName = Release; 1298 | }; 1299 | /* End XCConfigurationList section */ 1300 | }; 1301 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1302 | } 1303 | -------------------------------------------------------------------------------- /example/TabDemo/ios/TabDemo.xcodeproj/xcshareddata/xcschemes/TabDemo-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/TabDemo/ios/TabDemo.xcodeproj/xcshareddata/xcschemes/TabDemo.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/TabDemo/ios/TabDemo/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/TabDemo/ios/TabDemo/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.ios" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"TabDemo" 25 | initialProperties:nil 26 | launchOptions:launchOptions]; 27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 28 | 29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 30 | UIViewController *rootViewController = [UIViewController new]; 31 | rootViewController.view = rootView; 32 | self.window.rootViewController = rootViewController; 33 | [self.window makeKeyAndVisible]; 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /example/TabDemo/ios/TabDemo/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/TabDemo/ios/TabDemo/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /example/TabDemo/ios/TabDemo/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | TabDemo 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 13 | UIAppFonts 14 | 15 | FontAwesome.ttf 16 | 17 | CFBundleInfoDictionaryVersion 18 | 6.0 19 | CFBundleName 20 | $(PRODUCT_NAME) 21 | CFBundlePackageType 22 | APPL 23 | CFBundleShortVersionString 24 | 1.0 25 | CFBundleSignature 26 | ???? 27 | CFBundleVersion 28 | 1 29 | LSRequiresIPhoneOS 30 | 31 | UILaunchStoryboardName 32 | LaunchScreen 33 | UIRequiredDeviceCapabilities 34 | 35 | armv7 36 | 37 | UISupportedInterfaceOrientations 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationLandscapeLeft 41 | UIInterfaceOrientationLandscapeRight 42 | 43 | UIViewControllerBasedStatusBarAppearance 44 | 45 | NSLocationWhenInUseUsageDescription 46 | 47 | NSAppTransportSecurity 48 | 49 | NSExceptionDomains 50 | 51 | localhost 52 | 53 | NSExceptionAllowsInsecureHTTPLoads 54 | 55 | 56 | 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /example/TabDemo/ios/TabDemo/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/TabDemo/ios/TabDemoTests/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/TabDemo/ios/TabDemoTests/TabDemoTests.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 TabDemoTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation TabDemoTests 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 = [[[[UIApplication sharedApplication] 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/TabDemo/launcher.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 TabNavigator from 'react-native-tab-navigator'; 15 | import Icon from 'react-native-vector-icons/FontAwesome' 16 | import {Dimensions} from 'react-native' 17 | 18 | const deviceW = Dimensions.get('window').width 19 | 20 | const basePx = 375 21 | 22 | function px2dp(px) { 23 | return px * deviceW / basePx 24 | } 25 | 26 | class Home extends Component { 27 | render() { 28 | return ( 29 | 30 | 31 | Home 32 | 33 | 34 | ) 35 | } 36 | } 37 | 38 | class Profile extends Component { 39 | render() { 40 | return ( 41 | 42 | 43 | Profile 44 | 45 | 46 | ) 47 | } 48 | } 49 | 50 | export default class TabDemo extends Component { 51 | state= { 52 | selectedTab: 'home' 53 | }; 54 | 55 | render() { 56 | return ( 57 | 58 | } 63 | renderSelectedIcon={() => } 64 | badgeText="1" 65 | onPress={() => this.setState({selectedTab: 'home'})}> 66 | 67 | 68 | } 73 | renderSelectedIcon={() => } 74 | onPress={() => this.setState({selectedTab: 'profile'})}> 75 | 76 | 77 | 78 | ); 79 | } 80 | } 81 | 82 | const styles = StyleSheet.create({ 83 | container: { 84 | flex: 1, 85 | justifyContent: 'center', 86 | alignItems: 'center', 87 | backgroundColor: '#F5FCFF', 88 | }, 89 | welcome: { 90 | fontSize: 20, 91 | textAlign: 'center', 92 | margin: 10, 93 | }, 94 | instructions: { 95 | textAlign: 'center', 96 | color: '#333333', 97 | marginBottom: 5, 98 | }, 99 | }); 100 | 101 | AppRegistry.registerComponent('TabDemo', () => TabDemo); 102 | -------------------------------------------------------------------------------- /example/TabDemo/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TabDemo", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "dependencies": { 10 | "react": "16.0.0-alpha.12", 11 | "react-native": "0.47.2", 12 | "react-native-tab-navigator": "^0.3.4", 13 | "react-native-vector-icons": "^4.3.0" 14 | }, 15 | "devDependencies": { 16 | "babel-jest": "20.0.3", 17 | "babel-preset-react-native": "2.0.1", 18 | "jest": "20.0.4", 19 | "react-test-renderer": "16.0.0-alpha.6" 20 | }, 21 | "jest": { 22 | "preset": "react-native" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-native-tab-navigator", 3 | "version": "0.3.4", 4 | "description": "A tab bar that switches between scenes, written in JS for cross-platform support", 5 | "main": "TabNavigator.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/exponentjs/react-native-tab-navigator.git" 9 | }, 10 | "keywords": [ 11 | "react-native", 12 | "tab-bar", 13 | "navigator", 14 | "ios", 15 | "android" 16 | ], 17 | "author": "James Ide", 18 | "license": "MIT", 19 | "bugs": { 20 | "url": "https://github.com/exponentjs/react-native-tab-navigator/issues" 21 | }, 22 | "homepage": "https://github.com/exponentjs/react-native-tab-navigator#readme", 23 | "dependencies": { 24 | "immutable": "^3.8.1", 25 | "prop-types": "^15.5.10" 26 | } 27 | } 28 | --------------------------------------------------------------------------------