├── mock └── .gitkeep ├── .watchmanconfig ├── public └── .gitkeep ├── .gitattributes ├── .roadhogrc.mock.js ├── src ├── index.css ├── assets │ └── yay.jpg ├── components │ ├── Text.native.js │ ├── Text.js │ ├── Touch.js │ ├── Header.js │ ├── DrawerLeft.js │ ├── Counter.js │ ├── TodoList.js │ └── Touch.native.js ├── models │ ├── index.js │ ├── counter.js │ └── todo.js ├── services │ └── example.js ├── utils │ ├── rcform.js │ ├── dva.js │ └── request.js ├── index.js ├── index.ejs ├── routes │ ├── IndexPage.less │ └── IndexPage.js ├── pages │ └── IndexPage.js ├── router.js └── App.js ├── android ├── settings.gradle ├── app │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ └── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── assets │ │ │ └── fonts │ │ │ │ └── anticon.ttf │ │ │ ├── java │ │ │ └── com │ │ │ │ └── reactnativeweb │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── AndroidManifest.xml │ ├── app-release-key.keystore │ ├── BUCK │ ├── proguard-rules.pro │ └── build.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── keystores │ ├── debug.keystore.properties │ └── BUCK ├── build.gradle ├── gradle.properties ├── gradlew.bat └── gradlew ├── ios ├── Fonts │ └── anticon.ttf ├── ReactNativeWeb │ ├── Images.xcassets │ │ ├── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── AppDelegate.h │ ├── main.m │ ├── AppDelegate.m │ ├── Info.plist │ └── Base.lproj │ │ └── LaunchScreen.xib ├── ReactNativeWebTests │ ├── Info.plist │ └── ReactNativeWebTests.m └── ReactNativeWeb.xcodeproj │ ├── xcshareddata │ └── xcschemes │ │ ├── ReactNativeWeb.xcscheme │ │ └── ReactNativeWeb-tvOS.xcscheme │ └── project.pbxproj ├── app.json ├── .buckconfig ├── .babelrc ├── index.js ├── __tests__ └── App.js ├── .editorconfig ├── .roadhogrc ├── .travis.yml ├── .gitignore ├── .eslintrc ├── .flowconfig ├── package.json ├── README_CN.md ├── README.md └── LICENSE /mock/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /public/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.roadhogrc.mock.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | }; 4 | -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- 1 | 2 | html, body, :global(#root) { 3 | height: 100%; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /src/assets/yay.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZevenFang/react-native-web/HEAD/src/assets/yay.jpg -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'ReactNativeWebDvaAntdMobile' 2 | 3 | include ':app' 4 | -------------------------------------------------------------------------------- /src/components/Text.native.js: -------------------------------------------------------------------------------- 1 | import { Text } from 'react-native'; 2 | 3 | export default Text; 4 | -------------------------------------------------------------------------------- /ios/Fonts/anticon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZevenFang/react-native-web/HEAD/ios/Fonts/anticon.ttf -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ReactNativeWebDvaAntdMobile", 3 | "displayName": "ReactNativeWebDvaAntdMobile" 4 | } -------------------------------------------------------------------------------- /src/models/index.js: -------------------------------------------------------------------------------- 1 | import todo from './todo'; 2 | import counter from './counter'; 3 | 4 | export default [todo, counter]; 5 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ReactNativeWeb 3 | 4 | -------------------------------------------------------------------------------- /android/app/app-release-key.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZevenFang/react-native-web/HEAD/android/app/app-release-key.keystore -------------------------------------------------------------------------------- /ios/ReactNativeWeb/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/components/Text.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export default function (props) { 4 | return ; 5 | } 6 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZevenFang/react-native-web/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /src/services/example.js: -------------------------------------------------------------------------------- 1 | import request from '../utils/request'; 2 | 3 | export function query() { 4 | return request('/api/users'); 5 | } 6 | -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/anticon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZevenFang/react-native-web/HEAD/android/app/src/main/assets/fonts/anticon.ttf -------------------------------------------------------------------------------- /src/utils/rcform.js: -------------------------------------------------------------------------------- 1 | export function firstError(errors) { 2 | const keys = Object.keys(errors); 3 | return errors[keys[0]].errors[0].message; 4 | } 5 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZevenFang/react-native-web/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZevenFang/react-native-web/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZevenFang/react-native-web/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZevenFang/react-native-web/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"], 3 | "plugins": [ 4 | "transform-decorators-legacy", 5 | ["import", { "libraryName": "antd-mobile" }] 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /src/components/Touch.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export default function (props) { 4 | return ; 5 | } 6 | -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import { AppRegistry, Platform } from 'react-native'; 2 | import App from './src/App'; 3 | 4 | window.platform = Platform.OS; 5 | 6 | AppRegistry.registerComponent('ReactNativeWeb', () => App); 7 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import dva from 'dva'; 2 | import models from './models'; 3 | import router from './router'; 4 | import './index.css'; 5 | 6 | const app = dva(); 7 | models.map(m => app.model(m)); 8 | 9 | app.router(router); 10 | app.start('#root'); 11 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/components/Header.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { NavBar } from 'antd-mobile'; 3 | 4 | export default class Header extends React.Component { 5 | 6 | render() { 7 | let { title } = this.props; 8 | return ( 9 | {title} 10 | ); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/components/DrawerLeft.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Icon } from 'antd-mobile'; 3 | import Touch from './Touch'; 4 | 5 | export default function ({ onPress }) { 6 | return ( 7 | 8 | 9 | 10 | ); 11 | } 12 | -------------------------------------------------------------------------------- /__tests__/App.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import renderer from 'react-test-renderer'; 4 | import App from '../src/App'; 5 | 6 | // Note: test renderer must be required after react-native. 7 | 8 | it('renders correctly', () => { 9 | renderer.create( 10 | , 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | 12 | [*.md] 13 | trim_trailing_whitespace = false 14 | 15 | [Makefile] 16 | indent_style = tab 17 | -------------------------------------------------------------------------------- /src/index.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | React Native Web 7 | 8 | 9 | 10 |
11 | 12 | 13 | -------------------------------------------------------------------------------- /src/routes/IndexPage.less: -------------------------------------------------------------------------------- 1 | .drawer { 2 | position: relative; 3 | overflow: auto; 4 | -webkit-overflow-scrolling: touch; 5 | .am-drawer-draghandle { 6 | background: transparent; 7 | } 8 | .am-drawer-sidebar { 9 | overflow: auto; 10 | -webkit-overflow-scrolling: touch; 11 | .am-list { 12 | width: 300px; 13 | padding: 0; 14 | } 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /.roadhogrc: -------------------------------------------------------------------------------- 1 | { 2 | "entry": "src/index.js", 3 | "extraBabelPlugins": [ 4 | "transform-decorators-legacy", 5 | "transform-runtime", 6 | ["import", { "libraryName": "antd-mobile", "libraryDirectory": "es", "style": true }] 7 | ], 8 | "env": { 9 | "development": { 10 | "extraBabelPlugins": [ 11 | "dva-hmr" 12 | ] 13 | }, 14 | "production": { 15 | "extraBabelPlugins": [] 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/reactnativeweb/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.reactnativeweb; 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 "ReactNativeWeb"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /ios/ReactNativeWeb/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 | -------------------------------------------------------------------------------- /src/pages/IndexPage.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { DrawerNavigator } from 'react-navigation'; 3 | import TodoList from '../components/TodoList'; 4 | import Counter from '../components/Counter'; 5 | 6 | const Drawer = DrawerNavigator({ 7 | Todo: { 8 | screen: TodoList, 9 | }, 10 | Counter: { 11 | screen: Counter, 12 | }, 13 | }); 14 | 15 | export default class IndexPage extends React.Component { 16 | 17 | render() { 18 | return ( 19 | 20 | ); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /ios/ReactNativeWeb/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 | -------------------------------------------------------------------------------- /src/utils/dva.js: -------------------------------------------------------------------------------- 1 | // for react native 2 | 3 | import React from 'react'; 4 | import { create } from 'dva-core'; 5 | import { Provider, connect } from 'react-redux'; 6 | 7 | export { connect }; 8 | 9 | export default function (options) { 10 | const app = create(options); 11 | if (!GLOBAL.registered) options.models.forEach(model => app.model(model)); 12 | GLOBAL.registered = true; 13 | app.start(); 14 | // eslint-disable-next-line no-underscore-dangle 15 | const store = app._store; 16 | 17 | app.start = container => () => {container}; 18 | 19 | app.getStore = () => store; 20 | 21 | return app; 22 | } 23 | -------------------------------------------------------------------------------- /src/models/counter.js: -------------------------------------------------------------------------------- 1 | function delay(t) { 2 | return new Promise((resolve) => { 3 | setTimeout(() => { resolve(); }, t); 4 | }); 5 | } 6 | 7 | export default { 8 | namespace: 'counter', 9 | state: { 10 | number: 1, 11 | delay: 1, 12 | }, 13 | reducers: { 14 | change(state, { number }) { 15 | state.number = number; 16 | return { ...state }; 17 | }, 18 | delaySync(state, { number }) { 19 | state.delay = number; 20 | return { ...state }; 21 | }, 22 | }, 23 | effects: { 24 | *delayChange({ number }, { put, call }) { 25 | yield call(delay, 500); 26 | yield put({ type: 'delaySync', number }); 27 | }, 28 | }, 29 | }; 30 | -------------------------------------------------------------------------------- /src/router.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Router, Route, Switch } from 'dva/router'; 3 | import dynamic from 'dva/dynamic'; 4 | 5 | function RouterConfig({ history, app }) { 6 | const routes = [{ 7 | path: '/', 8 | component: () => import('./routes/IndexPage'), 9 | }]; 10 | return ( 11 | 12 | 13 | {routes.map(({ path, ...dynamics }, key) => ( 14 | 20 | ))} 21 | 22 | 23 | ); 24 | } 25 | 26 | export default RouterConfig; 27 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /ios/ReactNativeWeb/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/models/todo.js: -------------------------------------------------------------------------------- 1 | export default { 2 | namespace: 'todo', 3 | state: { 4 | data: [ 5 | { text: 'Hello', completed: false }, 6 | { text: 'World', completed: false }, 7 | { text: 'React', completed: false }, 8 | { text: 'Mobile', completed: false }, 9 | ], 10 | }, 11 | reducers: { 12 | add(state, { text }) { 13 | state.data.unshift({ text, complete: false }); 14 | return { ...state }; 15 | }, 16 | del(state, { id }) { 17 | state.data.splice(id, 1); 18 | return { ...state }; 19 | }, 20 | upd(state, { id, text }) { 21 | state.data[id].text = text; 22 | return { ...state }; 23 | }, 24 | check(state, { id }) { 25 | state.data[id].completed = !state.data[id].completed; 26 | return { ...state }; 27 | }, 28 | }, 29 | }; 30 | -------------------------------------------------------------------------------- /src/utils/request.js: -------------------------------------------------------------------------------- 1 | import fetch from 'dva/fetch'; 2 | 3 | function parseJSON(response) { 4 | return response.json(); 5 | } 6 | 7 | function checkStatus(response) { 8 | if (response.status >= 200 && response.status < 300) { 9 | return response; 10 | } 11 | 12 | const error = new Error(response.statusText); 13 | error.response = response; 14 | throw error; 15 | } 16 | 17 | /** 18 | * Requests a URL, returning a promise. 19 | * 20 | * @param {string} url The URL we want to request 21 | * @param {object} [options] The options we want to pass to "fetch" 22 | * @return {object} An object containing either "data" or "err" 23 | */ 24 | export default function request(url, options) { 25 | return fetch(url, options) 26 | .then(checkStatus) 27 | .then(parseJSON) 28 | .then(data => ({ data })) 29 | .catch(err => ({ err })); 30 | } 31 | -------------------------------------------------------------------------------- /ios/ReactNativeWebTests/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 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: android 3 | android: 4 | components: 5 | - build-tools-23.0.1 6 | - android-23 7 | - extra-android-m2repository 8 | - extra-android-support 9 | before_install: 10 | - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash 11 | - nvm install stable 12 | install: 13 | - npm install 14 | script: 15 | - npm run lint 16 | - npm run build 17 | - npm run apk 18 | after_script: 19 | - cp release.apk ./dist 20 | - cd ./dist 21 | - echo "react-native-web.zeven.vip" > CNAME 22 | - git init 23 | - git config user.name "zeven" #修改name 24 | - git config user.email "fangfan1997@126.com" #修改email 25 | - git add . 26 | - git commit -m "update" 27 | - git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages #GH_TOKEN是在Travis中配置token的名称 28 | branches: 29 | only: 30 | - master 31 | env: 32 | global: 33 | - GH_REF: github.com/ZevenFang/react-native-web.git 34 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { StackNavigator } from 'react-navigation'; 3 | import dva from './utils/dva'; 4 | import models from './models'; 5 | import IndexPage from './pages/IndexPage'; 6 | import DrawerLeft from './components/DrawerLeft'; 7 | 8 | const app = dva({ models }); 9 | 10 | let routerConfig = { 11 | initialRouteName: 'Index', 12 | }; 13 | 14 | let Router = StackNavigator({ 15 | Index: { 16 | screen: IndexPage, 17 | navigationOptions: ({ navigation }) => ({ 18 | title: navigation.state.params && navigation.state.params.title, 19 | headerLeft: navigation.state.params.drawerNavigation.navigate('DrawerToggle')} />, 20 | }), 21 | }, 22 | }, routerConfig); 23 | 24 | class App extends Component<{}> { 25 | render() { 26 | return ( 27 | { GLOBAL.navigation = nav; }} /> 28 | ); 29 | } 30 | } 31 | 32 | export default app.start(); 33 | -------------------------------------------------------------------------------- /.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 | *.apk 44 | 45 | # fastlane 46 | # 47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 48 | # screenshots whenever they are needed. 49 | # For more information about the recommended setup visit: 50 | # https://docs.fastlane.tools/best-practices/source-control/ 51 | 52 | */fastlane/report.xml 53 | */fastlane/Preview.html 54 | */fastlane/screenshots 55 | 56 | dist/ 57 | -------------------------------------------------------------------------------- /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 | MYAPP_RELEASE_STORE_FILE=app-release-key.keystore 22 | MYAPP_RELEASE_KEY_ALIAS=zhihu-release-key.keystore 23 | MYAPP_RELEASE_STORE_PASSWORD=zhihurn 24 | MYAPP_RELEASE_KEY_PASSWORD=zhihurn 25 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "parser": "babel-eslint", 3 | "extends": "airbnb", 4 | "globals": { 5 | "window": true, 6 | "document": true 7 | }, 8 | "rules": { 9 | "arrow-body-style": [0], 10 | "consistent-return": [0], 11 | "generator-star-spacing": [0], 12 | "global-require": [1], 13 | "import/extensions": [0], 14 | "import/no-extraneous-dependencies": [0], 15 | "import/no-unresolved": [0], 16 | "import/prefer-default-export": [0], 17 | "jsx-a11y/no-static-element-interactions": [0], 18 | "no-bitwise": [0], 19 | "no-cond-assign": [0], 20 | "no-else-return": [0], 21 | "no-nested-ternary": [0], 22 | "no-restricted-syntax": [0], 23 | "no-use-before-define": [0], 24 | "react/forbid-prop-types": [0], 25 | "react/jsx-filename-extension": [1, { "extensions": [".js"] }], 26 | "react/jsx-no-bind": [0], 27 | "react/prefer-stateless-function": [0], 28 | "react/prop-types": [0], 29 | "require-yield": [1], 30 | "linebreak-style": [0], 31 | "func-names": [0], 32 | "no-param-reassign": [0], 33 | "prefer-const": [0] 34 | }, 35 | "parserOptions": { 36 | "ecmaFeatures": { 37 | "experimentalObjectRestSpread": true 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/reactnativeweb/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.reactnativeweb; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.facebook.react.ReactNativeHost; 7 | import com.facebook.react.ReactPackage; 8 | import com.facebook.react.shell.MainReactPackage; 9 | import com.facebook.soloader.SoLoader; 10 | 11 | import java.util.Arrays; 12 | import java.util.List; 13 | 14 | public class MainApplication extends Application implements ReactApplication { 15 | 16 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 17 | @Override 18 | public boolean getUseDeveloperSupport() { 19 | return BuildConfig.DEBUG; 20 | } 21 | 22 | @Override 23 | protected List getPackages() { 24 | return Arrays.asList( 25 | new MainReactPackage() 26 | ); 27 | } 28 | 29 | @Override 30 | protected String getJSMainModuleName() { 31 | return "index"; 32 | } 33 | }; 34 | 35 | @Override 36 | public ReactNativeHost getReactNativeHost() { 37 | return mReactNativeHost; 38 | } 39 | 40 | @Override 41 | public void onCreate() { 42 | super.onCreate(); 43 | SoLoader.init(this, /* native exopackage */ false); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /ios/ReactNativeWeb/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | 12 | #import 13 | #import 14 | 15 | @implementation AppDelegate 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | NSURL *jsCodeLocation; 20 | 21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"ReactNativeWeb" 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 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | [include] 20 | 21 | [libs] 22 | node_modules/react-native/Libraries/react-native/react-native-interface.js 23 | node_modules/react-native/flow/ 24 | 25 | [options] 26 | emoji=true 27 | 28 | module.system=haste 29 | 30 | munge_underscores=true 31 | 32 | 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' 33 | 34 | suppress_type=$FlowIssue 35 | suppress_type=$FlowFixMe 36 | suppress_type=$FlowFixMeProps 37 | suppress_type=$FlowFixMeState 38 | suppress_type=$FixMe 39 | 40 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-7]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 41 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-7]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 42 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 43 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 44 | 45 | unsafe.enable_getters_and_setters=true 46 | 47 | [version] 48 | ^0.57.0 49 | -------------------------------------------------------------------------------- /src/components/Counter.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { List, Stepper, Toast } from 'antd-mobile'; 3 | import { connect } from 'react-redux'; 4 | 5 | @connect(({ counter }) => ({ counter })) 6 | export default class Counter extends React.Component { 7 | 8 | componentDidMount() { 9 | if (window.platform) { // 只在 ReactNative 中使用 10 | this.props.screenProps.stackNavigation.setParams({ 11 | title: 'Counter', drawerNavigation: this.props.navigation, 12 | }); 13 | } 14 | } 15 | 16 | onChange = (number) => { 17 | this.props.dispatch({ 18 | type: 'counter/change', 19 | number, 20 | }); 21 | }; 22 | 23 | onDelayChange = async (number) => { 24 | Toast.loading('Loading...'); 25 | await this.props.dispatch({ 26 | type: 'counter/delayChange', 27 | number, 28 | }); 29 | Toast.hide(); 30 | }; 31 | 32 | render() { 33 | const { counter } = this.props; 34 | const stepperStyle = { width: '100%' }; 35 | if (!window.platform) stepperStyle.minWidth = '100px'; 36 | return ( 37 | 'Counter List'}> 38 | } 46 | > 47 | Counter 48 | 49 | } 56 | > 57 | Delay 58 | 59 | 60 | ); 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /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.reactnativewebdvaantdmobile", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.reactnativewebdvaantdmobile", 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 | -------------------------------------------------------------------------------- /ios/ReactNativeWeb/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UIAppFonts 6 | 7 | anticon.ttf 8 | 9 | CFBundleDevelopmentRegion 10 | en 11 | CFBundleDisplayName 12 | ReactNativeWeb 13 | CFBundleExecutable 14 | $(EXECUTABLE_NAME) 15 | CFBundleIdentifier 16 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 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 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ReactNativeWeb", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "android": "node node_modules/react-native/local-cli/cli.js run-android", 8 | "apk": "cd android && ./gradlew assembleRelease && cp ./app/build/outputs/apk/app-release.apk ../release.apk", 9 | "apk-w": "cd android && gradlew assembleRelease && copy app\\build\\outputs\\apk\\app-release.apk ..\\release.apk /y", 10 | "test": "jest", 11 | "web": "cross-env PORT=3001 roadhog server", 12 | "build": "roadhog build", 13 | "lint": "eslint --ext .js index.js src", 14 | "precommit": "npm run lint" 15 | }, 16 | "pre-commit": [ 17 | "lint" 18 | ], 19 | "dependencies": { 20 | "antd-mobile": "^2.1.1", 21 | "babel-runtime": "^6.9.2", 22 | "dva": "^2.1.0", 23 | "dva-core": "^1.1.0", 24 | "rc-form": "^2.1.5", 25 | "react": "16.0.0", 26 | "react-dom": "16.0.0", 27 | "react-native": "0.51.0", 28 | "react-navigation": "^1.0.0-beta.21", 29 | "react-redux": "^5.0.6" 30 | }, 31 | "devDependencies": { 32 | "babel-eslint": "^7.1.1", 33 | "babel-jest": "21.2.0", 34 | "babel-plugin-dva-hmr": "^0.3.2", 35 | "babel-plugin-import": "^1.6.2", 36 | "babel-plugin-transform-decorators-legacy": "^1.3.4", 37 | "babel-plugin-transform-runtime": "^6.9.0", 38 | "babel-preset-react-native": "4.0.0", 39 | "cross-env": "^5.1.1", 40 | "eslint": "^3.12.2", 41 | "eslint-config-airbnb": "^13.0.0", 42 | "eslint-plugin-import": "^2.2.0", 43 | "eslint-plugin-jsx-a11y": "^2.2.3", 44 | "eslint-plugin-react": "^6.8.0", 45 | "expect": "^1.20.2", 46 | "husky": "^0.12.0", 47 | "jest": "21.2.1", 48 | "pre-commit": "^1.2.2", 49 | "react-test-renderer": "16.0.0", 50 | "redbox-react": "^1.4.3", 51 | "roadhog": "^1.2.1" 52 | }, 53 | "jest": { 54 | "preset": "react-native" 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/routes/IndexPage.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { List, Drawer, NavBar, Icon } from 'antd-mobile'; 3 | import { Route, routerRedux } from 'dva/router'; 4 | import dynamic from 'dva/dynamic'; 5 | import { connect } from 'react-redux'; 6 | import styles from './IndexPage.less'; 7 | 8 | const routes = [{ 9 | path: '/', 10 | title: 'Todos', 11 | component: () => import('../components/TodoList'), 12 | }, { 13 | path: '/counter', 14 | title: 'Counter', 15 | component: () => import('../components/Counter'), 16 | }]; 17 | 18 | @connect() 19 | export default class IndexPage extends React.Component { 20 | 21 | state = { 22 | open: false, 23 | title: routes.filter(v => v.path === this.props.location.pathname)[0].title, 24 | }; 25 | 26 | onOpenChange = () => { 27 | this.setState({ open: !this.state.open }); 28 | }; 29 | 30 | onNavigate = (path, title) => { 31 | this.setState({ open: false, title }); 32 | this.props.dispatch(routerRedux.push(path)); 33 | }; 34 | 35 | render() { 36 | const { app } = this.props; 37 | const sidebar = ( 38 | 39 | this.onNavigate('/', 'Todos')}>Todos 40 | this.onNavigate('/counter', 'Counter')}>Counter 41 | ); 42 | return ( 43 |
44 | } onLeftClick={this.onOpenChange}>{this.state.title} 45 | 55 | {routes.map(({ path, ...dynamics }, key) => ( 56 | 62 | ))} 63 | 64 |
65 | ); 66 | } 67 | 68 | } 69 | -------------------------------------------------------------------------------- /README_CN.md: -------------------------------------------------------------------------------- 1 | # ReactNativeWeb 2 | 使用 [dva] 和 [antd-mobile] 构建 ReactNative 应用和网页应用 3 | 4 | [English] | 中文文档 5 | 6 | ## 目录结构 7 | ```sh 8 | ├── App.js # react-native 入口文件 9 | ├── index.css # web 全局样式 10 | ├── index.ejs # web html 入口 11 | ├── index.js # web js 入口 12 | ├── router.js # web 路由 13 | ├── assets # 公共资源文件 14 | │   └── yay.jpg 15 | ├── components # 公共组件 16 | │   ├── Counter.js 17 | │   ├── DrawerLeft.js 18 | │   ├── Header.js 19 | │   ├── Text.js 20 | │   ├── Text.native.js # react-native 优先匹配 .native.js 后缀 21 | │   ├── TodoList.js 22 | │   ├── Touch.js 23 | │   └── Touch.native.js 24 | ├── models # 公共 dva 模型 25 | │   ├── counter.js 26 | │   ├── index.js 27 | │   └── todo.js 28 | ├── pages # react-native 页面 29 | │   └── IndexPage.js 30 | ├── routes # web 页面 31 | │   ├── IndexPage.js 32 | │   └── IndexPage.less 33 | ├── services # 公共 api 服务 34 | │   └── example.js 35 | └── utils # 公共工具类 36 | ├── dva.js 37 | ├── rcform.js 38 | └── request.js 39 | ``` 40 | ## 运行脚本 41 | ```sh 42 | npm run start # start react native packager 43 | npm run android # run android debug apk into devices 44 | npm run apk # release android app on mac or linux 45 | npm run apk-w # release android app on windows 46 | npm run web # start web app 47 | npm run build # build web app 48 | npm run lint # lint the code 49 | ``` 50 | ## 支持平台 51 | ```js 52 | function platform() { 53 | if (!window.platform) 54 | return 'web'; 55 | else return window.platform; // ios|android 56 | } 57 | ``` 58 | ## 界面预览 59 | 60 | ### Web 61 | ![](https://rawgit.com/ZevenFang/react-native-web/screen/web-todos.png) 62 | ![](https://rawgit.com/ZevenFang/react-native-web/screen/web-counter.png) 63 | ### Android 64 | ![](https://rawgit.com/ZevenFang/react-native-web/screen/android-todos.png) 65 | ![](https://rawgit.com/ZevenFang/react-native-web/screen/android-counter.png) 66 | ### iOS 67 | ![](https://rawgit.com/ZevenFang/react-native-web/screen/ios-todos.png) 68 | ![](https://rawgit.com/ZevenFang/react-native-web/screen/ios-counter.png) 69 | 70 | [dva]: https://github.com/dvajs/dva 71 | [antd-mobile]: https://mobile.ant.design/docs/react/introduce-cn 72 | [English]: https://github.com/ZevenFang/react-native-web/blob/master/README.md 73 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # react-native-web 2 | Build react-native and web app with [dva] and [antd-mobile]. 3 | 4 | English | [中文文档] 5 | 6 | ## Structure 7 | ```sh 8 | ├── App.js # native entry 9 | ├── index.css # web global style 10 | ├── index.ejs # web html entry 11 | ├── index.js # web js entry 12 | ├── router.js # web router 13 | ├── assets # assets 14 | │   └── yay.jpg 15 | ├── components # common components 16 | │   ├── Counter.js 17 | │   ├── DrawerLeft.js 18 | │   ├── Header.js 19 | │   ├── Text.js 20 | │   ├── Text.native.js # native uses the .native.js suffix 21 | │   ├── TodoList.js 22 | │   ├── Touch.js 23 | │   └── Touch.native.js 24 | ├── models # dva models 25 | │   ├── counter.js 26 | │   ├── index.js 27 | │   └── todo.js 28 | ├── pages # native pages 29 | │   └── IndexPage.js 30 | ├── routes # web pages 31 | │   ├── IndexPage.js 32 | │   └── IndexPage.less 33 | ├── services # api services 34 | │   └── example.js 35 | └── utils # useful utils 36 | ├── dva.js 37 | ├── rcform.js 38 | └── request.js 39 | ``` 40 | ## Scripts 41 | ```sh 42 | npm run start # start react native packager 43 | npm run android # run android debug apk into devices 44 | npm run apk # release android app on mac or linux 45 | npm run apk-w # release android app on windows 46 | npm run web # start web app 47 | npm run build # build web app 48 | npm run lint # lint the code 49 | ``` 50 | ## Platform 51 | ```js 52 | function platform() { 53 | if (!window.platform) 54 | return 'web'; 55 | else return window.platform; // ios|android 56 | } 57 | ``` 58 | ## Preview 59 | 60 | ### Web 61 | ![](https://rawgit.com/ZevenFang/react-native-web/screen/web-todos.png) 62 | ![](https://rawgit.com/ZevenFang/react-native-web/screen/web-counter.png) 63 | ### Android 64 | ![](https://rawgit.com/ZevenFang/react-native-web/screen/android-todos.png) 65 | ![](https://rawgit.com/ZevenFang/react-native-web/screen/android-counter.png) 66 | ### iOS 67 | ![](https://rawgit.com/ZevenFang/react-native-web/screen/ios-todos.png) 68 | ![](https://rawgit.com/ZevenFang/react-native-web/screen/ios-counter.png) 69 | 70 | 71 | [dva]: https://github.com/dvajs/dva 72 | [antd-mobile]: https://mobile.ant.design/docs/react/introduce-cn 73 | [中文文档]: https://github.com/ZevenFang/react-native-web/blob/master/README_CN.md 74 | -------------------------------------------------------------------------------- /ios/ReactNativeWebTests/ReactNativeWebTests.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 ReactNativeWebDvaAntdMobileTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation ReactNativeWebDvaAntdMobileTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/components/TodoList.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { List, InputItem, Icon, Toast, Checkbox, Modal } from 'antd-mobile'; 3 | import { createForm } from 'rc-form'; 4 | import { connect } from 'react-redux'; 5 | import Touch from './Touch'; 6 | import Text from './Text'; 7 | import { firstError } from '../utils/rcform'; 8 | 9 | const CheckboxItem = Checkbox.CheckboxItem; 10 | 11 | @connect(({ todo }) => ({ todo })) 12 | class TodoList extends React.Component { 13 | 14 | componentDidMount() { 15 | if (window.platform) { // 只在 ReactNative 中使用 16 | this.props.screenProps.stackNavigation.setParams({ 17 | title: 'Todos', drawerNavigation: this.props.navigation, 18 | }); 19 | } 20 | } 21 | 22 | onSave = () => { 23 | const { form, dispatch } = this.props; 24 | form.validateFields({ first: false }, async (error, value) => { 25 | if (error) Toast.fail(firstError(error), 1); 26 | else { 27 | await dispatch({ 28 | type: 'todo/add', 29 | text: value.task, 30 | }); 31 | form.resetFields(['task']); 32 | } 33 | }); 34 | }; 35 | 36 | onComplete = async (id) => { 37 | await this.props.dispatch({ 38 | type: 'todo/check', id, 39 | }); 40 | }; 41 | 42 | onDelete = (id) => { 43 | Modal.alert('Delete', 'Are you sure?', [ 44 | { text: 'Cancel' }, 45 | { text: 'OK', 46 | onPress: () => { 47 | this.props.dispatch({ 48 | type: 'todo/del', id, 49 | }); 50 | Toast.success('Deleted!', 1); 51 | } }, 52 | ]); 53 | }; 54 | 55 | render() { 56 | const { todo, form } = this.props; 57 | const { getFieldProps } = form; 58 | return ( 59 | 'Todos List'}> 60 | } 66 | onExtraClick={this.onSave} 67 | onKeyPress={e => e.key === 'Enter' && this.onSave()} 68 | onSubmitEditing={this.onSave} 69 | labelNumber={3} 70 | >Todo 71 | {todo.data.map((v, k) => ( 72 | this.onDelete(k)} onPress={() => this.onDelete(k)}>} 74 | checked={v.completed === true} wrap 75 | onChange={() => this.onComplete(k)} 76 | > 77 | {v.text} 78 | 79 | ))} 80 | 81 | ); 82 | } 83 | 84 | } 85 | 86 | export default createForm()(TodoList); 87 | -------------------------------------------------------------------------------- /src/components/Touch.native.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { 3 | Platform, 4 | TouchableNativeFeedback, 5 | TouchableOpacity, 6 | TouchableWithoutFeedback, 7 | View, 8 | } from 'react-native'; 9 | 10 | let TouchableComponent; 11 | 12 | if (Platform.OS === 'android') { 13 | TouchableComponent = 14 | Platform.Version <= 20 ? TouchableOpacity : TouchableNativeFeedback; 15 | } else { 16 | TouchableComponent = TouchableOpacity; 17 | } 18 | 19 | if (TouchableComponent !== TouchableNativeFeedback) { 20 | TouchableComponent.SelectableBackground = () => ({}); 21 | TouchableComponent.SelectableBackgroundBorderless = () => ({}); 22 | TouchableComponent.Ripple = () => ({}); 23 | TouchableComponent.canUseNativeForeground = () => false; 24 | } 25 | 26 | export default class PlatformTouchable extends React.Component { 27 | static SelectableBackground = TouchableComponent.SelectableBackground; 28 | static SelectableBackgroundBorderless = TouchableComponent.SelectableBackgroundBorderless; 29 | static Ripple = TouchableComponent.Ripple; 30 | static canUseNativeForeground = TouchableComponent.canUseNativeForeground; 31 | 32 | render() { 33 | let { 34 | children, 35 | style, 36 | foreground, 37 | background, 38 | useForeground, 39 | ...props 40 | } = this.props; 41 | 42 | // Even though it works for TouchableWithoutFeedback and 43 | // TouchableNativeFeedback with this component, we want 44 | // the API to be the same for all components so we require 45 | // exactly one direct child for every touchable type. 46 | children = React.Children.only(children); 47 | 48 | if (TouchableComponent === TouchableNativeFeedback) { 49 | useForeground = 50 | foreground && TouchableNativeFeedback.canUseNativeForeground(); 51 | 52 | /* if (foreground && background) { 53 | console.warn( 54 | 'Specified foreground and background for Touchable,' + 55 | ' only one can be used at a time. Defaulted to foreground.', 56 | ); 57 | }*/ 58 | 59 | return ( 60 | 65 | 66 | {children} 67 | 68 | 69 | ); 70 | } else if (TouchableComponent === TouchableWithoutFeedback) { 71 | return ( 72 | 73 | 74 | {children} 75 | 76 | 77 | ); 78 | } else { 79 | const TouchableFallback = this.props.fallback || TouchableComponent; 80 | return ( 81 | 82 | {children} 83 | 84 | ); 85 | } 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout. 54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details. 55 | -dontwarn android.text.StaticLayout 56 | 57 | # okhttp 58 | 59 | -keepattributes Signature 60 | -keepattributes *Annotation* 61 | -keep class okhttp3.** { *; } 62 | -keep interface okhttp3.** { *; } 63 | -dontwarn okhttp3.** 64 | 65 | # okio 66 | 67 | -keep class sun.misc.Unsafe { *; } 68 | -dontwarn java.nio.file.* 69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 70 | -dontwarn okio.** 71 | -------------------------------------------------------------------------------- /ios/ReactNativeWeb/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 | -------------------------------------------------------------------------------- /ios/ReactNativeWeb.xcodeproj/xcshareddata/xcschemes/ReactNativeWeb.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 | -------------------------------------------------------------------------------- /ios/ReactNativeWeb.xcodeproj/xcshareddata/xcschemes/ReactNativeWeb-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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 37 | * // for example: to disable dev mode in the staging build type (if configured) 38 | * devDisabledInStaging: true, 39 | * // The configuration property can be in the following formats 40 | * // 'devDisabledIn${productFlavor}${buildType}' 41 | * // 'devDisabledIn${buildType}' 42 | * 43 | * // the root of your project, i.e. where "package.json" lives 44 | * root: "../../", 45 | * 46 | * // where to put the JS bundle asset in debug mode 47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 48 | * 49 | * // where to put the JS bundle asset in release mode 50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 51 | * 52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 53 | * // require('./image.png')), in debug mode 54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 55 | * 56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 57 | * // require('./image.png')), in release mode 58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 59 | * 60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 64 | * // for example, you might want to remove it from here. 65 | * inputExcludes: ["android/**", "ios/**"], 66 | * 67 | * // override which node gets called and with what additional arguments 68 | * nodeExecutableAndArgs: ["node"], 69 | * 70 | * // supply additional arguments to the packager 71 | * extraPackagerArgs: [] 72 | * ] 73 | */ 74 | 75 | project.ext.react = [ 76 | entryFile: "index.js" 77 | ] 78 | 79 | apply from: "../../node_modules/react-native/react.gradle" 80 | 81 | /** 82 | * Set this to true to create two separate APKs instead of one: 83 | * - An APK that only works on ARM devices 84 | * - An APK that only works on x86 devices 85 | * The advantage is the size of the APK is reduced by about 4MB. 86 | * Upload all the APKs to the Play Store and people will download 87 | * the correct one based on the CPU architecture of their device. 88 | */ 89 | def enableSeparateBuildPerCPUArchitecture = false 90 | 91 | /** 92 | * Run Proguard to shrink the Java bytecode in release builds. 93 | */ 94 | def enableProguardInReleaseBuilds = false 95 | 96 | android { 97 | compileSdkVersion 23 98 | buildToolsVersion "23.0.1" 99 | 100 | defaultConfig { 101 | applicationId "com.reactnativeweb" 102 | minSdkVersion 16 103 | targetSdkVersion 22 104 | versionCode 1 105 | versionName "1.0" 106 | ndk { 107 | abiFilters "armeabi-v7a", "x86" 108 | } 109 | } 110 | splits { 111 | abi { 112 | reset() 113 | enable enableSeparateBuildPerCPUArchitecture 114 | universalApk false // If true, also generate a universal APK 115 | include "armeabi-v7a", "x86" 116 | } 117 | } 118 | signingConfigs { 119 | release { 120 | storeFile file(MYAPP_RELEASE_STORE_FILE) 121 | storePassword MYAPP_RELEASE_STORE_PASSWORD 122 | keyAlias MYAPP_RELEASE_KEY_ALIAS 123 | keyPassword MYAPP_RELEASE_KEY_PASSWORD 124 | } 125 | } 126 | buildTypes { 127 | release { 128 | minifyEnabled enableProguardInReleaseBuilds 129 | signingConfig signingConfigs.release 130 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 131 | } 132 | } 133 | // applicationVariants are e.g. debug, release 134 | applicationVariants.all { variant -> 135 | variant.outputs.each { output -> 136 | // For each separate APK per architecture, set a unique version code as described here: 137 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 138 | def versionCodes = ["armeabi-v7a":1, "x86":2] 139 | def abi = output.getFilter(OutputFile.ABI) 140 | if (abi != null) { // null for the universal-debug, universal-release variants 141 | output.versionCodeOverride = 142 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 143 | } 144 | } 145 | } 146 | } 147 | 148 | dependencies { 149 | compile fileTree(dir: "libs", include: ["*.jar"]) 150 | compile "com.android.support:appcompat-v7:23.0.1" 151 | compile "com.facebook.react:react-native:+" // From node_modules 152 | } 153 | 154 | // Run this once to be able to run the application with BUCK 155 | // puts all compile dependencies into folder libs for BUCK to use 156 | task copyDownloadableDepsToLibs(type: Copy) { 157 | from configurations.compile 158 | into 'libs' 159 | } 160 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /ios/ReactNativeWeb.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 /* ReactNativeWebTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNativeWebTests.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 | 1F5BBBDE1FE105BB00ED7ED5 /* anticon.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 1F5BBBDD1FE105BB00ED7ED5 /* anticon.ttf */; }; 26 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 27 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 28 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 29 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 30 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 31 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 32 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 33 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 34 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 35 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 36 | 2D02E4C91E0B4AEC006451C7 /* libReact-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */; }; 37 | 2DCD954D1E0B4F2C00145EB5 /* ReactNativeWebTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNativeWebTests.m */; }; 38 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 39 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 40 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 41 | /* End PBXBuildFile section */ 42 | 43 | /* Begin PBXContainerItemProxy section */ 44 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 45 | isa = PBXContainerItemProxy; 46 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 47 | proxyType = 2; 48 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 49 | remoteInfo = RCTActionSheet; 50 | }; 51 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 52 | isa = PBXContainerItemProxy; 53 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 54 | proxyType = 2; 55 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 56 | remoteInfo = RCTGeolocation; 57 | }; 58 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 59 | isa = PBXContainerItemProxy; 60 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 61 | proxyType = 2; 62 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 63 | remoteInfo = RCTImage; 64 | }; 65 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 66 | isa = PBXContainerItemProxy; 67 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 68 | proxyType = 2; 69 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 70 | remoteInfo = RCTNetwork; 71 | }; 72 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 73 | isa = PBXContainerItemProxy; 74 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 75 | proxyType = 2; 76 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 77 | remoteInfo = RCTVibration; 78 | }; 79 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 80 | isa = PBXContainerItemProxy; 81 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 82 | proxyType = 1; 83 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 84 | remoteInfo = ReactNativeWeb; 85 | }; 86 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 87 | isa = PBXContainerItemProxy; 88 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 89 | proxyType = 2; 90 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 91 | remoteInfo = RCTSettings; 92 | }; 93 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 94 | isa = PBXContainerItemProxy; 95 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 96 | proxyType = 2; 97 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 98 | remoteInfo = RCTWebSocket; 99 | }; 100 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 101 | isa = PBXContainerItemProxy; 102 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 103 | proxyType = 2; 104 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 105 | remoteInfo = React; 106 | }; 107 | 1F5BBBC71FE105A400ED7ED5 /* PBXContainerItemProxy */ = { 108 | isa = PBXContainerItemProxy; 109 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 110 | proxyType = 2; 111 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 112 | remoteInfo = "RCTBlob-tvOS"; 113 | }; 114 | 1F5BBBD91FE105A400ED7ED5 /* PBXContainerItemProxy */ = { 115 | isa = PBXContainerItemProxy; 116 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 117 | proxyType = 2; 118 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 119 | remoteInfo = fishhook; 120 | }; 121 | 1F5BBBDB1FE105A400ED7ED5 /* PBXContainerItemProxy */ = { 122 | isa = PBXContainerItemProxy; 123 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 124 | proxyType = 2; 125 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 126 | remoteInfo = "fishhook-tvOS"; 127 | }; 128 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 129 | isa = PBXContainerItemProxy; 130 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 131 | proxyType = 1; 132 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 133 | remoteInfo = "ReactNativeWeb-tvOS"; 134 | }; 135 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 136 | isa = PBXContainerItemProxy; 137 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 138 | proxyType = 2; 139 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 140 | remoteInfo = "RCTImage-tvOS"; 141 | }; 142 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 143 | isa = PBXContainerItemProxy; 144 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 145 | proxyType = 2; 146 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 147 | remoteInfo = "RCTLinking-tvOS"; 148 | }; 149 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 150 | isa = PBXContainerItemProxy; 151 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 152 | proxyType = 2; 153 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 154 | remoteInfo = "RCTNetwork-tvOS"; 155 | }; 156 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 157 | isa = PBXContainerItemProxy; 158 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 159 | proxyType = 2; 160 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 161 | remoteInfo = "RCTSettings-tvOS"; 162 | }; 163 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 164 | isa = PBXContainerItemProxy; 165 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 166 | proxyType = 2; 167 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 168 | remoteInfo = "RCTText-tvOS"; 169 | }; 170 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 171 | isa = PBXContainerItemProxy; 172 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 173 | proxyType = 2; 174 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 175 | remoteInfo = "RCTWebSocket-tvOS"; 176 | }; 177 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 178 | isa = PBXContainerItemProxy; 179 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 180 | proxyType = 2; 181 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 182 | remoteInfo = "React-tvOS"; 183 | }; 184 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 185 | isa = PBXContainerItemProxy; 186 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 187 | proxyType = 2; 188 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 189 | remoteInfo = yoga; 190 | }; 191 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 192 | isa = PBXContainerItemProxy; 193 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 194 | proxyType = 2; 195 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 196 | remoteInfo = "yoga-tvOS"; 197 | }; 198 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 199 | isa = PBXContainerItemProxy; 200 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 201 | proxyType = 2; 202 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 203 | remoteInfo = cxxreact; 204 | }; 205 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 206 | isa = PBXContainerItemProxy; 207 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 208 | proxyType = 2; 209 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 210 | remoteInfo = "cxxreact-tvOS"; 211 | }; 212 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 213 | isa = PBXContainerItemProxy; 214 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 215 | proxyType = 2; 216 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 217 | remoteInfo = jschelpers; 218 | }; 219 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 220 | isa = PBXContainerItemProxy; 221 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 222 | proxyType = 2; 223 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 224 | remoteInfo = "jschelpers-tvOS"; 225 | }; 226 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 227 | isa = PBXContainerItemProxy; 228 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 229 | proxyType = 2; 230 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 231 | remoteInfo = RCTAnimation; 232 | }; 233 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 234 | isa = PBXContainerItemProxy; 235 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 236 | proxyType = 2; 237 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 238 | remoteInfo = "RCTAnimation-tvOS"; 239 | }; 240 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 241 | isa = PBXContainerItemProxy; 242 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 243 | proxyType = 2; 244 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 245 | remoteInfo = RCTLinking; 246 | }; 247 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 248 | isa = PBXContainerItemProxy; 249 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 250 | proxyType = 2; 251 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 252 | remoteInfo = RCTText; 253 | }; 254 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 255 | isa = PBXContainerItemProxy; 256 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 257 | proxyType = 2; 258 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 259 | remoteInfo = RCTBlob; 260 | }; 261 | /* End PBXContainerItemProxy section */ 262 | 263 | /* Begin PBXFileReference section */ 264 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 265 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 266 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 267 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 268 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 269 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 270 | 00E356EE1AD99517003FC87E /* ReactNativeWebTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ReactNativeWebTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 271 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 272 | 00E356F21AD99517003FC87E /* ReactNativeWebTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ReactNativeWebTests.m; sourceTree = ""; }; 273 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 274 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 275 | 13B07F961A680F5B00A75B9A /* ReactNativeWeb.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ReactNativeWeb.app; sourceTree = BUILT_PRODUCTS_DIR; }; 276 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ReactNativeWeb/AppDelegate.h; sourceTree = ""; }; 277 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = ReactNativeWeb/AppDelegate.m; sourceTree = ""; }; 278 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 279 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ReactNativeWeb/Images.xcassets; sourceTree = ""; }; 280 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ReactNativeWeb/Info.plist; sourceTree = ""; }; 281 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ReactNativeWeb/main.m; sourceTree = ""; }; 282 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 283 | 1F5BBBDD1FE105BB00ED7ED5 /* anticon.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = anticon.ttf; sourceTree = ""; }; 284 | 2D02E47B1E0B4A5D006451C7 /* ReactNativeWeb-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ReactNativeWeb-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 285 | 2D02E4901E0B4A5D006451C7 /* ReactNativeWeb-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "ReactNativeWeb-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 286 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 287 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 288 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 289 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 290 | /* End PBXFileReference section */ 291 | 292 | /* Begin PBXFrameworksBuildPhase section */ 293 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 294 | isa = PBXFrameworksBuildPhase; 295 | buildActionMask = 2147483647; 296 | files = ( 297 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 298 | ); 299 | runOnlyForDeploymentPostprocessing = 0; 300 | }; 301 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 302 | isa = PBXFrameworksBuildPhase; 303 | buildActionMask = 2147483647; 304 | files = ( 305 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 306 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 307 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 308 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 309 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 310 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 311 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 312 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 313 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 314 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 315 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 316 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 317 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 318 | ); 319 | runOnlyForDeploymentPostprocessing = 0; 320 | }; 321 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 322 | isa = PBXFrameworksBuildPhase; 323 | buildActionMask = 2147483647; 324 | files = ( 325 | 2D02E4C91E0B4AEC006451C7 /* libReact-tvOS.a in Frameworks */, 326 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 327 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 328 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 329 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 330 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 331 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 332 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 333 | ); 334 | runOnlyForDeploymentPostprocessing = 0; 335 | }; 336 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 337 | isa = PBXFrameworksBuildPhase; 338 | buildActionMask = 2147483647; 339 | files = ( 340 | ); 341 | runOnlyForDeploymentPostprocessing = 0; 342 | }; 343 | /* End PBXFrameworksBuildPhase section */ 344 | 345 | /* Begin PBXGroup section */ 346 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 347 | isa = PBXGroup; 348 | children = ( 349 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 350 | ); 351 | name = Products; 352 | sourceTree = ""; 353 | }; 354 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 355 | isa = PBXGroup; 356 | children = ( 357 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 358 | ); 359 | name = Products; 360 | sourceTree = ""; 361 | }; 362 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 363 | isa = PBXGroup; 364 | children = ( 365 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 366 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 367 | ); 368 | name = Products; 369 | sourceTree = ""; 370 | }; 371 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 372 | isa = PBXGroup; 373 | children = ( 374 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 375 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 376 | ); 377 | name = Products; 378 | sourceTree = ""; 379 | }; 380 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 381 | isa = PBXGroup; 382 | children = ( 383 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 384 | ); 385 | name = Products; 386 | sourceTree = ""; 387 | }; 388 | 00E356EF1AD99517003FC87E /* ReactNativeWebTests */ = { 389 | isa = PBXGroup; 390 | children = ( 391 | 00E356F21AD99517003FC87E /* ReactNativeWebTests.m */, 392 | 00E356F01AD99517003FC87E /* Supporting Files */, 393 | ); 394 | path = ReactNativeWebTests; 395 | sourceTree = ""; 396 | }; 397 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 398 | isa = PBXGroup; 399 | children = ( 400 | 00E356F11AD99517003FC87E /* Info.plist */, 401 | ); 402 | name = "Supporting Files"; 403 | sourceTree = ""; 404 | }; 405 | 139105B71AF99BAD00B5F7CC /* Products */ = { 406 | isa = PBXGroup; 407 | children = ( 408 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 409 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 410 | ); 411 | name = Products; 412 | sourceTree = ""; 413 | }; 414 | 139FDEE71B06529A00C62182 /* Products */ = { 415 | isa = PBXGroup; 416 | children = ( 417 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 418 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 419 | 1F5BBBDA1FE105A400ED7ED5 /* libfishhook.a */, 420 | 1F5BBBDC1FE105A400ED7ED5 /* libfishhook-tvOS.a */, 421 | ); 422 | name = Products; 423 | sourceTree = ""; 424 | }; 425 | 13B07FAE1A68108700A75B9A /* ReactNativeWeb */ = { 426 | isa = PBXGroup; 427 | children = ( 428 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 429 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 430 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 431 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 432 | 13B07FB61A68108700A75B9A /* Info.plist */, 433 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 434 | 13B07FB71A68108700A75B9A /* main.m */, 435 | ); 436 | name = ReactNativeWeb; 437 | sourceTree = ""; 438 | }; 439 | 146834001AC3E56700842450 /* Products */ = { 440 | isa = PBXGroup; 441 | children = ( 442 | 146834041AC3E56700842450 /* libReact.a */, 443 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 444 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 445 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 446 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 447 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 448 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 449 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */, 450 | ); 451 | name = Products; 452 | sourceTree = ""; 453 | }; 454 | 1F5BBBC11FE105A300ED7ED5 /* Fonts */ = { 455 | isa = PBXGroup; 456 | children = ( 457 | 1F5BBBDD1FE105BB00ED7ED5 /* anticon.ttf */, 458 | ); 459 | path = Fonts; 460 | sourceTree = ""; 461 | }; 462 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 463 | isa = PBXGroup; 464 | children = ( 465 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 466 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 467 | ); 468 | name = Products; 469 | sourceTree = ""; 470 | }; 471 | 78C398B11ACF4ADC00677621 /* Products */ = { 472 | isa = PBXGroup; 473 | children = ( 474 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 475 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 476 | ); 477 | name = Products; 478 | sourceTree = ""; 479 | }; 480 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 481 | isa = PBXGroup; 482 | children = ( 483 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 484 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 485 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 486 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 487 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 488 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 489 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 490 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 491 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 492 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 493 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 494 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 495 | ); 496 | name = Libraries; 497 | sourceTree = ""; 498 | }; 499 | 832341B11AAA6A8300B99B32 /* Products */ = { 500 | isa = PBXGroup; 501 | children = ( 502 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 503 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 504 | ); 505 | name = Products; 506 | sourceTree = ""; 507 | }; 508 | 83CBB9F61A601CBA00E9B192 = { 509 | isa = PBXGroup; 510 | children = ( 511 | 1F5BBBC11FE105A300ED7ED5 /* Fonts */, 512 | 13B07FAE1A68108700A75B9A /* ReactNativeWeb */, 513 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 514 | 00E356EF1AD99517003FC87E /* ReactNativeWebTests */, 515 | 83CBBA001A601CBA00E9B192 /* Products */, 516 | ); 517 | indentWidth = 2; 518 | sourceTree = ""; 519 | tabWidth = 2; 520 | usesTabs = 0; 521 | }; 522 | 83CBBA001A601CBA00E9B192 /* Products */ = { 523 | isa = PBXGroup; 524 | children = ( 525 | 13B07F961A680F5B00A75B9A /* ReactNativeWeb.app */, 526 | 00E356EE1AD99517003FC87E /* ReactNativeWebTests.xctest */, 527 | 2D02E47B1E0B4A5D006451C7 /* ReactNativeWeb-tvOS.app */, 528 | 2D02E4901E0B4A5D006451C7 /* ReactNativeWeb-tvOSTests.xctest */, 529 | ); 530 | name = Products; 531 | sourceTree = ""; 532 | }; 533 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 534 | isa = PBXGroup; 535 | children = ( 536 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 537 | 1F5BBBC81FE105A400ED7ED5 /* libRCTBlob-tvOS.a */, 538 | ); 539 | name = Products; 540 | sourceTree = ""; 541 | }; 542 | /* End PBXGroup section */ 543 | 544 | /* Begin PBXNativeTarget section */ 545 | 00E356ED1AD99517003FC87E /* ReactNativeWebTests */ = { 546 | isa = PBXNativeTarget; 547 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReactNativeWebTests" */; 548 | buildPhases = ( 549 | 00E356EA1AD99517003FC87E /* Sources */, 550 | 00E356EB1AD99517003FC87E /* Frameworks */, 551 | 00E356EC1AD99517003FC87E /* Resources */, 552 | ); 553 | buildRules = ( 554 | ); 555 | dependencies = ( 556 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 557 | ); 558 | name = ReactNativeWebTests; 559 | productName = ReactNativeWebTests; 560 | productReference = 00E356EE1AD99517003FC87E /* ReactNativeWebTests.xctest */; 561 | productType = "com.apple.product-type.bundle.unit-test"; 562 | }; 563 | 13B07F861A680F5B00A75B9A /* ReactNativeWeb */ = { 564 | isa = PBXNativeTarget; 565 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeWeb" */; 566 | buildPhases = ( 567 | 13B07F871A680F5B00A75B9A /* Sources */, 568 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 569 | 13B07F8E1A680F5B00A75B9A /* Resources */, 570 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 571 | ); 572 | buildRules = ( 573 | ); 574 | dependencies = ( 575 | ); 576 | name = ReactNativeWeb; 577 | productName = "Hello World"; 578 | productReference = 13B07F961A680F5B00A75B9A /* ReactNativeWeb.app */; 579 | productType = "com.apple.product-type.application"; 580 | }; 581 | 2D02E47A1E0B4A5D006451C7 /* ReactNativeWeb-tvOS */ = { 582 | isa = PBXNativeTarget; 583 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeWeb-tvOS" */; 584 | buildPhases = ( 585 | 2D02E4771E0B4A5D006451C7 /* Sources */, 586 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 587 | 2D02E4791E0B4A5D006451C7 /* Resources */, 588 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 589 | ); 590 | buildRules = ( 591 | ); 592 | dependencies = ( 593 | ); 594 | name = "ReactNativeWeb-tvOS"; 595 | productName = "ReactNativeWeb-tvOS"; 596 | productReference = 2D02E47B1E0B4A5D006451C7 /* ReactNativeWeb-tvOS.app */; 597 | productType = "com.apple.product-type.application"; 598 | }; 599 | 2D02E48F1E0B4A5D006451C7 /* ReactNativeWeb-tvOSTests */ = { 600 | isa = PBXNativeTarget; 601 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeWeb-tvOSTests" */; 602 | buildPhases = ( 603 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 604 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 605 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 606 | ); 607 | buildRules = ( 608 | ); 609 | dependencies = ( 610 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 611 | ); 612 | name = "ReactNativeWeb-tvOSTests"; 613 | productName = "ReactNativeWeb-tvOSTests"; 614 | productReference = 2D02E4901E0B4A5D006451C7 /* ReactNativeWeb-tvOSTests.xctest */; 615 | productType = "com.apple.product-type.bundle.unit-test"; 616 | }; 617 | /* End PBXNativeTarget section */ 618 | 619 | /* Begin PBXProject section */ 620 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 621 | isa = PBXProject; 622 | attributes = { 623 | LastUpgradeCheck = 0610; 624 | ORGANIZATIONNAME = Facebook; 625 | TargetAttributes = { 626 | 00E356ED1AD99517003FC87E = { 627 | CreatedOnToolsVersion = 6.2; 628 | TestTargetID = 13B07F861A680F5B00A75B9A; 629 | }; 630 | 2D02E47A1E0B4A5D006451C7 = { 631 | CreatedOnToolsVersion = 8.2.1; 632 | ProvisioningStyle = Automatic; 633 | }; 634 | 2D02E48F1E0B4A5D006451C7 = { 635 | CreatedOnToolsVersion = 8.2.1; 636 | ProvisioningStyle = Automatic; 637 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 638 | }; 639 | }; 640 | }; 641 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ReactNativeWeb" */; 642 | compatibilityVersion = "Xcode 3.2"; 643 | developmentRegion = English; 644 | hasScannedForEncodings = 0; 645 | knownRegions = ( 646 | en, 647 | Base, 648 | ); 649 | mainGroup = 83CBB9F61A601CBA00E9B192; 650 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 651 | projectDirPath = ""; 652 | projectReferences = ( 653 | { 654 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 655 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 656 | }, 657 | { 658 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 659 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 660 | }, 661 | { 662 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 663 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 664 | }, 665 | { 666 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 667 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 668 | }, 669 | { 670 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 671 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 672 | }, 673 | { 674 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 675 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 676 | }, 677 | { 678 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 679 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 680 | }, 681 | { 682 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 683 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 684 | }, 685 | { 686 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 687 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 688 | }, 689 | { 690 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 691 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 692 | }, 693 | { 694 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 695 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 696 | }, 697 | { 698 | ProductGroup = 146834001AC3E56700842450 /* Products */; 699 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 700 | }, 701 | ); 702 | projectRoot = ""; 703 | targets = ( 704 | 13B07F861A680F5B00A75B9A /* ReactNativeWeb */, 705 | 00E356ED1AD99517003FC87E /* ReactNativeWebTests */, 706 | 2D02E47A1E0B4A5D006451C7 /* ReactNativeWeb-tvOS */, 707 | 2D02E48F1E0B4A5D006451C7 /* ReactNativeWeb-tvOSTests */, 708 | ); 709 | }; 710 | /* End PBXProject section */ 711 | 712 | /* Begin PBXReferenceProxy section */ 713 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 714 | isa = PBXReferenceProxy; 715 | fileType = archive.ar; 716 | path = libRCTActionSheet.a; 717 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 718 | sourceTree = BUILT_PRODUCTS_DIR; 719 | }; 720 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 721 | isa = PBXReferenceProxy; 722 | fileType = archive.ar; 723 | path = libRCTGeolocation.a; 724 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 725 | sourceTree = BUILT_PRODUCTS_DIR; 726 | }; 727 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 728 | isa = PBXReferenceProxy; 729 | fileType = archive.ar; 730 | path = libRCTImage.a; 731 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 732 | sourceTree = BUILT_PRODUCTS_DIR; 733 | }; 734 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 735 | isa = PBXReferenceProxy; 736 | fileType = archive.ar; 737 | path = libRCTNetwork.a; 738 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 739 | sourceTree = BUILT_PRODUCTS_DIR; 740 | }; 741 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 742 | isa = PBXReferenceProxy; 743 | fileType = archive.ar; 744 | path = libRCTVibration.a; 745 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 746 | sourceTree = BUILT_PRODUCTS_DIR; 747 | }; 748 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 749 | isa = PBXReferenceProxy; 750 | fileType = archive.ar; 751 | path = libRCTSettings.a; 752 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 753 | sourceTree = BUILT_PRODUCTS_DIR; 754 | }; 755 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 756 | isa = PBXReferenceProxy; 757 | fileType = archive.ar; 758 | path = libRCTWebSocket.a; 759 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 760 | sourceTree = BUILT_PRODUCTS_DIR; 761 | }; 762 | 146834041AC3E56700842450 /* libReact.a */ = { 763 | isa = PBXReferenceProxy; 764 | fileType = archive.ar; 765 | path = libReact.a; 766 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 767 | sourceTree = BUILT_PRODUCTS_DIR; 768 | }; 769 | 1F5BBBC81FE105A400ED7ED5 /* libRCTBlob-tvOS.a */ = { 770 | isa = PBXReferenceProxy; 771 | fileType = archive.ar; 772 | path = "libRCTBlob-tvOS.a"; 773 | remoteRef = 1F5BBBC71FE105A400ED7ED5 /* PBXContainerItemProxy */; 774 | sourceTree = BUILT_PRODUCTS_DIR; 775 | }; 776 | 1F5BBBDA1FE105A400ED7ED5 /* libfishhook.a */ = { 777 | isa = PBXReferenceProxy; 778 | fileType = archive.ar; 779 | path = libfishhook.a; 780 | remoteRef = 1F5BBBD91FE105A400ED7ED5 /* PBXContainerItemProxy */; 781 | sourceTree = BUILT_PRODUCTS_DIR; 782 | }; 783 | 1F5BBBDC1FE105A400ED7ED5 /* libfishhook-tvOS.a */ = { 784 | isa = PBXReferenceProxy; 785 | fileType = archive.ar; 786 | path = "libfishhook-tvOS.a"; 787 | remoteRef = 1F5BBBDB1FE105A400ED7ED5 /* PBXContainerItemProxy */; 788 | sourceTree = BUILT_PRODUCTS_DIR; 789 | }; 790 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 791 | isa = PBXReferenceProxy; 792 | fileType = archive.ar; 793 | path = "libRCTImage-tvOS.a"; 794 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 795 | sourceTree = BUILT_PRODUCTS_DIR; 796 | }; 797 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 798 | isa = PBXReferenceProxy; 799 | fileType = archive.ar; 800 | path = "libRCTLinking-tvOS.a"; 801 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 802 | sourceTree = BUILT_PRODUCTS_DIR; 803 | }; 804 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 805 | isa = PBXReferenceProxy; 806 | fileType = archive.ar; 807 | path = "libRCTNetwork-tvOS.a"; 808 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 809 | sourceTree = BUILT_PRODUCTS_DIR; 810 | }; 811 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 812 | isa = PBXReferenceProxy; 813 | fileType = archive.ar; 814 | path = "libRCTSettings-tvOS.a"; 815 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 816 | sourceTree = BUILT_PRODUCTS_DIR; 817 | }; 818 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 819 | isa = PBXReferenceProxy; 820 | fileType = archive.ar; 821 | path = "libRCTText-tvOS.a"; 822 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 823 | sourceTree = BUILT_PRODUCTS_DIR; 824 | }; 825 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 826 | isa = PBXReferenceProxy; 827 | fileType = archive.ar; 828 | path = "libRCTWebSocket-tvOS.a"; 829 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 830 | sourceTree = BUILT_PRODUCTS_DIR; 831 | }; 832 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */ = { 833 | isa = PBXReferenceProxy; 834 | fileType = archive.ar; 835 | path = "libReact-tvOS.a"; 836 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 837 | sourceTree = BUILT_PRODUCTS_DIR; 838 | }; 839 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 840 | isa = PBXReferenceProxy; 841 | fileType = archive.ar; 842 | path = libyoga.a; 843 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 844 | sourceTree = BUILT_PRODUCTS_DIR; 845 | }; 846 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 847 | isa = PBXReferenceProxy; 848 | fileType = archive.ar; 849 | path = libyoga.a; 850 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 851 | sourceTree = BUILT_PRODUCTS_DIR; 852 | }; 853 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 854 | isa = PBXReferenceProxy; 855 | fileType = archive.ar; 856 | path = libcxxreact.a; 857 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 858 | sourceTree = BUILT_PRODUCTS_DIR; 859 | }; 860 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 861 | isa = PBXReferenceProxy; 862 | fileType = archive.ar; 863 | path = libcxxreact.a; 864 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 865 | sourceTree = BUILT_PRODUCTS_DIR; 866 | }; 867 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 868 | isa = PBXReferenceProxy; 869 | fileType = archive.ar; 870 | path = libjschelpers.a; 871 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 872 | sourceTree = BUILT_PRODUCTS_DIR; 873 | }; 874 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 875 | isa = PBXReferenceProxy; 876 | fileType = archive.ar; 877 | path = libjschelpers.a; 878 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 879 | sourceTree = BUILT_PRODUCTS_DIR; 880 | }; 881 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 882 | isa = PBXReferenceProxy; 883 | fileType = archive.ar; 884 | path = libRCTAnimation.a; 885 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 886 | sourceTree = BUILT_PRODUCTS_DIR; 887 | }; 888 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 889 | isa = PBXReferenceProxy; 890 | fileType = archive.ar; 891 | path = libRCTAnimation.a; 892 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 893 | sourceTree = BUILT_PRODUCTS_DIR; 894 | }; 895 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 896 | isa = PBXReferenceProxy; 897 | fileType = archive.ar; 898 | path = libRCTLinking.a; 899 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 900 | sourceTree = BUILT_PRODUCTS_DIR; 901 | }; 902 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 903 | isa = PBXReferenceProxy; 904 | fileType = archive.ar; 905 | path = libRCTText.a; 906 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 907 | sourceTree = BUILT_PRODUCTS_DIR; 908 | }; 909 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 910 | isa = PBXReferenceProxy; 911 | fileType = archive.ar; 912 | path = libRCTBlob.a; 913 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 914 | sourceTree = BUILT_PRODUCTS_DIR; 915 | }; 916 | /* End PBXReferenceProxy section */ 917 | 918 | /* Begin PBXResourcesBuildPhase section */ 919 | 00E356EC1AD99517003FC87E /* Resources */ = { 920 | isa = PBXResourcesBuildPhase; 921 | buildActionMask = 2147483647; 922 | files = ( 923 | ); 924 | runOnlyForDeploymentPostprocessing = 0; 925 | }; 926 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 927 | isa = PBXResourcesBuildPhase; 928 | buildActionMask = 2147483647; 929 | files = ( 930 | 1F5BBBDE1FE105BB00ED7ED5 /* anticon.ttf in Resources */, 931 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 932 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 933 | ); 934 | runOnlyForDeploymentPostprocessing = 0; 935 | }; 936 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 937 | isa = PBXResourcesBuildPhase; 938 | buildActionMask = 2147483647; 939 | files = ( 940 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 941 | ); 942 | runOnlyForDeploymentPostprocessing = 0; 943 | }; 944 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 945 | isa = PBXResourcesBuildPhase; 946 | buildActionMask = 2147483647; 947 | files = ( 948 | ); 949 | runOnlyForDeploymentPostprocessing = 0; 950 | }; 951 | /* End PBXResourcesBuildPhase section */ 952 | 953 | /* Begin PBXShellScriptBuildPhase section */ 954 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 955 | isa = PBXShellScriptBuildPhase; 956 | buildActionMask = 2147483647; 957 | files = ( 958 | ); 959 | inputPaths = ( 960 | ); 961 | name = "Bundle React Native code and images"; 962 | outputPaths = ( 963 | ); 964 | runOnlyForDeploymentPostprocessing = 0; 965 | shellPath = /bin/sh; 966 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 967 | }; 968 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 969 | isa = PBXShellScriptBuildPhase; 970 | buildActionMask = 2147483647; 971 | files = ( 972 | ); 973 | inputPaths = ( 974 | ); 975 | name = "Bundle React Native Code And Images"; 976 | outputPaths = ( 977 | ); 978 | runOnlyForDeploymentPostprocessing = 0; 979 | shellPath = /bin/sh; 980 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 981 | }; 982 | /* End PBXShellScriptBuildPhase section */ 983 | 984 | /* Begin PBXSourcesBuildPhase section */ 985 | 00E356EA1AD99517003FC87E /* Sources */ = { 986 | isa = PBXSourcesBuildPhase; 987 | buildActionMask = 2147483647; 988 | files = ( 989 | 00E356F31AD99517003FC87E /* ReactNativeWebTests.m in Sources */, 990 | ); 991 | runOnlyForDeploymentPostprocessing = 0; 992 | }; 993 | 13B07F871A680F5B00A75B9A /* Sources */ = { 994 | isa = PBXSourcesBuildPhase; 995 | buildActionMask = 2147483647; 996 | files = ( 997 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 998 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 999 | ); 1000 | runOnlyForDeploymentPostprocessing = 0; 1001 | }; 1002 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1003 | isa = PBXSourcesBuildPhase; 1004 | buildActionMask = 2147483647; 1005 | files = ( 1006 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1007 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1008 | ); 1009 | runOnlyForDeploymentPostprocessing = 0; 1010 | }; 1011 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1012 | isa = PBXSourcesBuildPhase; 1013 | buildActionMask = 2147483647; 1014 | files = ( 1015 | 2DCD954D1E0B4F2C00145EB5 /* ReactNativeWebTests.m in Sources */, 1016 | ); 1017 | runOnlyForDeploymentPostprocessing = 0; 1018 | }; 1019 | /* End PBXSourcesBuildPhase section */ 1020 | 1021 | /* Begin PBXTargetDependency section */ 1022 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1023 | isa = PBXTargetDependency; 1024 | target = 13B07F861A680F5B00A75B9A /* ReactNativeWeb */; 1025 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1026 | }; 1027 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1028 | isa = PBXTargetDependency; 1029 | target = 2D02E47A1E0B4A5D006451C7 /* ReactNativeWeb-tvOS */; 1030 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1031 | }; 1032 | /* End PBXTargetDependency section */ 1033 | 1034 | /* Begin PBXVariantGroup section */ 1035 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1036 | isa = PBXVariantGroup; 1037 | children = ( 1038 | 13B07FB21A68108700A75B9A /* Base */, 1039 | ); 1040 | name = LaunchScreen.xib; 1041 | path = ReactNativeWeb; 1042 | sourceTree = ""; 1043 | }; 1044 | /* End PBXVariantGroup section */ 1045 | 1046 | /* Begin XCBuildConfiguration section */ 1047 | 00E356F61AD99517003FC87E /* Debug */ = { 1048 | isa = XCBuildConfiguration; 1049 | buildSettings = { 1050 | BUNDLE_LOADER = "$(TEST_HOST)"; 1051 | GCC_PREPROCESSOR_DEFINITIONS = ( 1052 | "DEBUG=1", 1053 | "$(inherited)", 1054 | ); 1055 | INFOPLIST_FILE = ReactNativeWebTests/Info.plist; 1056 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1057 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1058 | OTHER_LDFLAGS = ( 1059 | "-ObjC", 1060 | "-lc++", 1061 | ); 1062 | PRODUCT_NAME = "$(TARGET_NAME)"; 1063 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeWeb.app/ReactNativeWeb"; 1064 | }; 1065 | name = Debug; 1066 | }; 1067 | 00E356F71AD99517003FC87E /* Release */ = { 1068 | isa = XCBuildConfiguration; 1069 | buildSettings = { 1070 | BUNDLE_LOADER = "$(TEST_HOST)"; 1071 | COPY_PHASE_STRIP = NO; 1072 | INFOPLIST_FILE = ReactNativeWebTests/Info.plist; 1073 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1074 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1075 | OTHER_LDFLAGS = ( 1076 | "-ObjC", 1077 | "-lc++", 1078 | ); 1079 | PRODUCT_NAME = "$(TARGET_NAME)"; 1080 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeWeb.app/ReactNativeWeb"; 1081 | }; 1082 | name = Release; 1083 | }; 1084 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1085 | isa = XCBuildConfiguration; 1086 | buildSettings = { 1087 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1088 | CURRENT_PROJECT_VERSION = 1; 1089 | DEAD_CODE_STRIPPING = NO; 1090 | INFOPLIST_FILE = ReactNativeWeb/Info.plist; 1091 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1092 | OTHER_LDFLAGS = ( 1093 | "$(inherited)", 1094 | "-ObjC", 1095 | "-lc++", 1096 | ); 1097 | PRODUCT_NAME = ReactNativeWeb; 1098 | VERSIONING_SYSTEM = "apple-generic"; 1099 | }; 1100 | name = Debug; 1101 | }; 1102 | 13B07F951A680F5B00A75B9A /* Release */ = { 1103 | isa = XCBuildConfiguration; 1104 | buildSettings = { 1105 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1106 | CURRENT_PROJECT_VERSION = 1; 1107 | INFOPLIST_FILE = ReactNativeWeb/Info.plist; 1108 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1109 | OTHER_LDFLAGS = ( 1110 | "$(inherited)", 1111 | "-ObjC", 1112 | "-lc++", 1113 | ); 1114 | PRODUCT_NAME = ReactNativeWeb; 1115 | VERSIONING_SYSTEM = "apple-generic"; 1116 | }; 1117 | name = Release; 1118 | }; 1119 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1120 | isa = XCBuildConfiguration; 1121 | buildSettings = { 1122 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1123 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1124 | CLANG_ANALYZER_NONNULL = YES; 1125 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1126 | CLANG_WARN_INFINITE_RECURSION = YES; 1127 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1128 | DEBUG_INFORMATION_FORMAT = dwarf; 1129 | ENABLE_TESTABILITY = YES; 1130 | GCC_NO_COMMON_BLOCKS = YES; 1131 | INFOPLIST_FILE = "ReactNativeWeb-tvOS/Info.plist"; 1132 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1133 | OTHER_LDFLAGS = ( 1134 | "-ObjC", 1135 | "-lc++", 1136 | ); 1137 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeWeb-tvOS"; 1138 | PRODUCT_NAME = "$(TARGET_NAME)"; 1139 | SDKROOT = appletvos; 1140 | TARGETED_DEVICE_FAMILY = 3; 1141 | TVOS_DEPLOYMENT_TARGET = 9.2; 1142 | }; 1143 | name = Debug; 1144 | }; 1145 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1146 | isa = XCBuildConfiguration; 1147 | buildSettings = { 1148 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1149 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1150 | CLANG_ANALYZER_NONNULL = YES; 1151 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1152 | CLANG_WARN_INFINITE_RECURSION = YES; 1153 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1154 | COPY_PHASE_STRIP = NO; 1155 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1156 | GCC_NO_COMMON_BLOCKS = YES; 1157 | INFOPLIST_FILE = "ReactNativeWeb-tvOS/Info.plist"; 1158 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1159 | OTHER_LDFLAGS = ( 1160 | "-ObjC", 1161 | "-lc++", 1162 | ); 1163 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeWeb-tvOS"; 1164 | PRODUCT_NAME = "$(TARGET_NAME)"; 1165 | SDKROOT = appletvos; 1166 | TARGETED_DEVICE_FAMILY = 3; 1167 | TVOS_DEPLOYMENT_TARGET = 9.2; 1168 | }; 1169 | name = Release; 1170 | }; 1171 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1172 | isa = XCBuildConfiguration; 1173 | buildSettings = { 1174 | BUNDLE_LOADER = "$(TEST_HOST)"; 1175 | CLANG_ANALYZER_NONNULL = YES; 1176 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1177 | CLANG_WARN_INFINITE_RECURSION = YES; 1178 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1179 | DEBUG_INFORMATION_FORMAT = dwarf; 1180 | ENABLE_TESTABILITY = YES; 1181 | GCC_NO_COMMON_BLOCKS = YES; 1182 | INFOPLIST_FILE = "ReactNativeWeb-tvOSTests/Info.plist"; 1183 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1184 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeWeb-tvOSTests"; 1185 | PRODUCT_NAME = "$(TARGET_NAME)"; 1186 | SDKROOT = appletvos; 1187 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeWeb-tvOS.app/ReactNativeWeb-tvOS"; 1188 | TVOS_DEPLOYMENT_TARGET = 10.1; 1189 | }; 1190 | name = Debug; 1191 | }; 1192 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1193 | isa = XCBuildConfiguration; 1194 | buildSettings = { 1195 | BUNDLE_LOADER = "$(TEST_HOST)"; 1196 | CLANG_ANALYZER_NONNULL = YES; 1197 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1198 | CLANG_WARN_INFINITE_RECURSION = YES; 1199 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1200 | COPY_PHASE_STRIP = NO; 1201 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1202 | GCC_NO_COMMON_BLOCKS = YES; 1203 | INFOPLIST_FILE = "ReactNativeWeb-tvOSTests/Info.plist"; 1204 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1205 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeWeb-tvOSTests"; 1206 | PRODUCT_NAME = "$(TARGET_NAME)"; 1207 | SDKROOT = appletvos; 1208 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeWeb-tvOS.app/ReactNativeWeb-tvOS"; 1209 | TVOS_DEPLOYMENT_TARGET = 10.1; 1210 | }; 1211 | name = Release; 1212 | }; 1213 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1214 | isa = XCBuildConfiguration; 1215 | buildSettings = { 1216 | ALWAYS_SEARCH_USER_PATHS = NO; 1217 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1218 | CLANG_CXX_LIBRARY = "libc++"; 1219 | CLANG_ENABLE_MODULES = YES; 1220 | CLANG_ENABLE_OBJC_ARC = YES; 1221 | CLANG_WARN_BOOL_CONVERSION = YES; 1222 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1223 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1224 | CLANG_WARN_EMPTY_BODY = YES; 1225 | CLANG_WARN_ENUM_CONVERSION = YES; 1226 | CLANG_WARN_INT_CONVERSION = YES; 1227 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1228 | CLANG_WARN_UNREACHABLE_CODE = YES; 1229 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1230 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1231 | COPY_PHASE_STRIP = NO; 1232 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1233 | GCC_C_LANGUAGE_STANDARD = gnu99; 1234 | GCC_DYNAMIC_NO_PIC = NO; 1235 | GCC_OPTIMIZATION_LEVEL = 0; 1236 | GCC_PREPROCESSOR_DEFINITIONS = ( 1237 | "DEBUG=1", 1238 | "$(inherited)", 1239 | ); 1240 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1241 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1242 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1243 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1244 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1245 | GCC_WARN_UNUSED_FUNCTION = YES; 1246 | GCC_WARN_UNUSED_VARIABLE = YES; 1247 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1248 | MTL_ENABLE_DEBUG_INFO = YES; 1249 | ONLY_ACTIVE_ARCH = YES; 1250 | SDKROOT = iphoneos; 1251 | }; 1252 | name = Debug; 1253 | }; 1254 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1255 | isa = XCBuildConfiguration; 1256 | buildSettings = { 1257 | ALWAYS_SEARCH_USER_PATHS = NO; 1258 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1259 | CLANG_CXX_LIBRARY = "libc++"; 1260 | CLANG_ENABLE_MODULES = YES; 1261 | CLANG_ENABLE_OBJC_ARC = YES; 1262 | CLANG_WARN_BOOL_CONVERSION = YES; 1263 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1264 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1265 | CLANG_WARN_EMPTY_BODY = YES; 1266 | CLANG_WARN_ENUM_CONVERSION = YES; 1267 | CLANG_WARN_INT_CONVERSION = YES; 1268 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1269 | CLANG_WARN_UNREACHABLE_CODE = YES; 1270 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1271 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1272 | COPY_PHASE_STRIP = YES; 1273 | ENABLE_NS_ASSERTIONS = NO; 1274 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1275 | GCC_C_LANGUAGE_STANDARD = gnu99; 1276 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1277 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1278 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1279 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1280 | GCC_WARN_UNUSED_FUNCTION = YES; 1281 | GCC_WARN_UNUSED_VARIABLE = YES; 1282 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1283 | MTL_ENABLE_DEBUG_INFO = NO; 1284 | SDKROOT = iphoneos; 1285 | VALIDATE_PRODUCT = YES; 1286 | }; 1287 | name = Release; 1288 | }; 1289 | /* End XCBuildConfiguration section */ 1290 | 1291 | /* Begin XCConfigurationList section */ 1292 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReactNativeWebTests" */ = { 1293 | isa = XCConfigurationList; 1294 | buildConfigurations = ( 1295 | 00E356F61AD99517003FC87E /* Debug */, 1296 | 00E356F71AD99517003FC87E /* Release */, 1297 | ); 1298 | defaultConfigurationIsVisible = 0; 1299 | defaultConfigurationName = Release; 1300 | }; 1301 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeWeb" */ = { 1302 | isa = XCConfigurationList; 1303 | buildConfigurations = ( 1304 | 13B07F941A680F5B00A75B9A /* Debug */, 1305 | 13B07F951A680F5B00A75B9A /* Release */, 1306 | ); 1307 | defaultConfigurationIsVisible = 0; 1308 | defaultConfigurationName = Release; 1309 | }; 1310 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeWeb-tvOS" */ = { 1311 | isa = XCConfigurationList; 1312 | buildConfigurations = ( 1313 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1314 | 2D02E4981E0B4A5E006451C7 /* Release */, 1315 | ); 1316 | defaultConfigurationIsVisible = 0; 1317 | defaultConfigurationName = Release; 1318 | }; 1319 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeWeb-tvOSTests" */ = { 1320 | isa = XCConfigurationList; 1321 | buildConfigurations = ( 1322 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1323 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1324 | ); 1325 | defaultConfigurationIsVisible = 0; 1326 | defaultConfigurationName = Release; 1327 | }; 1328 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ReactNativeWeb" */ = { 1329 | isa = XCConfigurationList; 1330 | buildConfigurations = ( 1331 | 83CBBA201A601CBA00E9B192 /* Debug */, 1332 | 83CBBA211A601CBA00E9B192 /* Release */, 1333 | ); 1334 | defaultConfigurationIsVisible = 0; 1335 | defaultConfigurationName = Release; 1336 | }; 1337 | /* End XCConfigurationList section */ 1338 | }; 1339 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1340 | } 1341 | --------------------------------------------------------------------------------