├── .watchmanconfig ├── .gitattributes ├── .babelrc ├── app.json ├── js ├── imgs │ └── icons │ │ ├── bg.png │ │ ├── back.png │ │ ├── left.png │ │ ├── right.png │ │ ├── side.png │ │ ├── user.png │ │ ├── prompt.png │ │ ├── complete.png │ │ ├── executing.png │ │ ├── passicon.png │ │ └── uncomplete.png ├── reducers │ ├── index.js │ └── user.js ├── actions │ ├── types.js │ └── user.js ├── index.js ├── configs │ ├── sceneConfig.js │ └── router.js ├── store │ └── index.js ├── styles │ ├── common.js │ └── login.js ├── root.js └── pages │ ├── main.js │ └── login.js ├── screenshots └── demo.gif ├── android ├── app │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ └── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── java │ │ │ └── com │ │ │ │ └── redux │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── AndroidManifest.xml │ ├── proguard-rules.pro │ ├── BUCK │ └── build.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── keystores │ ├── debug.keystore.properties │ └── BUCK ├── settings.gradle ├── gradle.properties ├── build.gradle ├── gradlew.bat └── gradlew ├── ios ├── Redux │ ├── Images.xcassets │ │ ├── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── AppDelegate.h │ ├── main.m │ ├── AppDelegate.m │ ├── Info.plist │ └── Base.lproj │ │ └── LaunchScreen.xib ├── ReduxTests │ ├── Info.plist │ └── ReduxTests.m ├── Redux-tvOSTests │ └── Info.plist ├── Redux-tvOS │ └── Info.plist └── Redux.xcodeproj │ ├── xcshareddata │ └── xcschemes │ │ ├── Redux.xcscheme │ │ └── Redux-tvOS.xcscheme │ └── project.pbxproj ├── .buckconfig ├── index.ios.js ├── __tests__ ├── index.ios.js └── index.android.js ├── package.json ├── README.md ├── .gitignore ├── index.android.js └── .flowconfig /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Redux", 3 | "displayName": "Redux" 4 | } -------------------------------------------------------------------------------- /js/imgs/icons/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/js/imgs/icons/bg.png -------------------------------------------------------------------------------- /screenshots/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/screenshots/demo.gif -------------------------------------------------------------------------------- /js/imgs/icons/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/js/imgs/icons/back.png -------------------------------------------------------------------------------- /js/imgs/icons/left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/js/imgs/icons/left.png -------------------------------------------------------------------------------- /js/imgs/icons/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/js/imgs/icons/right.png -------------------------------------------------------------------------------- /js/imgs/icons/side.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/js/imgs/icons/side.png -------------------------------------------------------------------------------- /js/imgs/icons/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/js/imgs/icons/user.png -------------------------------------------------------------------------------- /js/imgs/icons/prompt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/js/imgs/icons/prompt.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Redux 3 | 4 | -------------------------------------------------------------------------------- /js/imgs/icons/complete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/js/imgs/icons/complete.png -------------------------------------------------------------------------------- /js/imgs/icons/executing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/js/imgs/icons/executing.png -------------------------------------------------------------------------------- /js/imgs/icons/passicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/js/imgs/icons/passicon.png -------------------------------------------------------------------------------- /js/imgs/icons/uncomplete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/js/imgs/icons/uncomplete.png -------------------------------------------------------------------------------- /ios/Redux/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /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-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/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/ninty90/react-native-redux-demo/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/ninty90/react-native-redux-demo/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /js/reducers/index.js: -------------------------------------------------------------------------------- 1 | 2 | import { combineReducers } from 'redux'; 3 | import userReducer from './user'; 4 | 5 | export default combineReducers({ 6 | userStore: userReducer, 7 | }); 8 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninty90/react-native-redux-demo/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /js/actions/types.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // for user 4 | export const LOGGED_IN = 'LOGGED_IN'; 5 | export const LOGGED_OUT = 'LOGGED_OUT'; 6 | export const LOGGED_ERROR = 'LOGGED_ERROR'; 7 | export const LOGGED_DOING = 'LOGGED_DOING'; 8 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'Redux' 2 | include ':react-native-spinkit' 3 | project(':react-native-spinkit').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-spinkit/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Jul 26 01:06:51 CST 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip 7 | -------------------------------------------------------------------------------- /index.ios.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | * @flow 5 | */ 6 | 7 | import { 8 | AppRegistry, 9 | } from 'react-native'; 10 | 11 | import App from './js/index'; 12 | 13 | 14 | AppRegistry.registerComponent('Redux', () => App); 15 | -------------------------------------------------------------------------------- /__tests__/index.ios.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.ios.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /__tests__/index.android.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.android.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /ios/Redux/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | @interface AppDelegate : UIResponder 11 | 12 | @property (nonatomic, strong) UIWindow *window; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /ios/Redux/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/redux/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.redux; 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 "Redux"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /js/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import React, { Component } from 'react'; 4 | import { Provider } from 'react-redux'; 5 | 6 | import configureStore from './store/index'; 7 | 8 | let store = configureStore(); 9 | 10 | import Root from './root'; 11 | 12 | 13 | export default class App extends Component{ 14 | constructor(){ 15 | super(); 16 | this.state = { 17 | isLoading: true, 18 | store: configureStore(()=>{this.setState({isLoading: false})}) 19 | } 20 | } 21 | render(){ 22 | if(this.state.isLoading){ 23 | console.log('loading app'); 24 | return null; 25 | } 26 | return ( 27 | 28 | 29 | 30 | ) 31 | } 32 | } 33 | 34 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /ios/ReduxTests/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 | -------------------------------------------------------------------------------- /ios/Redux-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /js/reducers/user.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import * as TYPES from '../actions/types'; 4 | 5 | const initialState = { 6 | isLoggedIn: false, 7 | user: {}, 8 | status: null, 9 | }; 10 | 11 | export default function user(state=initialState, action){ 12 | 13 | switch(action.type){ 14 | case TYPES.LOGGED_DOING: 15 | return { 16 | ...state, 17 | status: 'doing' 18 | }; 19 | 20 | case TYPES.LOGGED_IN: 21 | return { 22 | ...state, 23 | isLoggedIn: true, 24 | user: action.user, 25 | status: 'done' 26 | }; 27 | 28 | case TYPES.LOGGED_OUT: 29 | return { 30 | ...state, 31 | isLoggedIn: false, 32 | user: {}, 33 | status: null 34 | }; 35 | case TYPES.LOGGED_ERROR: 36 | return { 37 | ...state, 38 | isLoggedIn: false, 39 | user: {}, 40 | status: 'error' 41 | } 42 | 43 | default: 44 | return state; 45 | } 46 | 47 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Redux", 3 | "version": "1.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "dependencies": { 10 | "react": "16.4.1", 11 | "react-native": "0.56.0", 12 | "react-native-deprecated-custom-components": "^0.1.2", 13 | "react-native-modalbox": "1.6.0", 14 | "react-native-navbar": "2.1.0", 15 | "react-native-spinkit": "1.1.0", 16 | "react-navigation": "^2.9.0", 17 | "react-redux": "^5.0.7", 18 | "redux": "^4.0.0", 19 | "redux-persist": "4.4.0", 20 | "redux-thunk": "2.2.0" 21 | }, 22 | "devDependencies": { 23 | "babel-jest": "23.4.0", 24 | "babel-preset-react-native": "^5", 25 | "jest": "23.4.1", 26 | "react-test-renderer": "16.4.1" 27 | }, 28 | "jest": { 29 | "preset": "react-native" 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /js/configs/sceneConfig.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Dimensions } from 'react-native'; 3 | import { Navigator } from 'react-native-deprecated-custom-components'; 4 | 5 | 6 | const { width } = Dimensions.get('window'); 7 | 8 | const baseConfig = Navigator.SceneConfigs.FloatFromRight; 9 | const popGestureConfig = Object.assign({}, baseConfig.gestures.pop, { 10 | edgeHitWidth: width / 3 11 | }); 12 | 13 | 14 | const fullPopGestureConfig = Object.assign({}, Navigator.SceneConfigs.FloatFromBottom.gestures.pop, { 15 | edgeHitWidth: width 16 | }); 17 | 18 | 19 | export const customFloatFromRight = Object.assign({}, baseConfig, { 20 | gestures: { 21 | pop: popGestureConfig 22 | } 23 | }); 24 | 25 | 26 | export const customFloatFromBottom = Object.assign({}, Navigator.SceneConfigs.FloatFromBottom, { 27 | gestures: { 28 | pop: fullPopGestureConfig 29 | } 30 | }); 31 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # react-native-redux-demo 2 | 3 | This is a react-native demo using redux to manage app states. 4 | 5 | ## Support 6 | - iOS 7 | 8 | ## Articles 9 | - [在react-native中使用redux](https://www.jianshu.com/p/2c43860b0532) 10 | 11 | ## Related Apps 12 | - [React Native Tools 开发工具平台](https://itunes.apple.com/cn/app/react-native-tools-react-native%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7%E5%B9%B3%E5%8F%B0/id1147657094?mt=8) 13 | 14 | ## Installation 15 | 16 | git clone https://github.com/ninty90/react-native-redux-demo.git 17 | cd react-native-redux-demo & npm install 18 | 19 | ## Run 20 | 21 | react-native run-ios 22 | 23 | ## ScreenShot 24 | 25 | ![screenshot](https://github.com/ninty90/react-native-redux-demo/blob/master/screenshots/demo.gif) 26 | 27 | 28 | 29 | ## Some third plugins 30 | - redux 31 | - react-redux 32 | - redux-thunk 33 | - react-native-navbar 34 | - react-native-modalbox 35 | - react-native-spinkit 36 | - redux-persist 37 | 38 | 39 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.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 | android/app/libs 43 | *.keystore 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://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 51 | 52 | fastlane/report.xml 53 | fastlane/Preview.html 54 | fastlane/screenshots 55 | -------------------------------------------------------------------------------- /js/store/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | import { applyMiddleware, createStore } from 'redux'; 5 | import thunk from 'redux-thunk'; 6 | import { persistStore, autoRehydrate } from 'redux-persist'; 7 | import { AsyncStorage } from 'react-native'; 8 | import reducers from '../reducers'; 9 | 10 | const logger = store => next => action => { 11 | if(typeof action === 'function') console.log('dispatching a function'); 12 | else console.log('dispatching', action); 13 | let result = next(action); 14 | console.log('next state', store.getState()); 15 | return result; 16 | } 17 | 18 | let middlewares = [ 19 | logger, 20 | thunk 21 | ]; 22 | 23 | let createAppStore = applyMiddleware(...middlewares)(createStore); 24 | 25 | 26 | export default function configureStore(onComplete: ()=>void){ 27 | const store = autoRehydrate()(createAppStore)(reducers); 28 | let opt = { 29 | storage: AsyncStorage, 30 | transform: [], 31 | //whitelist: ['userStore'], 32 | }; 33 | persistStore(store, opt, onComplete); 34 | return store; 35 | } 36 | 37 | 38 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 13 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Redux/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } -------------------------------------------------------------------------------- /js/actions/user.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import { AlertIOS } from 'react-native'; 4 | 5 | import * as TYPES from './types'; 6 | 7 | // fake user data 8 | let testUser = { 9 | 'name': 'juju', 10 | 'age': '24', 11 | 'avatar': 'https://avatars1.githubusercontent.com/u/1439939?v=3&s=460' 12 | }; 13 | 14 | // for skip user 15 | let skipUser = { 16 | 'name': 'guest', 17 | 'age': 20, 18 | 'avatar': 'https://avatars1.githubusercontent.com/u/1439939?v=3&s=460', 19 | }; 20 | 21 | // login 22 | export function logIn(opt){ 23 | return (dispatch) => { 24 | dispatch({'type': TYPES.LOGGED_DOING}); 25 | let inner_get = fetch('http://www.baidu.com') 26 | .then((res)=>{ 27 | dispatch({'type': TYPES.LOGGED_IN, user: testUser}); 28 | }).catch((e)=>{ 29 | console.log(e); 30 | AlertIOS.alert(e.message); 31 | dispatch({'type': TYPES.LOGGED_ERROR, error: e}); 32 | }); 33 | } 34 | } 35 | 36 | 37 | 38 | // skip login 39 | export function skipLogin(){ 40 | return { 41 | 'type': TYPES.LOGGED_IN, 42 | 'user': skipUser, 43 | } 44 | } 45 | 46 | 47 | // logout 48 | export function logOut(){ 49 | return { 50 | 'type': TYPES.LOGGED_OUT 51 | } 52 | } -------------------------------------------------------------------------------- /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 | maven { 7 | url 'https://maven.google.com/' 8 | name 'Google' 9 | } 10 | google() 11 | } 12 | dependencies { 13 | classpath 'com.android.tools.build:gradle:3.1.3' 14 | 15 | // NOTE: Do not place your application dependencies here; they belong 16 | // in the individual module build.gradle files 17 | } 18 | } 19 | 20 | allprojects { 21 | repositories { 22 | // Add jitpack repository (added by react-native-spinkit) 23 | maven { url "https://jitpack.io" } 24 | mavenLocal() 25 | jcenter() 26 | maven { 27 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 28 | url "$rootDir/../node_modules/react-native/android" 29 | } 30 | maven { 31 | url 'https://maven.google.com/' 32 | name 'Google' 33 | } 34 | } 35 | } 36 | 37 | ext { 38 | buildToolsVersion = "26.0.3" 39 | minSdkVersion = 16 40 | compileSdkVersion = 26 41 | targetSdkVersion = 26 42 | supportLibVersion = "26.1.0" 43 | } 44 | -------------------------------------------------------------------------------- /index.android.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | * @flow 5 | */ 6 | 7 | import React, { Component } from 'react'; 8 | import { 9 | AppRegistry, 10 | StyleSheet, 11 | Text, 12 | View 13 | } from 'react-native'; 14 | 15 | export default class Redux extends Component { 16 | render() { 17 | return ( 18 | 19 | 20 | Welcome to React Native! 21 | 22 | 23 | To get started, edit index.android.js 24 | 25 | 26 | Double tap R on your keyboard to reload,{'\n'} 27 | Shake or press menu button for dev menu 28 | 29 | 30 | ); 31 | } 32 | } 33 | 34 | const styles = StyleSheet.create({ 35 | container: { 36 | flex: 1, 37 | justifyContent: 'center', 38 | alignItems: 'center', 39 | backgroundColor: '#F5FCFF', 40 | }, 41 | welcome: { 42 | fontSize: 20, 43 | textAlign: 'center', 44 | margin: 10, 45 | }, 46 | instructions: { 47 | textAlign: 'center', 48 | color: '#333333', 49 | marginBottom: 5, 50 | }, 51 | }); 52 | 53 | AppRegistry.registerComponent('Redux', () => Redux); 54 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/redux/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.redux; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.react.rnspinkit.RNSpinkitPackage; 7 | import com.facebook.react.ReactNativeHost; 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.react.shell.MainReactPackage; 10 | import com.facebook.soloader.SoLoader; 11 | 12 | import java.util.Arrays; 13 | import java.util.List; 14 | 15 | public class MainApplication extends Application implements ReactApplication { 16 | 17 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 18 | @Override 19 | public boolean getUseDeveloperSupport() { 20 | return BuildConfig.DEBUG; 21 | } 22 | 23 | @Override 24 | protected List getPackages() { 25 | return Arrays.asList( 26 | new MainReactPackage(), 27 | new RNSpinkitPackage() 28 | ); 29 | } 30 | 31 | @Override 32 | protected String getJSMainModuleName() { 33 | return "index"; 34 | } 35 | }; 36 | 37 | @Override 38 | public ReactNativeHost getReactNativeHost() { 39 | return mReactNativeHost; 40 | } 41 | 42 | @Override 43 | public void onCreate() { 44 | super.onCreate(); 45 | SoLoader.init(this, /* native exopackage */ false); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /js/styles/common.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | /** 3 | * @class StylesCommon 4 | * @desc 通用样式 5 | * */ 6 | 7 | import React from 'react'; 8 | import { 9 | StyleSheet, 10 | PixelRatio, 11 | Dimensions, 12 | } from 'react-native'; 13 | var cell_w = Dimensions.get('window').width; 14 | var styles = StyleSheet.create({ 15 | wrapper: { 16 | flex: 1, 17 | }, 18 | bgColor: { 19 | backgroundColor: '#F5FCFF' 20 | }, 21 | mgt5: { 22 | marginTop: 5, 23 | }, 24 | mgb5: { 25 | marginBottom: 5, 26 | }, 27 | pdt5: { 28 | paddingTop: 5, 29 | }, 30 | pdb5: { 31 | paddingBottom: 5, 32 | }, 33 | textCenter: { 34 | textAlign: 'center', 35 | flex: 1, 36 | }, 37 | textAli: { 38 | textAlign: 'right', 39 | }, 40 | navbar: { 41 | flexDirection: 'row', 42 | borderBottomColor: '#000000', 43 | borderBottomWidth: 1/PixelRatio.get(), 44 | }, 45 | justAlign: { 46 | alignItems: 'center', 47 | justifyContent: 'center', 48 | }, 49 | 50 | modal: { 51 | height: 100, 52 | width: 100, 53 | backgroundColor: 'rgba(0, 0, 0, 0.8)', 54 | }, 55 | 56 | viewList: { 57 | padding: 10, 58 | fontSize: 15, 59 | }, 60 | 61 | flexRow: { 62 | flexDirection: 'row', 63 | }, 64 | 65 | flex1: { 66 | flex: 1, 67 | } 68 | 69 | }); 70 | module.exports = styles; 71 | -------------------------------------------------------------------------------- /ios/Redux/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import "AppDelegate.h" 9 | 10 | #import 11 | #import 12 | 13 | @implementation AppDelegate 14 | 15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 16 | { 17 | NSURL *jsCodeLocation; 18 | 19 | // jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil]; 20 | jsCodeLocation = [NSURL URLWithString:@"http://127.0.0.1:8081/index.ios.bundle?platform=ios&dev=true"]; 21 | 22 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 23 | moduleName:@"Redux" 24 | initialProperties:nil 25 | launchOptions:launchOptions]; 26 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 27 | 28 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 29 | UIViewController *rootViewController = [UIViewController new]; 30 | rootViewController.view = rootView; 31 | self.window.rootViewController = rootViewController; 32 | [self.window makeKeyAndVisible]; 33 | return YES; 34 | } 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | .*/Libraries/react-native/ReactNative.js 16 | 17 | [include] 18 | 19 | [libs] 20 | node_modules/react-native/Libraries/react-native/react-native-interface.js 21 | node_modules/react-native/flow 22 | flow/ 23 | 24 | [options] 25 | module.system=haste 26 | 27 | experimental.strict_type_args=true 28 | 29 | munge_underscores=true 30 | 31 | 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' 32 | 33 | suppress_type=$FlowIssue 34 | suppress_type=$FlowFixMe 35 | suppress_type=$FixMe 36 | 37 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-7]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 38 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-7]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 39 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 40 | 41 | unsafe.enable_getters_and_setters=true 42 | 43 | [version] 44 | ^0.37.0 45 | -------------------------------------------------------------------------------- /js/configs/router.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | import React from 'react'; 3 | import LoginPage from '../pages/login'; 4 | import MainPage from '../pages/main'; 5 | 6 | 7 | // Config 8 | const sceneConfig = require('./sceneConfig') 9 | 10 | const customFloatFromRight = sceneConfig.customFloatFromRight; 11 | 12 | 13 | class Router { 14 | constructor(navigator) { 15 | this.navigator = navigator 16 | } 17 | 18 | push(props, route) { 19 | let routesList = this.navigator.getCurrentRoutes() 20 | let nextIndex = routesList[routesList.length - 1].index + 1 21 | route.props = props 22 | route.index = nextIndex 23 | this.navigator.push(route) 24 | } 25 | 26 | 27 | pop() { 28 | this.navigator.pop() 29 | } 30 | 31 | toLogin(props){ 32 | this.push(props, { 33 | page: LoginPage, 34 | name: 'login-page', 35 | sceneConfig: customFloatFromRight 36 | }) 37 | } 38 | 39 | toMain(props){ 40 | this.push(props, { 41 | page: MainPage, 42 | name: 'main-page', 43 | sceneConfig: customFloatFromRight 44 | }) 45 | } 46 | 47 | 48 | 49 | replaceWithHome() { 50 | this.navigator.popToTop() 51 | } 52 | 53 | resetToLogin(){ 54 | this.navigator.resetTo({ 55 | name: 'login-page', 56 | page: LoginPage, 57 | //sceneConfig: customFloatFromRight, 58 | }) 59 | } 60 | 61 | 62 | } 63 | 64 | module.exports = Router 65 | 66 | -------------------------------------------------------------------------------- /js/root.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { Navigator } from 'react-native-deprecated-custom-components'; 4 | import { connect } from 'react-redux'; 5 | import Router from './configs/router'; 6 | import { skipLogin, asyncSkipLogin } from './actions/user'; 7 | 8 | import LoginPage from './pages/login'; 9 | import MainPage from './pages/main'; 10 | 11 | let initialRoute = { 12 | name: 'login-page', 13 | page: LoginPage, 14 | } 15 | 16 | class Root extends Component { 17 | constructor(props){ 18 | super(props); 19 | if(props.isLoggedIn){ 20 | initialRoute = { 21 | name: 'main-page', 22 | page: MainPage 23 | } 24 | } 25 | } 26 | 27 | renderScene({page, name, id, index, props}, navigator){ 28 | this.router = this.router || new Router(navigator); 29 | if(page){ 30 | return React.createElement(page, { 31 | ...props, 32 | ref: view => this[index] = view, 33 | router: this.router, 34 | name, 35 | route: { 36 | name, id, index 37 | } 38 | }) 39 | } 40 | } 41 | 42 | configureScene(route){ 43 | if(route.sceneConfig){ 44 | return route.sceneConfig; 45 | } 46 | return Navigator.SceneConfigs.FloatFromRight; 47 | } 48 | 49 | render() { 50 | return ( this.navigator=view} 52 | initialRoute={initialRoute} 53 | configureScene={this.configureScene.bind(this)} 54 | renderScene={this.renderScene.bind(this)} 55 | />); 56 | } 57 | } 58 | 59 | 60 | function select(store){ 61 | return { 62 | isLoggedIn: store.userStore.isLoggedIn 63 | } 64 | } 65 | 66 | 67 | export default connect(select)(Root); 68 | -------------------------------------------------------------------------------- /ios/Redux-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /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.redux", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.redux", 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/Redux/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | Redux 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | NSAllowsArbitraryLoads 28 | 29 | NSAllowsArbitraryLoadsInWebContent 30 | 31 | NSAllowsLocalNetworking 32 | 33 | NSAppTransportSecurity 34 | 35 | NSAllowsArbitraryLoads 36 | 37 | NSExceptionDomains 38 | 39 | NSExceptionAllowsInsecureHTTPLoads 40 | 41 | NSIncludesSubdomains 42 | 43 | baidu.com 44 | 45 | localhost 46 | 47 | NSExceptionAllowsInsecureHTTPLoads 48 | 49 | 50 | 51 | 52 | NSLocationWhenInUseUsageDescription 53 | 54 | UILaunchStoryboardName 55 | LaunchScreen 56 | UIRequiredDeviceCapabilities 57 | 58 | armv7 59 | 60 | UISupportedInterfaceOrientations 61 | 62 | UIInterfaceOrientationPortrait 63 | UIInterfaceOrientationLandscapeLeft 64 | UIInterfaceOrientationLandscapeRight 65 | 66 | UIViewControllerBasedStatusBarAppearance 67 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /ios/ReduxTests/ReduxTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | #import 12 | #import 13 | 14 | #define TIMEOUT_SECONDS 600 15 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 16 | 17 | @interface ReduxTests : XCTestCase 18 | 19 | @end 20 | 21 | @implementation ReduxTests 22 | 23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 24 | { 25 | if (test(view)) { 26 | return YES; 27 | } 28 | for (UIView *subview in [view subviews]) { 29 | if ([self findSubviewInView:subview matching:test]) { 30 | return YES; 31 | } 32 | } 33 | return NO; 34 | } 35 | 36 | - (void)testRendersWelcomeScreen 37 | { 38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 40 | BOOL foundElement = NO; 41 | 42 | __block NSString *redboxError = nil; 43 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 44 | if (level >= RCTLogLevelError) { 45 | redboxError = message; 46 | } 47 | }); 48 | 49 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 50 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 51 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 52 | 53 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 54 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 55 | return YES; 56 | } 57 | return NO; 58 | }]; 59 | } 60 | 61 | RCTSetLogFunction(RCTDefaultLogFunction); 62 | 63 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 64 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 65 | } 66 | 67 | 68 | @end 69 | -------------------------------------------------------------------------------- /js/pages/main.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | */ 5 | 6 | import React, { Component } from 'react'; 7 | import { 8 | AppRegistry, 9 | StyleSheet, 10 | Text, 11 | View 12 | } from 'react-native'; 13 | import { connect } from 'react-redux'; 14 | import NavigatorBar from 'react-native-navbar'; 15 | 16 | import commonStyles from '../styles/common'; 17 | 18 | import { logOut } from '../actions/user'; 19 | 20 | 21 | class Main extends Component { 22 | 23 | constructor(props){ 24 | super(props); 25 | } 26 | 27 | shouldComponentUpdate(nextProps, nextState){ 28 | if(nextProps.isLoggedIn != this.props.isLoggedIn && nextProps.isLoggedIn === false){ 29 | //logout, need to redirect login page 30 | this.toLogin(); 31 | return false; 32 | } 33 | return true; 34 | } 35 | 36 | toLogin(){ 37 | let {router} = this.props; 38 | router.resetToLogin(); 39 | } 40 | 41 | _renderNavBar(){ 42 | let {router, user, dispatch} = this.props; 43 | var leftButtonConfig = { 44 | title: 'Logout', 45 | handler: ()=>{ 46 | dispatch(logOut()); 47 | } 48 | }; 49 | 50 | var titleConfig = { 51 | title: user.name || '', 52 | }; 53 | return ; 56 | } 57 | 58 | render() { 59 | let { user } = this.props; 60 | return ( 61 | 62 | {this._renderNavBar()} 63 | 64 | 65 | name: {user.name} 66 | age: {user.age} 67 | 68 | 69 | 70 | ); 71 | } 72 | 73 | 74 | handlePress(){ 75 | console.log('handlePress'); 76 | 77 | } 78 | 79 | handleAsyncPress(){ 80 | console.log('asyncPress'); 81 | } 82 | 83 | } 84 | 85 | const styles = StyleSheet.create({ 86 | container: { 87 | flex: 1, 88 | justifyContent: 'center', 89 | alignItems: 'center', 90 | backgroundColor: '#F5FCFF', 91 | }, 92 | welcome: { 93 | fontSize: 20, 94 | textAlign: 'center', 95 | margin: 10, 96 | }, 97 | instructions: { 98 | textAlign: 'center', 99 | color: '#333333', 100 | marginBottom: 5, 101 | }, 102 | }); 103 | 104 | 105 | function select(store){ 106 | return { 107 | isLoggedIn: store.userStore.isLoggedIn, 108 | user: store.userStore.user, 109 | } 110 | } 111 | 112 | 113 | export default connect(select)(Main); 114 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /js/styles/login.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | /** 3 | * @class 4 | * @desc login 5 | * */ 6 | import { 7 | StyleSheet, 8 | PixelRatio, 9 | Dimensions, 10 | } from 'react-native'; 11 | var cell_w = Dimensions.get('window').width; 12 | var styles = StyleSheet.create({ 13 | loginWrap: { 14 | backgroundColor: '#FCE9D4', 15 | }, 16 | 17 | imgWrap: { 18 | flexDirection: 'row', 19 | flex: 1, 20 | }, 21 | 22 | loginMain: { 23 | flex:1, 24 | }, 25 | 26 | loginMainCon: { 27 | position: 'absolute', 28 | top: 110, 29 | left: (cell_w-320)/2, 30 | backgroundColor: '#fff', 31 | height: 330, 32 | borderRadius: 20, 33 | }, 34 | 35 | companyCulture: { 36 | width:320, 37 | marginTop:50, 38 | minHeight: 50, 39 | }, 40 | 41 | logoImg: { 42 | position: 'absolute', 43 | top:0, 44 | left: cell_w/7, 45 | width:cell_w/7*5, 46 | resizeMode: 'contain', 47 | }, 48 | 49 | formStyle: { 50 | backgroundColor:'#F4F3F3', 51 | marginTop: 30, 52 | marginLeft: 10, 53 | width: 300, 54 | height: 120, 55 | borderRadius: 8, 56 | }, 57 | 58 | formInput:{ 59 | flexDirection:'row', 60 | height: 60, 61 | padding: 20, 62 | }, 63 | 64 | formInputSplit:{ 65 | borderBottomWidth:1, 66 | borderBottomColor:'#dbdada', 67 | }, 68 | 69 | loginInput: { 70 | height: 30, 71 | borderColor: '#000', 72 | paddingLeft: 10, 73 | flex: 1, 74 | fontSize: 16, 75 | }, 76 | 77 | forget: { 78 | //alignItems: 'flex-end', 79 | flexDirection:'row', 80 | margin: 20 81 | 82 | }, 83 | 84 | btn: { 85 | flexDirection:'row', 86 | //backgroundColor:'transparent', 87 | }, 88 | 89 | btnWrap:{ 90 | marginTop: 150, 91 | borderRadius: 5, 92 | height: 50, 93 | }, 94 | 95 | loginBtn1: { 96 | fontSize: 20, 97 | color: '#ffffff', 98 | backgroundColor: 'transparent', 99 | width: 150, 100 | height: 50, 101 | borderWidth: 1, 102 | borderColor: '#fff', 103 | paddingTop: 15, 104 | marginRight: 20, 105 | flex: 1, 106 | textAlign: 'center', 107 | }, 108 | 109 | loginBtn2: { 110 | fontSize: 20, 111 | color: '#C7D634', 112 | backgroundColor: '#fff', 113 | width: 150, 114 | height: 50, 115 | borderWidth: 1, 116 | borderColor: '#fff', 117 | paddingTop: 15, 118 | flex: 1, 119 | textAlign: 'center', 120 | }, 121 | 122 | }) 123 | 124 | 125 | module.exports = styles; 126 | -------------------------------------------------------------------------------- /ios/Redux/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/Redux.xcodeproj/xcshareddata/xcschemes/Redux.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/Redux.xcodeproj/xcshareddata/xcschemes/Redux-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 rootProject.ext.compileSdkVersion 98 | 99 | defaultConfig { 100 | applicationId "com.redux" 101 | minSdkVersion rootProject.ext.minSdkVersion 102 | targetSdkVersion rootProject.ext.targetSdkVersion 103 | versionCode 1 104 | versionName "1.0" 105 | ndk { 106 | abiFilters "armeabi-v7a", "x86" 107 | } 108 | } 109 | splits { 110 | abi { 111 | reset() 112 | enable enableSeparateBuildPerCPUArchitecture 113 | universalApk false // If true, also generate a universal APK 114 | include "armeabi-v7a", "x86" 115 | } 116 | } 117 | buildTypes { 118 | release { 119 | minifyEnabled enableProguardInReleaseBuilds 120 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 121 | } 122 | } 123 | // applicationVariants are e.g. debug, release 124 | applicationVariants.all { variant -> 125 | variant.outputs.each { output -> 126 | // For each separate APK per architecture, set a unique version code as described here: 127 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 128 | def versionCodes = ["armeabi-v7a":1, "x86":2] 129 | def abi = output.getFilter(OutputFile.ABI) 130 | if (abi != null) { // null for the universal-debug, universal-release variants 131 | output.versionCodeOverride = 132 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 133 | } 134 | } 135 | } 136 | buildToolsVersion '27.0.3' 137 | } 138 | 139 | dependencies { 140 | compile project(':react-native-spinkit') 141 | compile fileTree(dir: "libs", include: ["*.jar"]) 142 | compile "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" 143 | compile "com.facebook.react:react-native:+" // From node_modules 144 | } 145 | 146 | // Run this once to be able to run the application with BUCK 147 | // puts all compile dependencies into folder libs for BUCK to use 148 | task copyDownloadableDepsToLibs(type: Copy) { 149 | from configurations.compile 150 | into 'libs' 151 | } 152 | -------------------------------------------------------------------------------- /js/pages/login.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | import React, { Component } from 'react'; 3 | import { 4 | Text, 5 | View, 6 | Platform, 7 | TextInput, 8 | ImageBackground, 9 | Image, 10 | AlertIOS, 11 | } from 'react-native'; 12 | 13 | import { connect } from 'react-redux'; 14 | 15 | import ModalBox from 'react-native-modalbox'; 16 | import Spinner from 'react-native-spinkit'; 17 | 18 | import { logIn, skipLogin } from '../actions/user'; 19 | 20 | import commonStyle from '../styles/common'; 21 | import loginStyle from '../styles/login'; 22 | 23 | 24 | class LoginPage extends Component{ 25 | constructor(props){ 26 | super(props); 27 | this.state = { 28 | username: 'sup1', 29 | password: '123456', 30 | btnFlag: true, 31 | modalVisible: false, 32 | }; 33 | this.onChangeName = this.onChangeName.bind(this); 34 | this.onChangePswd = this.onChangePswd.bind(this); 35 | this.handleLogin = this.handleLogin.bind(this); 36 | this.handleRegister = this.handleRegister.bind(this); 37 | } 38 | 39 | componentWillReceiveProps (nextProps) { 40 | console.log(nextProps.status); 41 | if(nextProps.isLoggedIn != this.props.isLoggedIn && nextProps.isLoggedIn === true){ 42 | //will redirect 43 | this.setState({ 44 | modalVisible: false 45 | }) 46 | this.toMain(); 47 | return; 48 | } 49 | if(nextProps.status == 'error' || nextProps.status == 'done'){ 50 | console.log('error modal close'); 51 | this.setState({ 52 | modalVisible: false 53 | }) 54 | // this.refs.modal.close(); 55 | return; 56 | } 57 | 58 | } 59 | 60 | toMain(){ 61 | const {router} = this.props; 62 | router.toMain(); 63 | } 64 | 65 | handleLogin(){ 66 | const { username, password } = this.state; 67 | if (!username || !password) { 68 | AlertIOS.alert( 69 | 'username, password?' 70 | ); 71 | return; 72 | } 73 | let opt = { 74 | 'name': this.state.username, 75 | 'password': this.state.password, 76 | }; 77 | this.setState({ 78 | modalVisible: true 79 | }) 80 | this.props.dispatch(logIn(opt)); 81 | } 82 | 83 | handleRegister(){ 84 | const {dispatch} = this.props; 85 | dispatch(skipLogin()); 86 | } 87 | 88 | onChangeName(text){ 89 | this.setState({'username': text}); 90 | } 91 | 92 | onChangePswd(text){ 93 | this.setState({'password': text}); 94 | } 95 | 96 | 97 | render(){ 98 | const { username, password, modalVisible } = this.state; 99 | return ( 100 | 101 | 105 | 106 | 107 | 108 | Follow Your Interests 109 | Discover Your World 110 | 111 | 112 | 113 | 117 | 124 | 125 | 126 | 127 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | forget password? 142 | 143 | 144 | 145 | 146 | 147 | 148 | Log in 149 | 150 | 151 | Skip 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 167 | 171 | 172 | 173 | 174 | ); 175 | } 176 | } 177 | 178 | 179 | 180 | function mapState2Props(store){ 181 | return { 182 | isLoggedIn: store.userStore.isLoggedIn, 183 | user: store.userStore.user, 184 | status: store.userStore.status, 185 | } 186 | } 187 | 188 | 189 | export default connect(mapState2Props)(LoginPage); 190 | 191 | 192 | -------------------------------------------------------------------------------- /ios/Redux.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 /* ReduxTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReduxTests.m */; }; 16 | 016D4D6099334BCEBCBC2445 /* libRNSpinkit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BF67B8D7BE0A40BCAAE91C1A /* libRNSpinkit.a */; }; 17 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 18 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 19 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 20 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 21 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 22 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 23 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 24 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 25 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 26 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 27 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 28 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 29 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 30 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 31 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 32 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 33 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 34 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 35 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 36 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; }; 37 | 2DCD954D1E0B4F2C00145EB5 /* ReduxTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReduxTests.m */; }; 38 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 39 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 40 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 41 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 42 | /* End PBXBuildFile section */ 43 | 44 | /* Begin PBXContainerItemProxy section */ 45 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 46 | isa = PBXContainerItemProxy; 47 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 48 | proxyType = 2; 49 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 50 | remoteInfo = RCTActionSheet; 51 | }; 52 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 53 | isa = PBXContainerItemProxy; 54 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 55 | proxyType = 2; 56 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 57 | remoteInfo = RCTGeolocation; 58 | }; 59 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 60 | isa = PBXContainerItemProxy; 61 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 62 | proxyType = 2; 63 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 64 | remoteInfo = RCTImage; 65 | }; 66 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 67 | isa = PBXContainerItemProxy; 68 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 69 | proxyType = 2; 70 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 71 | remoteInfo = RCTNetwork; 72 | }; 73 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 74 | isa = PBXContainerItemProxy; 75 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 76 | proxyType = 2; 77 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 78 | remoteInfo = RCTVibration; 79 | }; 80 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 81 | isa = PBXContainerItemProxy; 82 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 83 | proxyType = 1; 84 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 85 | remoteInfo = Redux; 86 | }; 87 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 88 | isa = PBXContainerItemProxy; 89 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 90 | proxyType = 2; 91 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 92 | remoteInfo = RCTSettings; 93 | }; 94 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 95 | isa = PBXContainerItemProxy; 96 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 97 | proxyType = 2; 98 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 99 | remoteInfo = RCTWebSocket; 100 | }; 101 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 102 | isa = PBXContainerItemProxy; 103 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 104 | proxyType = 2; 105 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 106 | remoteInfo = React; 107 | }; 108 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 109 | isa = PBXContainerItemProxy; 110 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 111 | proxyType = 1; 112 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 113 | remoteInfo = "Redux-tvOS"; 114 | }; 115 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 116 | isa = PBXContainerItemProxy; 117 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 118 | proxyType = 2; 119 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 120 | remoteInfo = "RCTBlob-tvOS"; 121 | }; 122 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 123 | isa = PBXContainerItemProxy; 124 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 125 | proxyType = 2; 126 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 127 | remoteInfo = fishhook; 128 | }; 129 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 130 | isa = PBXContainerItemProxy; 131 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 132 | proxyType = 2; 133 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 134 | remoteInfo = "fishhook-tvOS"; 135 | }; 136 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = { 137 | isa = PBXContainerItemProxy; 138 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 139 | proxyType = 2; 140 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5; 141 | remoteInfo = jsinspector; 142 | }; 143 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = { 144 | isa = PBXContainerItemProxy; 145 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 146 | proxyType = 2; 147 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; 148 | remoteInfo = "jsinspector-tvOS"; 149 | }; 150 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = { 151 | isa = PBXContainerItemProxy; 152 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 153 | proxyType = 2; 154 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 155 | remoteInfo = "third-party"; 156 | }; 157 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = { 158 | isa = PBXContainerItemProxy; 159 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 160 | proxyType = 2; 161 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 162 | remoteInfo = "third-party-tvOS"; 163 | }; 164 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = { 165 | isa = PBXContainerItemProxy; 166 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 167 | proxyType = 2; 168 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 169 | remoteInfo = "double-conversion"; 170 | }; 171 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = { 172 | isa = PBXContainerItemProxy; 173 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 174 | proxyType = 2; 175 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 176 | remoteInfo = "double-conversion-tvOS"; 177 | }; 178 | 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */ = { 179 | isa = PBXContainerItemProxy; 180 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 181 | proxyType = 2; 182 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04; 183 | remoteInfo = privatedata; 184 | }; 185 | 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */ = { 186 | isa = PBXContainerItemProxy; 187 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 188 | proxyType = 2; 189 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04; 190 | remoteInfo = "privatedata-tvOS"; 191 | }; 192 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 193 | isa = PBXContainerItemProxy; 194 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 195 | proxyType = 2; 196 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 197 | remoteInfo = "RCTImage-tvOS"; 198 | }; 199 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 200 | isa = PBXContainerItemProxy; 201 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 202 | proxyType = 2; 203 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 204 | remoteInfo = "RCTLinking-tvOS"; 205 | }; 206 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 207 | isa = PBXContainerItemProxy; 208 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 209 | proxyType = 2; 210 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 211 | remoteInfo = "RCTNetwork-tvOS"; 212 | }; 213 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 214 | isa = PBXContainerItemProxy; 215 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 216 | proxyType = 2; 217 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 218 | remoteInfo = "RCTSettings-tvOS"; 219 | }; 220 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 221 | isa = PBXContainerItemProxy; 222 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 223 | proxyType = 2; 224 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 225 | remoteInfo = "RCTText-tvOS"; 226 | }; 227 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 228 | isa = PBXContainerItemProxy; 229 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 230 | proxyType = 2; 231 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 232 | remoteInfo = "RCTWebSocket-tvOS"; 233 | }; 234 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 235 | isa = PBXContainerItemProxy; 236 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 237 | proxyType = 2; 238 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 239 | remoteInfo = "React-tvOS"; 240 | }; 241 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 242 | isa = PBXContainerItemProxy; 243 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 244 | proxyType = 2; 245 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 246 | remoteInfo = yoga; 247 | }; 248 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 249 | isa = PBXContainerItemProxy; 250 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 251 | proxyType = 2; 252 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 253 | remoteInfo = "yoga-tvOS"; 254 | }; 255 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 256 | isa = PBXContainerItemProxy; 257 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 258 | proxyType = 2; 259 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 260 | remoteInfo = cxxreact; 261 | }; 262 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 263 | isa = PBXContainerItemProxy; 264 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 265 | proxyType = 2; 266 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 267 | remoteInfo = "cxxreact-tvOS"; 268 | }; 269 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 270 | isa = PBXContainerItemProxy; 271 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 272 | proxyType = 2; 273 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 274 | remoteInfo = jschelpers; 275 | }; 276 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 277 | isa = PBXContainerItemProxy; 278 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 279 | proxyType = 2; 280 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 281 | remoteInfo = "jschelpers-tvOS"; 282 | }; 283 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 284 | isa = PBXContainerItemProxy; 285 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 286 | proxyType = 2; 287 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 288 | remoteInfo = RCTAnimation; 289 | }; 290 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 291 | isa = PBXContainerItemProxy; 292 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 293 | proxyType = 2; 294 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 295 | remoteInfo = "RCTAnimation-tvOS"; 296 | }; 297 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 298 | isa = PBXContainerItemProxy; 299 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 300 | proxyType = 2; 301 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 302 | remoteInfo = RCTLinking; 303 | }; 304 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 305 | isa = PBXContainerItemProxy; 306 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 307 | proxyType = 2; 308 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 309 | remoteInfo = RCTText; 310 | }; 311 | A56E23F1210794B700241241 /* PBXContainerItemProxy */ = { 312 | isa = PBXContainerItemProxy; 313 | containerPortal = 635EBE6EB2734008BDB06FDB /* RNSpinkit.xcodeproj */; 314 | proxyType = 2; 315 | remoteGlobalIDString = D42CB3511B2538DE00FD0AE2; 316 | remoteInfo = RNSpinkit; 317 | }; 318 | A56E23F3210794B700241241 /* PBXContainerItemProxy */ = { 319 | isa = PBXContainerItemProxy; 320 | containerPortal = 635EBE6EB2734008BDB06FDB /* RNSpinkit.xcodeproj */; 321 | proxyType = 2; 322 | remoteGlobalIDString = 641194871EC9FD4A00D4FC03; 323 | remoteInfo = "RNSpinkit-tvOS"; 324 | }; 325 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 326 | isa = PBXContainerItemProxy; 327 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 328 | proxyType = 2; 329 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 330 | remoteInfo = RCTBlob; 331 | }; 332 | /* End PBXContainerItemProxy section */ 333 | 334 | /* Begin PBXFileReference section */ 335 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 336 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 337 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 338 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 339 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 340 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 341 | 00E356EE1AD99517003FC87E /* ReduxTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ReduxTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 342 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 343 | 00E356F21AD99517003FC87E /* ReduxTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ReduxTests.m; sourceTree = ""; }; 344 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 345 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 346 | 13B07F961A680F5B00A75B9A /* Redux.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Redux.app; sourceTree = BUILT_PRODUCTS_DIR; }; 347 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Redux/AppDelegate.h; sourceTree = ""; }; 348 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = Redux/AppDelegate.m; sourceTree = ""; }; 349 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 350 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Redux/Images.xcassets; sourceTree = ""; }; 351 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Redux/Info.plist; sourceTree = ""; }; 352 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Redux/main.m; sourceTree = ""; }; 353 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 354 | 2D02E47B1E0B4A5D006451C7 /* Redux-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Redux-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 355 | 2D02E4901E0B4A5D006451C7 /* Redux-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Redux-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 356 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 357 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 358 | 635EBE6EB2734008BDB06FDB /* RNSpinkit.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNSpinkit.xcodeproj; path = "../node_modules/react-native-spinkit/ios/RNSpinkit.xcodeproj"; sourceTree = ""; }; 359 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 360 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 361 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 362 | BF67B8D7BE0A40BCAAE91C1A /* libRNSpinkit.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNSpinkit.a; sourceTree = ""; }; 363 | /* End PBXFileReference section */ 364 | 365 | /* Begin PBXFrameworksBuildPhase section */ 366 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 367 | isa = PBXFrameworksBuildPhase; 368 | buildActionMask = 2147483647; 369 | files = ( 370 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 371 | ); 372 | runOnlyForDeploymentPostprocessing = 0; 373 | }; 374 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 375 | isa = PBXFrameworksBuildPhase; 376 | buildActionMask = 2147483647; 377 | files = ( 378 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 379 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 380 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 381 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 382 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 383 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 384 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 385 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 386 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 387 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 388 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 389 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 390 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 391 | 016D4D6099334BCEBCBC2445 /* libRNSpinkit.a in Frameworks */, 392 | ); 393 | runOnlyForDeploymentPostprocessing = 0; 394 | }; 395 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 396 | isa = PBXFrameworksBuildPhase; 397 | buildActionMask = 2147483647; 398 | files = ( 399 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 400 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 401 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 402 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 403 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 404 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 405 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 406 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 407 | ); 408 | runOnlyForDeploymentPostprocessing = 0; 409 | }; 410 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 411 | isa = PBXFrameworksBuildPhase; 412 | buildActionMask = 2147483647; 413 | files = ( 414 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */, 415 | ); 416 | runOnlyForDeploymentPostprocessing = 0; 417 | }; 418 | /* End PBXFrameworksBuildPhase section */ 419 | 420 | /* Begin PBXGroup section */ 421 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 422 | isa = PBXGroup; 423 | children = ( 424 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 425 | ); 426 | name = Products; 427 | sourceTree = ""; 428 | }; 429 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 430 | isa = PBXGroup; 431 | children = ( 432 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 433 | ); 434 | name = Products; 435 | sourceTree = ""; 436 | }; 437 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 438 | isa = PBXGroup; 439 | children = ( 440 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 441 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 442 | ); 443 | name = Products; 444 | sourceTree = ""; 445 | }; 446 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 447 | isa = PBXGroup; 448 | children = ( 449 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 450 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 451 | ); 452 | name = Products; 453 | sourceTree = ""; 454 | }; 455 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 456 | isa = PBXGroup; 457 | children = ( 458 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 459 | ); 460 | name = Products; 461 | sourceTree = ""; 462 | }; 463 | 00E356EF1AD99517003FC87E /* ReduxTests */ = { 464 | isa = PBXGroup; 465 | children = ( 466 | 00E356F21AD99517003FC87E /* ReduxTests.m */, 467 | 00E356F01AD99517003FC87E /* Supporting Files */, 468 | ); 469 | path = ReduxTests; 470 | sourceTree = ""; 471 | }; 472 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 473 | isa = PBXGroup; 474 | children = ( 475 | 00E356F11AD99517003FC87E /* Info.plist */, 476 | ); 477 | name = "Supporting Files"; 478 | sourceTree = ""; 479 | }; 480 | 139105B71AF99BAD00B5F7CC /* Products */ = { 481 | isa = PBXGroup; 482 | children = ( 483 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 484 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 485 | ); 486 | name = Products; 487 | sourceTree = ""; 488 | }; 489 | 139FDEE71B06529A00C62182 /* Products */ = { 490 | isa = PBXGroup; 491 | children = ( 492 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 493 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 494 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, 495 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, 496 | ); 497 | name = Products; 498 | sourceTree = ""; 499 | }; 500 | 13B07FAE1A68108700A75B9A /* Redux */ = { 501 | isa = PBXGroup; 502 | children = ( 503 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 504 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 505 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 506 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 507 | 13B07FB61A68108700A75B9A /* Info.plist */, 508 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 509 | 13B07FB71A68108700A75B9A /* main.m */, 510 | ); 511 | name = Redux; 512 | sourceTree = ""; 513 | }; 514 | 146834001AC3E56700842450 /* Products */ = { 515 | isa = PBXGroup; 516 | children = ( 517 | 146834041AC3E56700842450 /* libReact.a */, 518 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 519 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 520 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 521 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 522 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 523 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 524 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 525 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */, 526 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */, 527 | 2DF0FFE32056DD460020B375 /* libthird-party.a */, 528 | 2DF0FFE52056DD460020B375 /* libthird-party.a */, 529 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */, 530 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */, 531 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */, 532 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */, 533 | ); 534 | name = Products; 535 | sourceTree = ""; 536 | }; 537 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 538 | isa = PBXGroup; 539 | children = ( 540 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 541 | ); 542 | name = Frameworks; 543 | sourceTree = ""; 544 | }; 545 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 546 | isa = PBXGroup; 547 | children = ( 548 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 549 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 550 | ); 551 | name = Products; 552 | sourceTree = ""; 553 | }; 554 | 78C398B11ACF4ADC00677621 /* Products */ = { 555 | isa = PBXGroup; 556 | children = ( 557 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 558 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 559 | ); 560 | name = Products; 561 | sourceTree = ""; 562 | }; 563 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 564 | isa = PBXGroup; 565 | children = ( 566 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 567 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 568 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 569 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 570 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 571 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 572 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 573 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 574 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 575 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 576 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 577 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 578 | 635EBE6EB2734008BDB06FDB /* RNSpinkit.xcodeproj */, 579 | ); 580 | name = Libraries; 581 | sourceTree = ""; 582 | }; 583 | 832341B11AAA6A8300B99B32 /* Products */ = { 584 | isa = PBXGroup; 585 | children = ( 586 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 587 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 588 | ); 589 | name = Products; 590 | sourceTree = ""; 591 | }; 592 | 83CBB9F61A601CBA00E9B192 = { 593 | isa = PBXGroup; 594 | children = ( 595 | 13B07FAE1A68108700A75B9A /* Redux */, 596 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 597 | 00E356EF1AD99517003FC87E /* ReduxTests */, 598 | 83CBBA001A601CBA00E9B192 /* Products */, 599 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 600 | A56E23C7210794B200241241 /* Recovered References */, 601 | ); 602 | indentWidth = 2; 603 | sourceTree = ""; 604 | tabWidth = 2; 605 | usesTabs = 0; 606 | }; 607 | 83CBBA001A601CBA00E9B192 /* Products */ = { 608 | isa = PBXGroup; 609 | children = ( 610 | 13B07F961A680F5B00A75B9A /* Redux.app */, 611 | 00E356EE1AD99517003FC87E /* ReduxTests.xctest */, 612 | 2D02E47B1E0B4A5D006451C7 /* Redux-tvOS.app */, 613 | 2D02E4901E0B4A5D006451C7 /* Redux-tvOSTests.xctest */, 614 | ); 615 | name = Products; 616 | sourceTree = ""; 617 | }; 618 | A56E23C7210794B200241241 /* Recovered References */ = { 619 | isa = PBXGroup; 620 | children = ( 621 | BF67B8D7BE0A40BCAAE91C1A /* libRNSpinkit.a */, 622 | ); 623 | name = "Recovered References"; 624 | sourceTree = ""; 625 | }; 626 | A56E23ED210794B400241241 /* Products */ = { 627 | isa = PBXGroup; 628 | children = ( 629 | A56E23F2210794B700241241 /* libRNSpinkit.a */, 630 | A56E23F4210794B700241241 /* libRNSpinkit.a */, 631 | ); 632 | name = Products; 633 | sourceTree = ""; 634 | }; 635 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 636 | isa = PBXGroup; 637 | children = ( 638 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 639 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, 640 | ); 641 | name = Products; 642 | sourceTree = ""; 643 | }; 644 | /* End PBXGroup section */ 645 | 646 | /* Begin PBXNativeTarget section */ 647 | 00E356ED1AD99517003FC87E /* ReduxTests */ = { 648 | isa = PBXNativeTarget; 649 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReduxTests" */; 650 | buildPhases = ( 651 | 00E356EA1AD99517003FC87E /* Sources */, 652 | 00E356EB1AD99517003FC87E /* Frameworks */, 653 | 00E356EC1AD99517003FC87E /* Resources */, 654 | ); 655 | buildRules = ( 656 | ); 657 | dependencies = ( 658 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 659 | ); 660 | name = ReduxTests; 661 | productName = ReduxTests; 662 | productReference = 00E356EE1AD99517003FC87E /* ReduxTests.xctest */; 663 | productType = "com.apple.product-type.bundle.unit-test"; 664 | }; 665 | 13B07F861A680F5B00A75B9A /* Redux */ = { 666 | isa = PBXNativeTarget; 667 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Redux" */; 668 | buildPhases = ( 669 | 13B07F871A680F5B00A75B9A /* Sources */, 670 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 671 | 13B07F8E1A680F5B00A75B9A /* Resources */, 672 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 673 | ); 674 | buildRules = ( 675 | ); 676 | dependencies = ( 677 | ); 678 | name = Redux; 679 | productName = "Hello World"; 680 | productReference = 13B07F961A680F5B00A75B9A /* Redux.app */; 681 | productType = "com.apple.product-type.application"; 682 | }; 683 | 2D02E47A1E0B4A5D006451C7 /* Redux-tvOS */ = { 684 | isa = PBXNativeTarget; 685 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Redux-tvOS" */; 686 | buildPhases = ( 687 | 2D02E4771E0B4A5D006451C7 /* Sources */, 688 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 689 | 2D02E4791E0B4A5D006451C7 /* Resources */, 690 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 691 | ); 692 | buildRules = ( 693 | ); 694 | dependencies = ( 695 | ); 696 | name = "Redux-tvOS"; 697 | productName = "Redux-tvOS"; 698 | productReference = 2D02E47B1E0B4A5D006451C7 /* Redux-tvOS.app */; 699 | productType = "com.apple.product-type.application"; 700 | }; 701 | 2D02E48F1E0B4A5D006451C7 /* Redux-tvOSTests */ = { 702 | isa = PBXNativeTarget; 703 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Redux-tvOSTests" */; 704 | buildPhases = ( 705 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 706 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 707 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 708 | ); 709 | buildRules = ( 710 | ); 711 | dependencies = ( 712 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 713 | ); 714 | name = "Redux-tvOSTests"; 715 | productName = "Redux-tvOSTests"; 716 | productReference = 2D02E4901E0B4A5D006451C7 /* Redux-tvOSTests.xctest */; 717 | productType = "com.apple.product-type.bundle.unit-test"; 718 | }; 719 | /* End PBXNativeTarget section */ 720 | 721 | /* Begin PBXProject section */ 722 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 723 | isa = PBXProject; 724 | attributes = { 725 | LastUpgradeCheck = 610; 726 | ORGANIZATIONNAME = Facebook; 727 | TargetAttributes = { 728 | 00E356ED1AD99517003FC87E = { 729 | CreatedOnToolsVersion = 6.2; 730 | TestTargetID = 13B07F861A680F5B00A75B9A; 731 | }; 732 | 2D02E47A1E0B4A5D006451C7 = { 733 | CreatedOnToolsVersion = 8.2.1; 734 | ProvisioningStyle = Automatic; 735 | }; 736 | 2D02E48F1E0B4A5D006451C7 = { 737 | CreatedOnToolsVersion = 8.2.1; 738 | ProvisioningStyle = Automatic; 739 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 740 | }; 741 | }; 742 | }; 743 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Redux" */; 744 | compatibilityVersion = "Xcode 3.2"; 745 | developmentRegion = English; 746 | hasScannedForEncodings = 0; 747 | knownRegions = ( 748 | en, 749 | Base, 750 | ); 751 | mainGroup = 83CBB9F61A601CBA00E9B192; 752 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 753 | projectDirPath = ""; 754 | projectReferences = ( 755 | { 756 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 757 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 758 | }, 759 | { 760 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 761 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 762 | }, 763 | { 764 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 765 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 766 | }, 767 | { 768 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 769 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 770 | }, 771 | { 772 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 773 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 774 | }, 775 | { 776 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 777 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 778 | }, 779 | { 780 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 781 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 782 | }, 783 | { 784 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 785 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 786 | }, 787 | { 788 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 789 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 790 | }, 791 | { 792 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 793 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 794 | }, 795 | { 796 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 797 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 798 | }, 799 | { 800 | ProductGroup = 146834001AC3E56700842450 /* Products */; 801 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 802 | }, 803 | { 804 | ProductGroup = A56E23ED210794B400241241 /* Products */; 805 | ProjectRef = 635EBE6EB2734008BDB06FDB /* RNSpinkit.xcodeproj */; 806 | }, 807 | ); 808 | projectRoot = ""; 809 | targets = ( 810 | 13B07F861A680F5B00A75B9A /* Redux */, 811 | 00E356ED1AD99517003FC87E /* ReduxTests */, 812 | 2D02E47A1E0B4A5D006451C7 /* Redux-tvOS */, 813 | 2D02E48F1E0B4A5D006451C7 /* Redux-tvOSTests */, 814 | ); 815 | }; 816 | /* End PBXProject section */ 817 | 818 | /* Begin PBXReferenceProxy section */ 819 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 820 | isa = PBXReferenceProxy; 821 | fileType = archive.ar; 822 | path = libRCTActionSheet.a; 823 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 824 | sourceTree = BUILT_PRODUCTS_DIR; 825 | }; 826 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 827 | isa = PBXReferenceProxy; 828 | fileType = archive.ar; 829 | path = libRCTGeolocation.a; 830 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 831 | sourceTree = BUILT_PRODUCTS_DIR; 832 | }; 833 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 834 | isa = PBXReferenceProxy; 835 | fileType = archive.ar; 836 | path = libRCTImage.a; 837 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 838 | sourceTree = BUILT_PRODUCTS_DIR; 839 | }; 840 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 841 | isa = PBXReferenceProxy; 842 | fileType = archive.ar; 843 | path = libRCTNetwork.a; 844 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 845 | sourceTree = BUILT_PRODUCTS_DIR; 846 | }; 847 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 848 | isa = PBXReferenceProxy; 849 | fileType = archive.ar; 850 | path = libRCTVibration.a; 851 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 852 | sourceTree = BUILT_PRODUCTS_DIR; 853 | }; 854 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 855 | isa = PBXReferenceProxy; 856 | fileType = archive.ar; 857 | path = libRCTSettings.a; 858 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 859 | sourceTree = BUILT_PRODUCTS_DIR; 860 | }; 861 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 862 | isa = PBXReferenceProxy; 863 | fileType = archive.ar; 864 | path = libRCTWebSocket.a; 865 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 866 | sourceTree = BUILT_PRODUCTS_DIR; 867 | }; 868 | 146834041AC3E56700842450 /* libReact.a */ = { 869 | isa = PBXReferenceProxy; 870 | fileType = archive.ar; 871 | path = libReact.a; 872 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 873 | sourceTree = BUILT_PRODUCTS_DIR; 874 | }; 875 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { 876 | isa = PBXReferenceProxy; 877 | fileType = archive.ar; 878 | path = "libRCTBlob-tvOS.a"; 879 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; 880 | sourceTree = BUILT_PRODUCTS_DIR; 881 | }; 882 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { 883 | isa = PBXReferenceProxy; 884 | fileType = archive.ar; 885 | path = libfishhook.a; 886 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; 887 | sourceTree = BUILT_PRODUCTS_DIR; 888 | }; 889 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { 890 | isa = PBXReferenceProxy; 891 | fileType = archive.ar; 892 | path = "libfishhook-tvOS.a"; 893 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; 894 | sourceTree = BUILT_PRODUCTS_DIR; 895 | }; 896 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = { 897 | isa = PBXReferenceProxy; 898 | fileType = archive.ar; 899 | path = libjsinspector.a; 900 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */; 901 | sourceTree = BUILT_PRODUCTS_DIR; 902 | }; 903 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = { 904 | isa = PBXReferenceProxy; 905 | fileType = archive.ar; 906 | path = "libjsinspector-tvOS.a"; 907 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */; 908 | sourceTree = BUILT_PRODUCTS_DIR; 909 | }; 910 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = { 911 | isa = PBXReferenceProxy; 912 | fileType = archive.ar; 913 | path = "libthird-party.a"; 914 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */; 915 | sourceTree = BUILT_PRODUCTS_DIR; 916 | }; 917 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = { 918 | isa = PBXReferenceProxy; 919 | fileType = archive.ar; 920 | path = "libthird-party.a"; 921 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */; 922 | sourceTree = BUILT_PRODUCTS_DIR; 923 | }; 924 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = { 925 | isa = PBXReferenceProxy; 926 | fileType = archive.ar; 927 | path = "libdouble-conversion.a"; 928 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */; 929 | sourceTree = BUILT_PRODUCTS_DIR; 930 | }; 931 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = { 932 | isa = PBXReferenceProxy; 933 | fileType = archive.ar; 934 | path = "libdouble-conversion.a"; 935 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */; 936 | sourceTree = BUILT_PRODUCTS_DIR; 937 | }; 938 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */ = { 939 | isa = PBXReferenceProxy; 940 | fileType = archive.ar; 941 | path = libprivatedata.a; 942 | remoteRef = 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */; 943 | sourceTree = BUILT_PRODUCTS_DIR; 944 | }; 945 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */ = { 946 | isa = PBXReferenceProxy; 947 | fileType = archive.ar; 948 | path = "libprivatedata-tvOS.a"; 949 | remoteRef = 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */; 950 | sourceTree = BUILT_PRODUCTS_DIR; 951 | }; 952 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 953 | isa = PBXReferenceProxy; 954 | fileType = archive.ar; 955 | path = "libRCTImage-tvOS.a"; 956 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 957 | sourceTree = BUILT_PRODUCTS_DIR; 958 | }; 959 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 960 | isa = PBXReferenceProxy; 961 | fileType = archive.ar; 962 | path = "libRCTLinking-tvOS.a"; 963 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 964 | sourceTree = BUILT_PRODUCTS_DIR; 965 | }; 966 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 967 | isa = PBXReferenceProxy; 968 | fileType = archive.ar; 969 | path = "libRCTNetwork-tvOS.a"; 970 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 971 | sourceTree = BUILT_PRODUCTS_DIR; 972 | }; 973 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 974 | isa = PBXReferenceProxy; 975 | fileType = archive.ar; 976 | path = "libRCTSettings-tvOS.a"; 977 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 978 | sourceTree = BUILT_PRODUCTS_DIR; 979 | }; 980 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 981 | isa = PBXReferenceProxy; 982 | fileType = archive.ar; 983 | path = "libRCTText-tvOS.a"; 984 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 985 | sourceTree = BUILT_PRODUCTS_DIR; 986 | }; 987 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 988 | isa = PBXReferenceProxy; 989 | fileType = archive.ar; 990 | path = "libRCTWebSocket-tvOS.a"; 991 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 992 | sourceTree = BUILT_PRODUCTS_DIR; 993 | }; 994 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 995 | isa = PBXReferenceProxy; 996 | fileType = archive.ar; 997 | path = libReact.a; 998 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 999 | sourceTree = BUILT_PRODUCTS_DIR; 1000 | }; 1001 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 1002 | isa = PBXReferenceProxy; 1003 | fileType = archive.ar; 1004 | path = libyoga.a; 1005 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 1006 | sourceTree = BUILT_PRODUCTS_DIR; 1007 | }; 1008 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 1009 | isa = PBXReferenceProxy; 1010 | fileType = archive.ar; 1011 | path = libyoga.a; 1012 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 1013 | sourceTree = BUILT_PRODUCTS_DIR; 1014 | }; 1015 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 1016 | isa = PBXReferenceProxy; 1017 | fileType = archive.ar; 1018 | path = libcxxreact.a; 1019 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 1020 | sourceTree = BUILT_PRODUCTS_DIR; 1021 | }; 1022 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 1023 | isa = PBXReferenceProxy; 1024 | fileType = archive.ar; 1025 | path = libcxxreact.a; 1026 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 1027 | sourceTree = BUILT_PRODUCTS_DIR; 1028 | }; 1029 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 1030 | isa = PBXReferenceProxy; 1031 | fileType = archive.ar; 1032 | path = libjschelpers.a; 1033 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 1034 | sourceTree = BUILT_PRODUCTS_DIR; 1035 | }; 1036 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 1037 | isa = PBXReferenceProxy; 1038 | fileType = archive.ar; 1039 | path = libjschelpers.a; 1040 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 1041 | sourceTree = BUILT_PRODUCTS_DIR; 1042 | }; 1043 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1044 | isa = PBXReferenceProxy; 1045 | fileType = archive.ar; 1046 | path = libRCTAnimation.a; 1047 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1048 | sourceTree = BUILT_PRODUCTS_DIR; 1049 | }; 1050 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1051 | isa = PBXReferenceProxy; 1052 | fileType = archive.ar; 1053 | path = libRCTAnimation.a; 1054 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1055 | sourceTree = BUILT_PRODUCTS_DIR; 1056 | }; 1057 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 1058 | isa = PBXReferenceProxy; 1059 | fileType = archive.ar; 1060 | path = libRCTLinking.a; 1061 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 1062 | sourceTree = BUILT_PRODUCTS_DIR; 1063 | }; 1064 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 1065 | isa = PBXReferenceProxy; 1066 | fileType = archive.ar; 1067 | path = libRCTText.a; 1068 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 1069 | sourceTree = BUILT_PRODUCTS_DIR; 1070 | }; 1071 | A56E23F2210794B700241241 /* libRNSpinkit.a */ = { 1072 | isa = PBXReferenceProxy; 1073 | fileType = archive.ar; 1074 | path = libRNSpinkit.a; 1075 | remoteRef = A56E23F1210794B700241241 /* PBXContainerItemProxy */; 1076 | sourceTree = BUILT_PRODUCTS_DIR; 1077 | }; 1078 | A56E23F4210794B700241241 /* libRNSpinkit.a */ = { 1079 | isa = PBXReferenceProxy; 1080 | fileType = archive.ar; 1081 | path = libRNSpinkit.a; 1082 | remoteRef = A56E23F3210794B700241241 /* PBXContainerItemProxy */; 1083 | sourceTree = BUILT_PRODUCTS_DIR; 1084 | }; 1085 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 1086 | isa = PBXReferenceProxy; 1087 | fileType = archive.ar; 1088 | path = libRCTBlob.a; 1089 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 1090 | sourceTree = BUILT_PRODUCTS_DIR; 1091 | }; 1092 | /* End PBXReferenceProxy section */ 1093 | 1094 | /* Begin PBXResourcesBuildPhase section */ 1095 | 00E356EC1AD99517003FC87E /* Resources */ = { 1096 | isa = PBXResourcesBuildPhase; 1097 | buildActionMask = 2147483647; 1098 | files = ( 1099 | ); 1100 | runOnlyForDeploymentPostprocessing = 0; 1101 | }; 1102 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1103 | isa = PBXResourcesBuildPhase; 1104 | buildActionMask = 2147483647; 1105 | files = ( 1106 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1107 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1108 | ); 1109 | runOnlyForDeploymentPostprocessing = 0; 1110 | }; 1111 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1112 | isa = PBXResourcesBuildPhase; 1113 | buildActionMask = 2147483647; 1114 | files = ( 1115 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1116 | ); 1117 | runOnlyForDeploymentPostprocessing = 0; 1118 | }; 1119 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1120 | isa = PBXResourcesBuildPhase; 1121 | buildActionMask = 2147483647; 1122 | files = ( 1123 | ); 1124 | runOnlyForDeploymentPostprocessing = 0; 1125 | }; 1126 | /* End PBXResourcesBuildPhase section */ 1127 | 1128 | /* Begin PBXShellScriptBuildPhase section */ 1129 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1130 | isa = PBXShellScriptBuildPhase; 1131 | buildActionMask = 2147483647; 1132 | files = ( 1133 | ); 1134 | inputPaths = ( 1135 | ); 1136 | name = "Bundle React Native code and images"; 1137 | outputPaths = ( 1138 | ); 1139 | runOnlyForDeploymentPostprocessing = 0; 1140 | shellPath = /bin/sh; 1141 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1142 | }; 1143 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1144 | isa = PBXShellScriptBuildPhase; 1145 | buildActionMask = 2147483647; 1146 | files = ( 1147 | ); 1148 | inputPaths = ( 1149 | ); 1150 | name = "Bundle React Native Code And Images"; 1151 | outputPaths = ( 1152 | ); 1153 | runOnlyForDeploymentPostprocessing = 0; 1154 | shellPath = /bin/sh; 1155 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1156 | }; 1157 | /* End PBXShellScriptBuildPhase section */ 1158 | 1159 | /* Begin PBXSourcesBuildPhase section */ 1160 | 00E356EA1AD99517003FC87E /* Sources */ = { 1161 | isa = PBXSourcesBuildPhase; 1162 | buildActionMask = 2147483647; 1163 | files = ( 1164 | 00E356F31AD99517003FC87E /* ReduxTests.m in Sources */, 1165 | ); 1166 | runOnlyForDeploymentPostprocessing = 0; 1167 | }; 1168 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1169 | isa = PBXSourcesBuildPhase; 1170 | buildActionMask = 2147483647; 1171 | files = ( 1172 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1173 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1174 | ); 1175 | runOnlyForDeploymentPostprocessing = 0; 1176 | }; 1177 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1178 | isa = PBXSourcesBuildPhase; 1179 | buildActionMask = 2147483647; 1180 | files = ( 1181 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1182 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1183 | ); 1184 | runOnlyForDeploymentPostprocessing = 0; 1185 | }; 1186 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1187 | isa = PBXSourcesBuildPhase; 1188 | buildActionMask = 2147483647; 1189 | files = ( 1190 | 2DCD954D1E0B4F2C00145EB5 /* ReduxTests.m in Sources */, 1191 | ); 1192 | runOnlyForDeploymentPostprocessing = 0; 1193 | }; 1194 | /* End PBXSourcesBuildPhase section */ 1195 | 1196 | /* Begin PBXTargetDependency section */ 1197 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1198 | isa = PBXTargetDependency; 1199 | target = 13B07F861A680F5B00A75B9A /* Redux */; 1200 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1201 | }; 1202 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1203 | isa = PBXTargetDependency; 1204 | target = 2D02E47A1E0B4A5D006451C7 /* Redux-tvOS */; 1205 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1206 | }; 1207 | /* End PBXTargetDependency section */ 1208 | 1209 | /* Begin PBXVariantGroup section */ 1210 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1211 | isa = PBXVariantGroup; 1212 | children = ( 1213 | 13B07FB21A68108700A75B9A /* Base */, 1214 | ); 1215 | name = LaunchScreen.xib; 1216 | path = Redux; 1217 | sourceTree = ""; 1218 | }; 1219 | /* End PBXVariantGroup section */ 1220 | 1221 | /* Begin XCBuildConfiguration section */ 1222 | 00E356F61AD99517003FC87E /* Debug */ = { 1223 | isa = XCBuildConfiguration; 1224 | buildSettings = { 1225 | BUNDLE_LOADER = "$(TEST_HOST)"; 1226 | GCC_PREPROCESSOR_DEFINITIONS = ( 1227 | "DEBUG=1", 1228 | "$(inherited)", 1229 | ); 1230 | HEADER_SEARCH_PATHS = ( 1231 | "$(inherited)", 1232 | "$(SRCROOT)/../node_modules/react-native-spinkit/ios/**", 1233 | ); 1234 | INFOPLIST_FILE = ReduxTests/Info.plist; 1235 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1236 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1237 | LIBRARY_SEARCH_PATHS = ( 1238 | "$(inherited)", 1239 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1240 | ); 1241 | OTHER_LDFLAGS = ( 1242 | "-ObjC", 1243 | "-lc++", 1244 | ); 1245 | PRODUCT_NAME = "$(TARGET_NAME)"; 1246 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Redux.app/Redux"; 1247 | }; 1248 | name = Debug; 1249 | }; 1250 | 00E356F71AD99517003FC87E /* Release */ = { 1251 | isa = XCBuildConfiguration; 1252 | buildSettings = { 1253 | BUNDLE_LOADER = "$(TEST_HOST)"; 1254 | COPY_PHASE_STRIP = NO; 1255 | HEADER_SEARCH_PATHS = ( 1256 | "$(inherited)", 1257 | "$(SRCROOT)/../node_modules/react-native-spinkit/ios/**", 1258 | ); 1259 | INFOPLIST_FILE = ReduxTests/Info.plist; 1260 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1261 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1262 | LIBRARY_SEARCH_PATHS = ( 1263 | "$(inherited)", 1264 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1265 | ); 1266 | OTHER_LDFLAGS = ( 1267 | "-ObjC", 1268 | "-lc++", 1269 | ); 1270 | PRODUCT_NAME = "$(TARGET_NAME)"; 1271 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Redux.app/Redux"; 1272 | }; 1273 | name = Release; 1274 | }; 1275 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1276 | isa = XCBuildConfiguration; 1277 | buildSettings = { 1278 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1279 | CURRENT_PROJECT_VERSION = 1; 1280 | DEAD_CODE_STRIPPING = NO; 1281 | HEADER_SEARCH_PATHS = ( 1282 | "$(inherited)", 1283 | "$(SRCROOT)/../node_modules/react-native-spinkit/ios/**", 1284 | ); 1285 | INFOPLIST_FILE = Redux/Info.plist; 1286 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1287 | OTHER_LDFLAGS = ( 1288 | "$(inherited)", 1289 | "-ObjC", 1290 | "-lc++", 1291 | ); 1292 | PRODUCT_NAME = Redux; 1293 | VERSIONING_SYSTEM = "apple-generic"; 1294 | }; 1295 | name = Debug; 1296 | }; 1297 | 13B07F951A680F5B00A75B9A /* Release */ = { 1298 | isa = XCBuildConfiguration; 1299 | buildSettings = { 1300 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1301 | CURRENT_PROJECT_VERSION = 1; 1302 | HEADER_SEARCH_PATHS = ( 1303 | "$(inherited)", 1304 | "$(SRCROOT)/../node_modules/react-native-spinkit/ios/**", 1305 | ); 1306 | INFOPLIST_FILE = Redux/Info.plist; 1307 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1308 | OTHER_LDFLAGS = ( 1309 | "$(inherited)", 1310 | "-ObjC", 1311 | "-lc++", 1312 | ); 1313 | PRODUCT_NAME = Redux; 1314 | VERSIONING_SYSTEM = "apple-generic"; 1315 | }; 1316 | name = Release; 1317 | }; 1318 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1319 | isa = XCBuildConfiguration; 1320 | buildSettings = { 1321 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1322 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1323 | CLANG_ANALYZER_NONNULL = YES; 1324 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1325 | CLANG_WARN_INFINITE_RECURSION = YES; 1326 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1327 | DEBUG_INFORMATION_FORMAT = dwarf; 1328 | ENABLE_TESTABILITY = YES; 1329 | GCC_NO_COMMON_BLOCKS = YES; 1330 | HEADER_SEARCH_PATHS = ( 1331 | "$(inherited)", 1332 | "$(SRCROOT)/../node_modules/react-native-spinkit/ios/**", 1333 | ); 1334 | INFOPLIST_FILE = "Redux-tvOS/Info.plist"; 1335 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1336 | LIBRARY_SEARCH_PATHS = ( 1337 | "$(inherited)", 1338 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1339 | ); 1340 | OTHER_LDFLAGS = ( 1341 | "-ObjC", 1342 | "-lc++", 1343 | ); 1344 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Redux-tvOS"; 1345 | PRODUCT_NAME = "$(TARGET_NAME)"; 1346 | SDKROOT = appletvos; 1347 | TARGETED_DEVICE_FAMILY = 3; 1348 | TVOS_DEPLOYMENT_TARGET = 9.2; 1349 | }; 1350 | name = Debug; 1351 | }; 1352 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1353 | isa = XCBuildConfiguration; 1354 | buildSettings = { 1355 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1356 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1357 | CLANG_ANALYZER_NONNULL = YES; 1358 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1359 | CLANG_WARN_INFINITE_RECURSION = YES; 1360 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1361 | COPY_PHASE_STRIP = NO; 1362 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1363 | GCC_NO_COMMON_BLOCKS = YES; 1364 | HEADER_SEARCH_PATHS = ( 1365 | "$(inherited)", 1366 | "$(SRCROOT)/../node_modules/react-native-spinkit/ios/**", 1367 | ); 1368 | INFOPLIST_FILE = "Redux-tvOS/Info.plist"; 1369 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1370 | LIBRARY_SEARCH_PATHS = ( 1371 | "$(inherited)", 1372 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1373 | ); 1374 | OTHER_LDFLAGS = ( 1375 | "-ObjC", 1376 | "-lc++", 1377 | ); 1378 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Redux-tvOS"; 1379 | PRODUCT_NAME = "$(TARGET_NAME)"; 1380 | SDKROOT = appletvos; 1381 | TARGETED_DEVICE_FAMILY = 3; 1382 | TVOS_DEPLOYMENT_TARGET = 9.2; 1383 | }; 1384 | name = Release; 1385 | }; 1386 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1387 | isa = XCBuildConfiguration; 1388 | buildSettings = { 1389 | BUNDLE_LOADER = "$(TEST_HOST)"; 1390 | CLANG_ANALYZER_NONNULL = YES; 1391 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1392 | CLANG_WARN_INFINITE_RECURSION = YES; 1393 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1394 | DEBUG_INFORMATION_FORMAT = dwarf; 1395 | ENABLE_TESTABILITY = YES; 1396 | GCC_NO_COMMON_BLOCKS = YES; 1397 | HEADER_SEARCH_PATHS = ( 1398 | "$(inherited)", 1399 | "$(SRCROOT)/../node_modules/react-native-spinkit/ios/**", 1400 | ); 1401 | INFOPLIST_FILE = "Redux-tvOSTests/Info.plist"; 1402 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1403 | LIBRARY_SEARCH_PATHS = ( 1404 | "$(inherited)", 1405 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1406 | ); 1407 | OTHER_LDFLAGS = ( 1408 | "-ObjC", 1409 | "-lc++", 1410 | ); 1411 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Redux-tvOSTests"; 1412 | PRODUCT_NAME = "$(TARGET_NAME)"; 1413 | SDKROOT = appletvos; 1414 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Redux-tvOS.app/Redux-tvOS"; 1415 | TVOS_DEPLOYMENT_TARGET = 10.1; 1416 | }; 1417 | name = Debug; 1418 | }; 1419 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1420 | isa = XCBuildConfiguration; 1421 | buildSettings = { 1422 | BUNDLE_LOADER = "$(TEST_HOST)"; 1423 | CLANG_ANALYZER_NONNULL = YES; 1424 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1425 | CLANG_WARN_INFINITE_RECURSION = YES; 1426 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1427 | COPY_PHASE_STRIP = NO; 1428 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1429 | GCC_NO_COMMON_BLOCKS = YES; 1430 | HEADER_SEARCH_PATHS = ( 1431 | "$(inherited)", 1432 | "$(SRCROOT)/../node_modules/react-native-spinkit/ios/**", 1433 | ); 1434 | INFOPLIST_FILE = "Redux-tvOSTests/Info.plist"; 1435 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1436 | LIBRARY_SEARCH_PATHS = ( 1437 | "$(inherited)", 1438 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1439 | ); 1440 | OTHER_LDFLAGS = ( 1441 | "-ObjC", 1442 | "-lc++", 1443 | ); 1444 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Redux-tvOSTests"; 1445 | PRODUCT_NAME = "$(TARGET_NAME)"; 1446 | SDKROOT = appletvos; 1447 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Redux-tvOS.app/Redux-tvOS"; 1448 | TVOS_DEPLOYMENT_TARGET = 10.1; 1449 | }; 1450 | name = Release; 1451 | }; 1452 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1453 | isa = XCBuildConfiguration; 1454 | buildSettings = { 1455 | ALWAYS_SEARCH_USER_PATHS = NO; 1456 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1457 | CLANG_CXX_LIBRARY = "libc++"; 1458 | CLANG_ENABLE_MODULES = YES; 1459 | CLANG_ENABLE_OBJC_ARC = YES; 1460 | CLANG_WARN_BOOL_CONVERSION = YES; 1461 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1462 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1463 | CLANG_WARN_EMPTY_BODY = YES; 1464 | CLANG_WARN_ENUM_CONVERSION = YES; 1465 | CLANG_WARN_INT_CONVERSION = YES; 1466 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1467 | CLANG_WARN_UNREACHABLE_CODE = YES; 1468 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1469 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1470 | COPY_PHASE_STRIP = NO; 1471 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1472 | GCC_C_LANGUAGE_STANDARD = gnu99; 1473 | GCC_DYNAMIC_NO_PIC = NO; 1474 | GCC_OPTIMIZATION_LEVEL = 0; 1475 | GCC_PREPROCESSOR_DEFINITIONS = ( 1476 | "DEBUG=1", 1477 | "$(inherited)", 1478 | ); 1479 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1480 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1481 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1482 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1483 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1484 | GCC_WARN_UNUSED_FUNCTION = YES; 1485 | GCC_WARN_UNUSED_VARIABLE = YES; 1486 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1487 | MTL_ENABLE_DEBUG_INFO = YES; 1488 | ONLY_ACTIVE_ARCH = YES; 1489 | SDKROOT = iphoneos; 1490 | }; 1491 | name = Debug; 1492 | }; 1493 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1494 | isa = XCBuildConfiguration; 1495 | buildSettings = { 1496 | ALWAYS_SEARCH_USER_PATHS = NO; 1497 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1498 | CLANG_CXX_LIBRARY = "libc++"; 1499 | CLANG_ENABLE_MODULES = YES; 1500 | CLANG_ENABLE_OBJC_ARC = YES; 1501 | CLANG_WARN_BOOL_CONVERSION = YES; 1502 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1503 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1504 | CLANG_WARN_EMPTY_BODY = YES; 1505 | CLANG_WARN_ENUM_CONVERSION = YES; 1506 | CLANG_WARN_INT_CONVERSION = YES; 1507 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1508 | CLANG_WARN_UNREACHABLE_CODE = YES; 1509 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1510 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1511 | COPY_PHASE_STRIP = YES; 1512 | ENABLE_NS_ASSERTIONS = NO; 1513 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1514 | GCC_C_LANGUAGE_STANDARD = gnu99; 1515 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1516 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1517 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1518 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1519 | GCC_WARN_UNUSED_FUNCTION = YES; 1520 | GCC_WARN_UNUSED_VARIABLE = YES; 1521 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1522 | MTL_ENABLE_DEBUG_INFO = NO; 1523 | SDKROOT = iphoneos; 1524 | VALIDATE_PRODUCT = YES; 1525 | }; 1526 | name = Release; 1527 | }; 1528 | /* End XCBuildConfiguration section */ 1529 | 1530 | /* Begin XCConfigurationList section */ 1531 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReduxTests" */ = { 1532 | isa = XCConfigurationList; 1533 | buildConfigurations = ( 1534 | 00E356F61AD99517003FC87E /* Debug */, 1535 | 00E356F71AD99517003FC87E /* Release */, 1536 | ); 1537 | defaultConfigurationIsVisible = 0; 1538 | defaultConfigurationName = Release; 1539 | }; 1540 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Redux" */ = { 1541 | isa = XCConfigurationList; 1542 | buildConfigurations = ( 1543 | 13B07F941A680F5B00A75B9A /* Debug */, 1544 | 13B07F951A680F5B00A75B9A /* Release */, 1545 | ); 1546 | defaultConfigurationIsVisible = 0; 1547 | defaultConfigurationName = Release; 1548 | }; 1549 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Redux-tvOS" */ = { 1550 | isa = XCConfigurationList; 1551 | buildConfigurations = ( 1552 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1553 | 2D02E4981E0B4A5E006451C7 /* Release */, 1554 | ); 1555 | defaultConfigurationIsVisible = 0; 1556 | defaultConfigurationName = Release; 1557 | }; 1558 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Redux-tvOSTests" */ = { 1559 | isa = XCConfigurationList; 1560 | buildConfigurations = ( 1561 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1562 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1563 | ); 1564 | defaultConfigurationIsVisible = 0; 1565 | defaultConfigurationName = Release; 1566 | }; 1567 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Redux" */ = { 1568 | isa = XCConfigurationList; 1569 | buildConfigurations = ( 1570 | 83CBBA201A601CBA00E9B192 /* Debug */, 1571 | 83CBBA211A601CBA00E9B192 /* Release */, 1572 | ); 1573 | defaultConfigurationIsVisible = 0; 1574 | defaultConfigurationName = Release; 1575 | }; 1576 | /* End XCConfigurationList section */ 1577 | }; 1578 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1579 | } 1580 | --------------------------------------------------------------------------------