├── .babelrc ├── .buckconfig ├── .eslintrc ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── App.js ├── __tests__ └── App.js ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── awesomeproject │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── drawable-hdpi │ │ └── launch_screen.png │ │ ├── drawable-xhdpi │ │ └── launch_screen.png │ │ ├── drawable-xxhdpi │ │ └── launch_screen.png │ │ ├── drawable-xxxhdpi │ │ └── launch_screen.png │ │ ├── layout │ │ └── launch_screen.xml │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-ldpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ └── ic_launcher.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── keystores │ ├── BUCK │ └── debug.keystore.properties └── settings.gradle ├── app.json ├── index.js ├── ios ├── AwesomeProject-tvOS │ └── Info.plist ├── AwesomeProject-tvOSTests │ └── Info.plist ├── AwesomeProject.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── AwesomeProject-tvOS.xcscheme │ │ └── AwesomeProject.xcscheme ├── AwesomeProject │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ └── ItunesArtwork@2x.png │ │ ├── Contents.json │ │ └── LaunchImage.launchimage │ │ │ ├── Contents.json │ │ │ ├── Default1125x2436.png │ │ │ ├── Default1242x2208.png │ │ │ ├── Default2208x1242.png │ │ │ ├── Default2436x1125.png │ │ │ ├── Default640x1136.png │ │ │ ├── Default640x960.png │ │ │ └── Default750x1334.png │ ├── Info.plist │ └── main.m ├── AwesomeProjectTests │ ├── AwesomeProjectTests.m │ └── Info.plist └── bundle │ ├── assets │ └── src │ │ └── assets │ │ └── images │ │ ├── tab_home.png │ │ ├── tab_home_active.png │ │ ├── test.png │ │ ├── test@2x.png │ │ ├── test@3x.png │ │ ├── toast_error.png │ │ └── toast_succeed.png │ ├── index.ios.jsbundle │ └── index.ios.jsbundle.meta ├── package.json ├── readme.md ├── src ├── assets │ └── images │ │ ├── tab_home.png │ │ ├── tab_home_active.png │ │ ├── test.png │ │ ├── test@2x.png │ │ ├── test@3x.png │ │ ├── toast_error.png │ │ └── toast_succeed.png ├── components │ └── XgToast.js ├── config │ ├── pxToDp.js │ ├── route.js │ ├── xgHttp.js │ └── xgRequest.js ├── redux │ ├── actions.js │ ├── reducers.js │ └── store.js └── screens │ ├── ScreenBottomTab │ └── index.js │ ├── ScreenHome │ ├── index.js │ ├── style.js │ └── view.js │ ├── ScreenSome1 │ ├── index.js │ ├── style.js │ └── view.js │ ├── ScreenSome2 │ ├── index.js │ ├── style.js │ └── view.js │ ├── ScreenTab1 │ ├── index.js │ ├── style.js │ └── view.js │ ├── ScreenTab2 │ ├── index.js │ ├── style.js │ └── view.js │ ├── ScreenTab3 │ ├── index.js │ ├── style.js │ └── view.js │ └── ScreenWebView │ └── index.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } 4 | -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "parser": "babel-eslint", 3 | "extends": "airbnb", 4 | "plugins": ["react", "jsx-a11y", "import"], 5 | "rules": { 6 | "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], 7 | "react/prop-types": 0, 8 | "global-require": 0 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | ; Ignore metro 20 | .*/node_modules/metro/.* 21 | 22 | [include] 23 | 24 | [libs] 25 | node_modules/react-native/Libraries/react-native/react-native-interface.js 26 | node_modules/react-native/flow/ 27 | node_modules/react-native/flow-github/ 28 | 29 | [options] 30 | emoji=true 31 | 32 | module.system=haste 33 | 34 | munge_underscores=true 35 | 36 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 37 | 38 | module.file_ext=.js 39 | module.file_ext=.jsx 40 | module.file_ext=.json 41 | module.file_ext=.native.js 42 | 43 | suppress_type=$FlowIssue 44 | suppress_type=$FlowFixMe 45 | suppress_type=$FlowFixMeProps 46 | suppress_type=$FlowFixMeState 47 | 48 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 49 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 50 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 51 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 52 | 53 | unsafe.enable_getters_and_setters=true 54 | 55 | [version] 56 | ^0.61.0 57 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /App.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { NetInfo } from 'react-native'; 3 | 4 | // redux 相关 5 | import { connect } from 'react-redux'; 6 | import { bindActionCreators } from 'redux'; 7 | import * as actionCreators from './src/redux/actions'; 8 | 9 | import Main from './src/config/route'; 10 | 11 | class ReduxRoute extends Component { 12 | constructor(props) { 13 | super(props); 14 | } 15 | 16 | componentDidMount() { 17 | this.checkNet(); 18 | } 19 | 20 | // 检测网络是否连接 21 | async checkNet() { 22 | const netInfo = await NetInfo.getConnectionInfo(); 23 | this.props.setUserInfo({ connectNetType: netInfo.type }); 24 | 25 | NetInfo.addEventListener('connectionChange', (netInfoObj) => { 26 | this.props.setUserInfo({ connectNetType: netInfoObj.type }); 27 | }); 28 | } 29 | 30 | render() { 31 | return
; 32 | } 33 | } 34 | 35 | // 关联 redux store 36 | function mapStateToProps(state) { 37 | return { 38 | userInfo: state.reducers.userInfo, 39 | }; 40 | } 41 | 42 | function mapDispatchToProps(dispatch) { 43 | return bindActionCreators(actionCreators, dispatch); 44 | } 45 | 46 | export default connect(mapStateToProps, mapDispatchToProps)(ReduxRoute); 47 | -------------------------------------------------------------------------------- /__tests__/App.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import App from '../App'; 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 | -------------------------------------------------------------------------------- /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.awesomeproject", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.awesomeproject", 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 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 37 | * // for example: to disable dev mode in the staging build type (if configured) 38 | * devDisabledInStaging: true, 39 | * // The configuration property can be in the following formats 40 | * // 'devDisabledIn${productFlavor}${buildType}' 41 | * // 'devDisabledIn${buildType}' 42 | * 43 | * // the root of your project, i.e. where "package.json" lives 44 | * root: "../../", 45 | * 46 | * // where to put the JS bundle asset in debug mode 47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 48 | * 49 | * // where to put the JS bundle asset in release mode 50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 51 | * 52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 53 | * // require('./image.png')), in debug mode 54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 55 | * 56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 57 | * // require('./image.png')), in release mode 58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 59 | * 60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 64 | * // for example, you might want to remove it from here. 65 | * inputExcludes: ["android/**", "ios/**"], 66 | * 67 | * // override which node gets called and with what additional arguments 68 | * nodeExecutableAndArgs: ["node"], 69 | * 70 | * // supply additional arguments to the packager 71 | * extraPackagerArgs: [] 72 | * ] 73 | */ 74 | 75 | project.ext.react = [ 76 | entryFile: "index.js" 77 | ] 78 | 79 | apply from: "../../node_modules/react-native/react.gradle" 80 | 81 | /** 82 | * Set this to true to create two separate APKs instead of one: 83 | * - An APK that only works on ARM devices 84 | * - An APK that only works on x86 devices 85 | * The advantage is the size of the APK is reduced by about 4MB. 86 | * Upload all the APKs to the Play Store and people will download 87 | * the correct one based on the CPU architecture of their device. 88 | */ 89 | def enableSeparateBuildPerCPUArchitecture = false 90 | 91 | /** 92 | * Run Proguard to shrink the Java bytecode in release builds. 93 | */ 94 | def enableProguardInReleaseBuilds = false 95 | 96 | android { 97 | compileSdkVersion 23 98 | buildToolsVersion "23.0.1" 99 | 100 | defaultConfig { 101 | applicationId "com.awesomeproject1" 102 | minSdkVersion 16 103 | targetSdkVersion 22 104 | versionCode 1 105 | versionName "1.0" 106 | ndk { 107 | abiFilters "armeabi-v7a", "x86" 108 | } 109 | } 110 | splits { 111 | abi { 112 | reset() 113 | enable enableSeparateBuildPerCPUArchitecture 114 | universalApk false // If true, also generate a universal APK 115 | include "armeabi-v7a", "x86" 116 | } 117 | } 118 | signingConfigs { 119 | release { 120 | if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) { 121 | storeFile file(MYAPP_RELEASE_STORE_FILE) 122 | storePassword MYAPP_RELEASE_STORE_PASSWORD 123 | keyAlias MYAPP_RELEASE_KEY_ALIAS 124 | keyPassword MYAPP_RELEASE_KEY_PASSWORD 125 | } 126 | } 127 | } 128 | buildTypes { 129 | release { 130 | minifyEnabled enableProguardInReleaseBuilds 131 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 132 | signingConfig signingConfigs.release 133 | } 134 | } 135 | // applicationVariants are e.g. debug, release 136 | applicationVariants.all { variant -> 137 | variant.outputs.each { output -> 138 | // For each separate APK per architecture, set a unique version code as described here: 139 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 140 | def versionCodes = ["armeabi-v7a":1, "x86":2] 141 | def abi = output.getFilter(OutputFile.ABI) 142 | if (abi != null) { // null for the universal-debug, universal-release variants 143 | output.versionCodeOverride = 144 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 145 | } 146 | } 147 | } 148 | } 149 | 150 | dependencies { 151 | compile project(':react-native-splash-screen') 152 | compile fileTree(dir: "libs", include: ["*.jar"]) 153 | compile "com.android.support:appcompat-v7:23.0.1" 154 | compile "com.facebook.react:react-native:+" // From node_modules 155 | } 156 | 157 | // Run this once to be able to run the application with BUCK 158 | // puts all compile dependencies into folder libs for BUCK to use 159 | task copyDownloadableDepsToLibs(type: Copy) { 160 | from configurations.compile 161 | into 'libs' 162 | } 163 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout. 54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details. 55 | -dontwarn android.text.StaticLayout 56 | 57 | # okhttp 58 | 59 | -keepattributes Signature 60 | -keepattributes *Annotation* 61 | -keep class okhttp3.** { *; } 62 | -keep interface okhttp3.** { *; } 63 | -dontwarn okhttp3.** 64 | 65 | # okio 66 | 67 | -keep class sun.misc.Unsafe { *; } 68 | -dontwarn java.nio.file.* 69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 70 | -dontwarn okio.** 71 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/awesomeproject/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.awesomeproject; 2 | 3 | import android.os.Bundle; // 启动页 4 | import com.facebook.react.ReactActivity; 5 | import org.devio.rn.splashscreen.SplashScreen; // 启动页 6 | 7 | public class MainActivity extends ReactActivity { 8 | // 启动页相关 9 | @Override 10 | protected void onCreate(Bundle savedInstanceState) { 11 | SplashScreen.show(this); // here 12 | super.onCreate(savedInstanceState); 13 | } 14 | 15 | /** 16 | * Returns the name of the main component registered from JavaScript. 17 | * This is used to schedule rendering of the component. 18 | */ 19 | @Override 20 | protected String getMainComponentName() { 21 | return "AwesomeProject"; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/awesomeproject/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.awesomeproject; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import org.devio.rn.splashscreen.SplashScreenReactPackage; 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 SplashScreenReactPackage() 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 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-hdpi/launch_screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/android/app/src/main/res/drawable-hdpi/launch_screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/launch_screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/android/app/src/main/res/drawable-xhdpi/launch_screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/launch_screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/android/app/src/main/res/drawable-xxhdpi/launch_screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/launch_screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/android/app/src/main/res/drawable-xxxhdpi/launch_screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/layout/launch_screen.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/android/app/src/main/res/mipmap-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | #000000 5 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 嘿嘿嘿 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /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 | //新的插件需要在google仓库下载 6 | google() 7 | jcenter() 8 | } 9 | dependencies { 10 | classpath 'com.android.tools.build:gradle:3.0.1' 11 | 12 | // NOTE: Do not place your application dependencies here; they belong 13 | // in the individual module build.gradle files 14 | } 15 | } 16 | 17 | allprojects { 18 | repositories { 19 | mavenLocal() 20 | jcenter() 21 | maven { 22 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 23 | url "$rootDir/../node_modules/react-native/android" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | ## Project-wide Gradle settings. 2 | # 3 | # For more details on how to configure your build environment visit 4 | # http://www.gradle.org/docs/current/userguide/build_environment.html 5 | # 6 | # Specifies the JVM arguments used for the daemon process. 7 | # The setting is particularly useful for tweaking memory settings. 8 | # Default value: -Xmx1024m -XX:MaxPermSize=256m 9 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 10 | # 11 | # When configured, Gradle will run in incubating parallel mode. 12 | # This option should only be used with decoupled projects. More details, visit 13 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 14 | # org.gradle.parallel=true 15 | #Fri Feb 02 15:20:12 HKT 2018 16 | systemProp.https.proxyPort=1087 17 | systemProp.http.proxyHost=127.0.0.1 18 | systemProp.https.proxyHost=127.0.0.1 19 | systemProp.http.proxyPort=1087 20 | android.useDeprecatedNdk=true 21 | 22 | # key 23 | MYAPP_RELEASE_STORE_FILE=react-native-demo.keystore 24 | MYAPP_RELEASE_KEY_ALIAS=react-native-demo 25 | MYAPP_RELEASE_STORE_PASSWORD=123456 26 | MYAPP_RELEASE_KEY_PASSWORD=123456 27 | 28 | # 解决错误:Execution failed for task ':app:processReleaseResources' 29 | classpath 'com.android.tools.build:gradle:3.0.0' 30 | distributionUrl=https://services.gradle.org/distributions/gradle-4.1-all.zip 31 | android.enableAapt2=false 32 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Feb 02 15:20:47 HKT 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.1-all.zip 7 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /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/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'AwesomeProject' 2 | include ':react-native-splash-screen' 3 | project(':react-native-splash-screen').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-splash-screen/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AwesomeProject", 3 | "displayName": "AwesomeProject" 4 | } -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { AppRegistry } from 'react-native'; 3 | import { Provider } from 'react-redux'; 4 | import { PersistGate } from 'redux-persist/es/integration/react'; 5 | import App from './App'; 6 | import configureStore from './src/redux/store'; 7 | 8 | const { persistor, store } = configureStore(); 9 | 10 | const ReduxApp = () => ( 11 | // 配置 Provider 为根组件,同时传入 store 作为其属性 12 | 13 | {/* redux 持久化存储 */} 14 | 15 | 16 | 17 | 18 | ); 19 | 20 | AppRegistry.registerComponent('AwesomeProject', () => ReduxApp); 21 | -------------------------------------------------------------------------------- /ios/AwesomeProject-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 | -------------------------------------------------------------------------------- /ios/AwesomeProject-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 | -------------------------------------------------------------------------------- /ios/AwesomeProject.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 /* AwesomeProjectTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* AwesomeProjectTests.m */; }; 16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 21 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 22 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 23 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 25 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 26 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 27 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 28 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 29 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 30 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 31 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 32 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 33 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; }; 34 | 2DCD954D1E0B4F2C00145EB5 /* AwesomeProjectTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* AwesomeProjectTests.m */; }; 35 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 36 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 37 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 38 | C17C5D87203423D90027EC86 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C17C5D86203423D90027EC86 /* Images.xcassets */; }; 39 | C1CF801120440110007D5B5F /* bundle in Resources */ = {isa = PBXBuildFile; fileRef = C1CF801020440110007D5B5F /* bundle */; }; 40 | D15E014863A646AF9F4578EA /* libSplashScreen.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 74BB69BE874A4C629BF1CE87 /* libSplashScreen.a */; }; 41 | /* End PBXBuildFile section */ 42 | 43 | /* Begin PBXContainerItemProxy section */ 44 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 45 | isa = PBXContainerItemProxy; 46 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 47 | proxyType = 2; 48 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 49 | remoteInfo = RCTActionSheet; 50 | }; 51 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 52 | isa = PBXContainerItemProxy; 53 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 54 | proxyType = 2; 55 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 56 | remoteInfo = RCTGeolocation; 57 | }; 58 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 59 | isa = PBXContainerItemProxy; 60 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 61 | proxyType = 2; 62 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 63 | remoteInfo = RCTImage; 64 | }; 65 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 66 | isa = PBXContainerItemProxy; 67 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 68 | proxyType = 2; 69 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 70 | remoteInfo = RCTNetwork; 71 | }; 72 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 73 | isa = PBXContainerItemProxy; 74 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 75 | proxyType = 2; 76 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 77 | remoteInfo = RCTVibration; 78 | }; 79 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 80 | isa = PBXContainerItemProxy; 81 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 82 | proxyType = 1; 83 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 84 | remoteInfo = AwesomeProject; 85 | }; 86 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 87 | isa = PBXContainerItemProxy; 88 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 89 | proxyType = 2; 90 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 91 | remoteInfo = RCTSettings; 92 | }; 93 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 94 | isa = PBXContainerItemProxy; 95 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 96 | proxyType = 2; 97 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 98 | remoteInfo = RCTWebSocket; 99 | }; 100 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 101 | isa = PBXContainerItemProxy; 102 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 103 | proxyType = 2; 104 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 105 | remoteInfo = React; 106 | }; 107 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 108 | isa = PBXContainerItemProxy; 109 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 110 | proxyType = 1; 111 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 112 | remoteInfo = "AwesomeProject-tvOS"; 113 | }; 114 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 115 | isa = PBXContainerItemProxy; 116 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 117 | proxyType = 2; 118 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 119 | remoteInfo = "RCTBlob-tvOS"; 120 | }; 121 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 122 | isa = PBXContainerItemProxy; 123 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 124 | proxyType = 2; 125 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 126 | remoteInfo = fishhook; 127 | }; 128 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 129 | isa = PBXContainerItemProxy; 130 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 131 | proxyType = 2; 132 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 133 | remoteInfo = "fishhook-tvOS"; 134 | }; 135 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 136 | isa = PBXContainerItemProxy; 137 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 138 | proxyType = 2; 139 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 140 | remoteInfo = "RCTImage-tvOS"; 141 | }; 142 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 143 | isa = PBXContainerItemProxy; 144 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 145 | proxyType = 2; 146 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 147 | remoteInfo = "RCTLinking-tvOS"; 148 | }; 149 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 150 | isa = PBXContainerItemProxy; 151 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 152 | proxyType = 2; 153 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 154 | remoteInfo = "RCTNetwork-tvOS"; 155 | }; 156 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 157 | isa = PBXContainerItemProxy; 158 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 159 | proxyType = 2; 160 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 161 | remoteInfo = "RCTSettings-tvOS"; 162 | }; 163 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 164 | isa = PBXContainerItemProxy; 165 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 166 | proxyType = 2; 167 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 168 | remoteInfo = "RCTText-tvOS"; 169 | }; 170 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 171 | isa = PBXContainerItemProxy; 172 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 173 | proxyType = 2; 174 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 175 | remoteInfo = "RCTWebSocket-tvOS"; 176 | }; 177 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 178 | isa = PBXContainerItemProxy; 179 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 180 | proxyType = 2; 181 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 182 | remoteInfo = "React-tvOS"; 183 | }; 184 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 185 | isa = PBXContainerItemProxy; 186 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 187 | proxyType = 2; 188 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 189 | remoteInfo = yoga; 190 | }; 191 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 192 | isa = PBXContainerItemProxy; 193 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 194 | proxyType = 2; 195 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 196 | remoteInfo = "yoga-tvOS"; 197 | }; 198 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 199 | isa = PBXContainerItemProxy; 200 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 201 | proxyType = 2; 202 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 203 | remoteInfo = cxxreact; 204 | }; 205 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 206 | isa = PBXContainerItemProxy; 207 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 208 | proxyType = 2; 209 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 210 | remoteInfo = "cxxreact-tvOS"; 211 | }; 212 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 213 | isa = PBXContainerItemProxy; 214 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 215 | proxyType = 2; 216 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 217 | remoteInfo = jschelpers; 218 | }; 219 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 220 | isa = PBXContainerItemProxy; 221 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 222 | proxyType = 2; 223 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 224 | remoteInfo = "jschelpers-tvOS"; 225 | }; 226 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 227 | isa = PBXContainerItemProxy; 228 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 229 | proxyType = 2; 230 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 231 | remoteInfo = RCTAnimation; 232 | }; 233 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 234 | isa = PBXContainerItemProxy; 235 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 236 | proxyType = 2; 237 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 238 | remoteInfo = "RCTAnimation-tvOS"; 239 | }; 240 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 241 | isa = PBXContainerItemProxy; 242 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 243 | proxyType = 2; 244 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 245 | remoteInfo = RCTLinking; 246 | }; 247 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 248 | isa = PBXContainerItemProxy; 249 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 250 | proxyType = 2; 251 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 252 | remoteInfo = RCTText; 253 | }; 254 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 255 | isa = PBXContainerItemProxy; 256 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 257 | proxyType = 2; 258 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 259 | remoteInfo = RCTBlob; 260 | }; 261 | C17C5CDF203414790027EC86 /* PBXContainerItemProxy */ = { 262 | isa = PBXContainerItemProxy; 263 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 264 | proxyType = 2; 265 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 266 | remoteInfo = "third-party"; 267 | }; 268 | C17C5CE1203414790027EC86 /* PBXContainerItemProxy */ = { 269 | isa = PBXContainerItemProxy; 270 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 271 | proxyType = 2; 272 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 273 | remoteInfo = "third-party-tvOS"; 274 | }; 275 | C17C5CE3203414790027EC86 /* PBXContainerItemProxy */ = { 276 | isa = PBXContainerItemProxy; 277 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 278 | proxyType = 2; 279 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 280 | remoteInfo = "double-conversion"; 281 | }; 282 | C17C5CE5203414790027EC86 /* PBXContainerItemProxy */ = { 283 | isa = PBXContainerItemProxy; 284 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 285 | proxyType = 2; 286 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 287 | remoteInfo = "double-conversion-tvOS"; 288 | }; 289 | C17C5CE7203414790027EC86 /* PBXContainerItemProxy */ = { 290 | isa = PBXContainerItemProxy; 291 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 292 | proxyType = 2; 293 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04; 294 | remoteInfo = privatedata; 295 | }; 296 | C17C5CE9203414790027EC86 /* PBXContainerItemProxy */ = { 297 | isa = PBXContainerItemProxy; 298 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 299 | proxyType = 2; 300 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04; 301 | remoteInfo = "privatedata-tvOS"; 302 | }; 303 | C17C5D1E20341DCE0027EC86 /* PBXContainerItemProxy */ = { 304 | isa = PBXContainerItemProxy; 305 | containerPortal = 253FAAA3F6A949979131CA54 /* SplashScreen.xcodeproj */; 306 | proxyType = 2; 307 | remoteGlobalIDString = 3D7682761D8E76B80014119E; 308 | remoteInfo = SplashScreen; 309 | }; 310 | /* End PBXContainerItemProxy section */ 311 | 312 | /* Begin PBXFileReference section */ 313 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 314 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 315 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 316 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 317 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 318 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 319 | 00E356EE1AD99517003FC87E /* AwesomeProjectTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AwesomeProjectTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 320 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 321 | 00E356F21AD99517003FC87E /* AwesomeProjectTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AwesomeProjectTests.m; sourceTree = ""; }; 322 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 323 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 324 | 13B07F961A680F5B00A75B9A /* AwesomeProject.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AwesomeProject.app; sourceTree = BUILT_PRODUCTS_DIR; }; 325 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = AwesomeProject/AppDelegate.h; sourceTree = ""; }; 326 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = AwesomeProject/AppDelegate.m; sourceTree = ""; }; 327 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 328 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = AwesomeProject/Info.plist; sourceTree = ""; }; 329 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = AwesomeProject/main.m; sourceTree = ""; }; 330 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 331 | 253FAAA3F6A949979131CA54 /* SplashScreen.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = SplashScreen.xcodeproj; path = "../node_modules/react-native-splash-screen/ios/SplashScreen.xcodeproj"; sourceTree = ""; }; 332 | 2D02E47B1E0B4A5D006451C7 /* AwesomeProject-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "AwesomeProject-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 333 | 2D02E4901E0B4A5D006451C7 /* AwesomeProject-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "AwesomeProject-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 334 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 335 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 336 | 74BB69BE874A4C629BF1CE87 /* libSplashScreen.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libSplashScreen.a; sourceTree = ""; }; 337 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 338 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 339 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 340 | C17C5D86203423D90027EC86 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = AwesomeProject/Images.xcassets; sourceTree = ""; }; 341 | C1CF801020440110007D5B5F /* bundle */ = {isa = PBXFileReference; lastKnownFileType = folder; path = bundle; sourceTree = ""; }; 342 | /* End PBXFileReference section */ 343 | 344 | /* Begin PBXFrameworksBuildPhase section */ 345 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 346 | isa = PBXFrameworksBuildPhase; 347 | buildActionMask = 2147483647; 348 | files = ( 349 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 350 | ); 351 | runOnlyForDeploymentPostprocessing = 0; 352 | }; 353 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 354 | isa = PBXFrameworksBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 358 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 359 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 360 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 361 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 362 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 363 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 364 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 365 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 366 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 367 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 368 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 369 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 370 | D15E014863A646AF9F4578EA /* libSplashScreen.a in Frameworks */, 371 | ); 372 | runOnlyForDeploymentPostprocessing = 0; 373 | }; 374 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 375 | isa = PBXFrameworksBuildPhase; 376 | buildActionMask = 2147483647; 377 | files = ( 378 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 379 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 380 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 381 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 382 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 383 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 384 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 385 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 386 | ); 387 | runOnlyForDeploymentPostprocessing = 0; 388 | }; 389 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 390 | isa = PBXFrameworksBuildPhase; 391 | buildActionMask = 2147483647; 392 | files = ( 393 | ); 394 | runOnlyForDeploymentPostprocessing = 0; 395 | }; 396 | /* End PBXFrameworksBuildPhase section */ 397 | 398 | /* Begin PBXGroup section */ 399 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 400 | isa = PBXGroup; 401 | children = ( 402 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 403 | ); 404 | name = Products; 405 | sourceTree = ""; 406 | }; 407 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 408 | isa = PBXGroup; 409 | children = ( 410 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 411 | ); 412 | name = Products; 413 | sourceTree = ""; 414 | }; 415 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 416 | isa = PBXGroup; 417 | children = ( 418 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 419 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 420 | ); 421 | name = Products; 422 | sourceTree = ""; 423 | }; 424 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 425 | isa = PBXGroup; 426 | children = ( 427 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 428 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 429 | ); 430 | name = Products; 431 | sourceTree = ""; 432 | }; 433 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 434 | isa = PBXGroup; 435 | children = ( 436 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 437 | ); 438 | name = Products; 439 | sourceTree = ""; 440 | }; 441 | 00E356EF1AD99517003FC87E /* AwesomeProjectTests */ = { 442 | isa = PBXGroup; 443 | children = ( 444 | 00E356F21AD99517003FC87E /* AwesomeProjectTests.m */, 445 | 00E356F01AD99517003FC87E /* Supporting Files */, 446 | ); 447 | path = AwesomeProjectTests; 448 | sourceTree = ""; 449 | }; 450 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 451 | isa = PBXGroup; 452 | children = ( 453 | 00E356F11AD99517003FC87E /* Info.plist */, 454 | ); 455 | name = "Supporting Files"; 456 | sourceTree = ""; 457 | }; 458 | 139105B71AF99BAD00B5F7CC /* Products */ = { 459 | isa = PBXGroup; 460 | children = ( 461 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 462 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 463 | ); 464 | name = Products; 465 | sourceTree = ""; 466 | }; 467 | 139FDEE71B06529A00C62182 /* Products */ = { 468 | isa = PBXGroup; 469 | children = ( 470 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 471 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 472 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, 473 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, 474 | ); 475 | name = Products; 476 | sourceTree = ""; 477 | }; 478 | 13B07FAE1A68108700A75B9A /* AwesomeProject */ = { 479 | isa = PBXGroup; 480 | children = ( 481 | C1CF801020440110007D5B5F /* bundle */, 482 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 483 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 484 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 485 | C17C5D86203423D90027EC86 /* Images.xcassets */, 486 | 13B07FB61A68108700A75B9A /* Info.plist */, 487 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 488 | 13B07FB71A68108700A75B9A /* main.m */, 489 | ); 490 | name = AwesomeProject; 491 | sourceTree = ""; 492 | }; 493 | 146834001AC3E56700842450 /* Products */ = { 494 | isa = PBXGroup; 495 | children = ( 496 | 146834041AC3E56700842450 /* libReact.a */, 497 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 498 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 499 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 500 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 501 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 502 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 503 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 504 | C17C5CE0203414790027EC86 /* libthird-party.a */, 505 | C17C5CE2203414790027EC86 /* libthird-party.a */, 506 | C17C5CE4203414790027EC86 /* libdouble-conversion.a */, 507 | C17C5CE6203414790027EC86 /* libdouble-conversion.a */, 508 | C17C5CE8203414790027EC86 /* libprivatedata.a */, 509 | C17C5CEA203414790027EC86 /* libprivatedata-tvOS.a */, 510 | ); 511 | name = Products; 512 | sourceTree = ""; 513 | }; 514 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 515 | isa = PBXGroup; 516 | children = ( 517 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 518 | ); 519 | name = Frameworks; 520 | sourceTree = ""; 521 | }; 522 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 523 | isa = PBXGroup; 524 | children = ( 525 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 526 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 527 | ); 528 | name = Products; 529 | sourceTree = ""; 530 | }; 531 | 78C398B11ACF4ADC00677621 /* Products */ = { 532 | isa = PBXGroup; 533 | children = ( 534 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 535 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 536 | ); 537 | name = Products; 538 | sourceTree = ""; 539 | }; 540 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 541 | isa = PBXGroup; 542 | children = ( 543 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 544 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 545 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 546 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 547 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 548 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 549 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 550 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 551 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 552 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 553 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 554 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 555 | 253FAAA3F6A949979131CA54 /* SplashScreen.xcodeproj */, 556 | ); 557 | name = Libraries; 558 | sourceTree = ""; 559 | }; 560 | 832341B11AAA6A8300B99B32 /* Products */ = { 561 | isa = PBXGroup; 562 | children = ( 563 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 564 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 565 | ); 566 | name = Products; 567 | sourceTree = ""; 568 | }; 569 | 83CBB9F61A601CBA00E9B192 = { 570 | isa = PBXGroup; 571 | children = ( 572 | 13B07FAE1A68108700A75B9A /* AwesomeProject */, 573 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 574 | 00E356EF1AD99517003FC87E /* AwesomeProjectTests */, 575 | 83CBBA001A601CBA00E9B192 /* Products */, 576 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 577 | C17C5CF720341DCD0027EC86 /* Recovered References */, 578 | ); 579 | indentWidth = 2; 580 | sourceTree = ""; 581 | tabWidth = 2; 582 | usesTabs = 0; 583 | }; 584 | 83CBBA001A601CBA00E9B192 /* Products */ = { 585 | isa = PBXGroup; 586 | children = ( 587 | 13B07F961A680F5B00A75B9A /* AwesomeProject.app */, 588 | 00E356EE1AD99517003FC87E /* AwesomeProjectTests.xctest */, 589 | 2D02E47B1E0B4A5D006451C7 /* AwesomeProject-tvOS.app */, 590 | 2D02E4901E0B4A5D006451C7 /* AwesomeProject-tvOSTests.xctest */, 591 | ); 592 | name = Products; 593 | sourceTree = ""; 594 | }; 595 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 596 | isa = PBXGroup; 597 | children = ( 598 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 599 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, 600 | ); 601 | name = Products; 602 | sourceTree = ""; 603 | }; 604 | C17C5CF720341DCD0027EC86 /* Recovered References */ = { 605 | isa = PBXGroup; 606 | children = ( 607 | 74BB69BE874A4C629BF1CE87 /* libSplashScreen.a */, 608 | ); 609 | name = "Recovered References"; 610 | sourceTree = ""; 611 | }; 612 | C17C5D1B20341DCE0027EC86 /* Products */ = { 613 | isa = PBXGroup; 614 | children = ( 615 | C17C5D1F20341DCE0027EC86 /* libSplashScreen.a */, 616 | ); 617 | name = Products; 618 | sourceTree = ""; 619 | }; 620 | /* End PBXGroup section */ 621 | 622 | /* Begin PBXNativeTarget section */ 623 | 00E356ED1AD99517003FC87E /* AwesomeProjectTests */ = { 624 | isa = PBXNativeTarget; 625 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "AwesomeProjectTests" */; 626 | buildPhases = ( 627 | 00E356EA1AD99517003FC87E /* Sources */, 628 | 00E356EB1AD99517003FC87E /* Frameworks */, 629 | 00E356EC1AD99517003FC87E /* Resources */, 630 | ); 631 | buildRules = ( 632 | ); 633 | dependencies = ( 634 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 635 | ); 636 | name = AwesomeProjectTests; 637 | productName = AwesomeProjectTests; 638 | productReference = 00E356EE1AD99517003FC87E /* AwesomeProjectTests.xctest */; 639 | productType = "com.apple.product-type.bundle.unit-test"; 640 | }; 641 | 13B07F861A680F5B00A75B9A /* AwesomeProject */ = { 642 | isa = PBXNativeTarget; 643 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "AwesomeProject" */; 644 | buildPhases = ( 645 | 13B07F871A680F5B00A75B9A /* Sources */, 646 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 647 | 13B07F8E1A680F5B00A75B9A /* Resources */, 648 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 649 | ); 650 | buildRules = ( 651 | ); 652 | dependencies = ( 653 | ); 654 | name = AwesomeProject; 655 | productName = "Hello World"; 656 | productReference = 13B07F961A680F5B00A75B9A /* AwesomeProject.app */; 657 | productType = "com.apple.product-type.application"; 658 | }; 659 | 2D02E47A1E0B4A5D006451C7 /* AwesomeProject-tvOS */ = { 660 | isa = PBXNativeTarget; 661 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "AwesomeProject-tvOS" */; 662 | buildPhases = ( 663 | 2D02E4771E0B4A5D006451C7 /* Sources */, 664 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 665 | 2D02E4791E0B4A5D006451C7 /* Resources */, 666 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 667 | ); 668 | buildRules = ( 669 | ); 670 | dependencies = ( 671 | ); 672 | name = "AwesomeProject-tvOS"; 673 | productName = "AwesomeProject-tvOS"; 674 | productReference = 2D02E47B1E0B4A5D006451C7 /* AwesomeProject-tvOS.app */; 675 | productType = "com.apple.product-type.application"; 676 | }; 677 | 2D02E48F1E0B4A5D006451C7 /* AwesomeProject-tvOSTests */ = { 678 | isa = PBXNativeTarget; 679 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "AwesomeProject-tvOSTests" */; 680 | buildPhases = ( 681 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 682 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 683 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 684 | ); 685 | buildRules = ( 686 | ); 687 | dependencies = ( 688 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 689 | ); 690 | name = "AwesomeProject-tvOSTests"; 691 | productName = "AwesomeProject-tvOSTests"; 692 | productReference = 2D02E4901E0B4A5D006451C7 /* AwesomeProject-tvOSTests.xctest */; 693 | productType = "com.apple.product-type.bundle.unit-test"; 694 | }; 695 | /* End PBXNativeTarget section */ 696 | 697 | /* Begin PBXProject section */ 698 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 699 | isa = PBXProject; 700 | attributes = { 701 | LastUpgradeCheck = 610; 702 | ORGANIZATIONNAME = Facebook; 703 | TargetAttributes = { 704 | 00E356ED1AD99517003FC87E = { 705 | CreatedOnToolsVersion = 6.2; 706 | TestTargetID = 13B07F861A680F5B00A75B9A; 707 | }; 708 | 13B07F861A680F5B00A75B9A = { 709 | DevelopmentTeam = 6LPNU5Y5ZT; 710 | ProvisioningStyle = Automatic; 711 | }; 712 | 2D02E47A1E0B4A5D006451C7 = { 713 | CreatedOnToolsVersion = 8.2.1; 714 | ProvisioningStyle = Automatic; 715 | }; 716 | 2D02E48F1E0B4A5D006451C7 = { 717 | CreatedOnToolsVersion = 8.2.1; 718 | ProvisioningStyle = Automatic; 719 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 720 | }; 721 | }; 722 | }; 723 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "AwesomeProject" */; 724 | compatibilityVersion = "Xcode 3.2"; 725 | developmentRegion = English; 726 | hasScannedForEncodings = 0; 727 | knownRegions = ( 728 | en, 729 | Base, 730 | ); 731 | mainGroup = 83CBB9F61A601CBA00E9B192; 732 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 733 | projectDirPath = ""; 734 | projectReferences = ( 735 | { 736 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 737 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 738 | }, 739 | { 740 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 741 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 742 | }, 743 | { 744 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 745 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 746 | }, 747 | { 748 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 749 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 750 | }, 751 | { 752 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 753 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 754 | }, 755 | { 756 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 757 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 758 | }, 759 | { 760 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 761 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 762 | }, 763 | { 764 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 765 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 766 | }, 767 | { 768 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 769 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 770 | }, 771 | { 772 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 773 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 774 | }, 775 | { 776 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 777 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 778 | }, 779 | { 780 | ProductGroup = 146834001AC3E56700842450 /* Products */; 781 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 782 | }, 783 | { 784 | ProductGroup = C17C5D1B20341DCE0027EC86 /* Products */; 785 | ProjectRef = 253FAAA3F6A949979131CA54 /* SplashScreen.xcodeproj */; 786 | }, 787 | ); 788 | projectRoot = ""; 789 | targets = ( 790 | 13B07F861A680F5B00A75B9A /* AwesomeProject */, 791 | 00E356ED1AD99517003FC87E /* AwesomeProjectTests */, 792 | 2D02E47A1E0B4A5D006451C7 /* AwesomeProject-tvOS */, 793 | 2D02E48F1E0B4A5D006451C7 /* AwesomeProject-tvOSTests */, 794 | ); 795 | }; 796 | /* End PBXProject section */ 797 | 798 | /* Begin PBXReferenceProxy section */ 799 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 800 | isa = PBXReferenceProxy; 801 | fileType = archive.ar; 802 | path = libRCTActionSheet.a; 803 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 804 | sourceTree = BUILT_PRODUCTS_DIR; 805 | }; 806 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 807 | isa = PBXReferenceProxy; 808 | fileType = archive.ar; 809 | path = libRCTGeolocation.a; 810 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 811 | sourceTree = BUILT_PRODUCTS_DIR; 812 | }; 813 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 814 | isa = PBXReferenceProxy; 815 | fileType = archive.ar; 816 | path = libRCTImage.a; 817 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 818 | sourceTree = BUILT_PRODUCTS_DIR; 819 | }; 820 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 821 | isa = PBXReferenceProxy; 822 | fileType = archive.ar; 823 | path = libRCTNetwork.a; 824 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 825 | sourceTree = BUILT_PRODUCTS_DIR; 826 | }; 827 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 828 | isa = PBXReferenceProxy; 829 | fileType = archive.ar; 830 | path = libRCTVibration.a; 831 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 832 | sourceTree = BUILT_PRODUCTS_DIR; 833 | }; 834 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 835 | isa = PBXReferenceProxy; 836 | fileType = archive.ar; 837 | path = libRCTSettings.a; 838 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 839 | sourceTree = BUILT_PRODUCTS_DIR; 840 | }; 841 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 842 | isa = PBXReferenceProxy; 843 | fileType = archive.ar; 844 | path = libRCTWebSocket.a; 845 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 846 | sourceTree = BUILT_PRODUCTS_DIR; 847 | }; 848 | 146834041AC3E56700842450 /* libReact.a */ = { 849 | isa = PBXReferenceProxy; 850 | fileType = archive.ar; 851 | path = libReact.a; 852 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 853 | sourceTree = BUILT_PRODUCTS_DIR; 854 | }; 855 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { 856 | isa = PBXReferenceProxy; 857 | fileType = archive.ar; 858 | path = "libRCTBlob-tvOS.a"; 859 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; 860 | sourceTree = BUILT_PRODUCTS_DIR; 861 | }; 862 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { 863 | isa = PBXReferenceProxy; 864 | fileType = archive.ar; 865 | path = libfishhook.a; 866 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; 867 | sourceTree = BUILT_PRODUCTS_DIR; 868 | }; 869 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { 870 | isa = PBXReferenceProxy; 871 | fileType = archive.ar; 872 | path = "libfishhook-tvOS.a"; 873 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; 874 | sourceTree = BUILT_PRODUCTS_DIR; 875 | }; 876 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 877 | isa = PBXReferenceProxy; 878 | fileType = archive.ar; 879 | path = "libRCTImage-tvOS.a"; 880 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 881 | sourceTree = BUILT_PRODUCTS_DIR; 882 | }; 883 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 884 | isa = PBXReferenceProxy; 885 | fileType = archive.ar; 886 | path = "libRCTLinking-tvOS.a"; 887 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 888 | sourceTree = BUILT_PRODUCTS_DIR; 889 | }; 890 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 891 | isa = PBXReferenceProxy; 892 | fileType = archive.ar; 893 | path = "libRCTNetwork-tvOS.a"; 894 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 895 | sourceTree = BUILT_PRODUCTS_DIR; 896 | }; 897 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 898 | isa = PBXReferenceProxy; 899 | fileType = archive.ar; 900 | path = "libRCTSettings-tvOS.a"; 901 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 902 | sourceTree = BUILT_PRODUCTS_DIR; 903 | }; 904 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 905 | isa = PBXReferenceProxy; 906 | fileType = archive.ar; 907 | path = "libRCTText-tvOS.a"; 908 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 909 | sourceTree = BUILT_PRODUCTS_DIR; 910 | }; 911 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 912 | isa = PBXReferenceProxy; 913 | fileType = archive.ar; 914 | path = "libRCTWebSocket-tvOS.a"; 915 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 916 | sourceTree = BUILT_PRODUCTS_DIR; 917 | }; 918 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 919 | isa = PBXReferenceProxy; 920 | fileType = archive.ar; 921 | path = libReact.a; 922 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 923 | sourceTree = BUILT_PRODUCTS_DIR; 924 | }; 925 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 926 | isa = PBXReferenceProxy; 927 | fileType = archive.ar; 928 | path = libyoga.a; 929 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 930 | sourceTree = BUILT_PRODUCTS_DIR; 931 | }; 932 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 933 | isa = PBXReferenceProxy; 934 | fileType = archive.ar; 935 | path = libyoga.a; 936 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 937 | sourceTree = BUILT_PRODUCTS_DIR; 938 | }; 939 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 940 | isa = PBXReferenceProxy; 941 | fileType = archive.ar; 942 | path = libcxxreact.a; 943 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 944 | sourceTree = BUILT_PRODUCTS_DIR; 945 | }; 946 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 947 | isa = PBXReferenceProxy; 948 | fileType = archive.ar; 949 | path = libcxxreact.a; 950 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 951 | sourceTree = BUILT_PRODUCTS_DIR; 952 | }; 953 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 954 | isa = PBXReferenceProxy; 955 | fileType = archive.ar; 956 | path = libjschelpers.a; 957 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 958 | sourceTree = BUILT_PRODUCTS_DIR; 959 | }; 960 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 961 | isa = PBXReferenceProxy; 962 | fileType = archive.ar; 963 | path = libjschelpers.a; 964 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 965 | sourceTree = BUILT_PRODUCTS_DIR; 966 | }; 967 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 968 | isa = PBXReferenceProxy; 969 | fileType = archive.ar; 970 | path = libRCTAnimation.a; 971 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 972 | sourceTree = BUILT_PRODUCTS_DIR; 973 | }; 974 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 975 | isa = PBXReferenceProxy; 976 | fileType = archive.ar; 977 | path = libRCTAnimation.a; 978 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 979 | sourceTree = BUILT_PRODUCTS_DIR; 980 | }; 981 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 982 | isa = PBXReferenceProxy; 983 | fileType = archive.ar; 984 | path = libRCTLinking.a; 985 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 986 | sourceTree = BUILT_PRODUCTS_DIR; 987 | }; 988 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 989 | isa = PBXReferenceProxy; 990 | fileType = archive.ar; 991 | path = libRCTText.a; 992 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 993 | sourceTree = BUILT_PRODUCTS_DIR; 994 | }; 995 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 996 | isa = PBXReferenceProxy; 997 | fileType = archive.ar; 998 | path = libRCTBlob.a; 999 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 1000 | sourceTree = BUILT_PRODUCTS_DIR; 1001 | }; 1002 | C17C5CE0203414790027EC86 /* libthird-party.a */ = { 1003 | isa = PBXReferenceProxy; 1004 | fileType = archive.ar; 1005 | path = "libthird-party.a"; 1006 | remoteRef = C17C5CDF203414790027EC86 /* PBXContainerItemProxy */; 1007 | sourceTree = BUILT_PRODUCTS_DIR; 1008 | }; 1009 | C17C5CE2203414790027EC86 /* libthird-party.a */ = { 1010 | isa = PBXReferenceProxy; 1011 | fileType = archive.ar; 1012 | path = "libthird-party.a"; 1013 | remoteRef = C17C5CE1203414790027EC86 /* PBXContainerItemProxy */; 1014 | sourceTree = BUILT_PRODUCTS_DIR; 1015 | }; 1016 | C17C5CE4203414790027EC86 /* libdouble-conversion.a */ = { 1017 | isa = PBXReferenceProxy; 1018 | fileType = archive.ar; 1019 | path = "libdouble-conversion.a"; 1020 | remoteRef = C17C5CE3203414790027EC86 /* PBXContainerItemProxy */; 1021 | sourceTree = BUILT_PRODUCTS_DIR; 1022 | }; 1023 | C17C5CE6203414790027EC86 /* libdouble-conversion.a */ = { 1024 | isa = PBXReferenceProxy; 1025 | fileType = archive.ar; 1026 | path = "libdouble-conversion.a"; 1027 | remoteRef = C17C5CE5203414790027EC86 /* PBXContainerItemProxy */; 1028 | sourceTree = BUILT_PRODUCTS_DIR; 1029 | }; 1030 | C17C5CE8203414790027EC86 /* libprivatedata.a */ = { 1031 | isa = PBXReferenceProxy; 1032 | fileType = archive.ar; 1033 | path = libprivatedata.a; 1034 | remoteRef = C17C5CE7203414790027EC86 /* PBXContainerItemProxy */; 1035 | sourceTree = BUILT_PRODUCTS_DIR; 1036 | }; 1037 | C17C5CEA203414790027EC86 /* libprivatedata-tvOS.a */ = { 1038 | isa = PBXReferenceProxy; 1039 | fileType = archive.ar; 1040 | path = "libprivatedata-tvOS.a"; 1041 | remoteRef = C17C5CE9203414790027EC86 /* PBXContainerItemProxy */; 1042 | sourceTree = BUILT_PRODUCTS_DIR; 1043 | }; 1044 | C17C5D1F20341DCE0027EC86 /* libSplashScreen.a */ = { 1045 | isa = PBXReferenceProxy; 1046 | fileType = archive.ar; 1047 | path = libSplashScreen.a; 1048 | remoteRef = C17C5D1E20341DCE0027EC86 /* PBXContainerItemProxy */; 1049 | sourceTree = BUILT_PRODUCTS_DIR; 1050 | }; 1051 | /* End PBXReferenceProxy section */ 1052 | 1053 | /* Begin PBXResourcesBuildPhase section */ 1054 | 00E356EC1AD99517003FC87E /* Resources */ = { 1055 | isa = PBXResourcesBuildPhase; 1056 | buildActionMask = 2147483647; 1057 | files = ( 1058 | ); 1059 | runOnlyForDeploymentPostprocessing = 0; 1060 | }; 1061 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1062 | isa = PBXResourcesBuildPhase; 1063 | buildActionMask = 2147483647; 1064 | files = ( 1065 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1066 | C1CF801120440110007D5B5F /* bundle in Resources */, 1067 | C17C5D87203423D90027EC86 /* Images.xcassets in Resources */, 1068 | ); 1069 | runOnlyForDeploymentPostprocessing = 0; 1070 | }; 1071 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1072 | isa = PBXResourcesBuildPhase; 1073 | buildActionMask = 2147483647; 1074 | files = ( 1075 | ); 1076 | runOnlyForDeploymentPostprocessing = 0; 1077 | }; 1078 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1079 | isa = PBXResourcesBuildPhase; 1080 | buildActionMask = 2147483647; 1081 | files = ( 1082 | ); 1083 | runOnlyForDeploymentPostprocessing = 0; 1084 | }; 1085 | /* End PBXResourcesBuildPhase section */ 1086 | 1087 | /* Begin PBXShellScriptBuildPhase section */ 1088 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1089 | isa = PBXShellScriptBuildPhase; 1090 | buildActionMask = 2147483647; 1091 | files = ( 1092 | ); 1093 | inputPaths = ( 1094 | ); 1095 | name = "Bundle React Native code and images"; 1096 | outputPaths = ( 1097 | ); 1098 | runOnlyForDeploymentPostprocessing = 0; 1099 | shellPath = /bin/sh; 1100 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1101 | }; 1102 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1103 | isa = PBXShellScriptBuildPhase; 1104 | buildActionMask = 2147483647; 1105 | files = ( 1106 | ); 1107 | inputPaths = ( 1108 | ); 1109 | name = "Bundle React Native Code And Images"; 1110 | outputPaths = ( 1111 | ); 1112 | runOnlyForDeploymentPostprocessing = 0; 1113 | shellPath = /bin/sh; 1114 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1115 | }; 1116 | /* End PBXShellScriptBuildPhase section */ 1117 | 1118 | /* Begin PBXSourcesBuildPhase section */ 1119 | 00E356EA1AD99517003FC87E /* Sources */ = { 1120 | isa = PBXSourcesBuildPhase; 1121 | buildActionMask = 2147483647; 1122 | files = ( 1123 | 00E356F31AD99517003FC87E /* AwesomeProjectTests.m in Sources */, 1124 | ); 1125 | runOnlyForDeploymentPostprocessing = 0; 1126 | }; 1127 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1128 | isa = PBXSourcesBuildPhase; 1129 | buildActionMask = 2147483647; 1130 | files = ( 1131 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1132 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1133 | ); 1134 | runOnlyForDeploymentPostprocessing = 0; 1135 | }; 1136 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1137 | isa = PBXSourcesBuildPhase; 1138 | buildActionMask = 2147483647; 1139 | files = ( 1140 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1141 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1142 | ); 1143 | runOnlyForDeploymentPostprocessing = 0; 1144 | }; 1145 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1146 | isa = PBXSourcesBuildPhase; 1147 | buildActionMask = 2147483647; 1148 | files = ( 1149 | 2DCD954D1E0B4F2C00145EB5 /* AwesomeProjectTests.m in Sources */, 1150 | ); 1151 | runOnlyForDeploymentPostprocessing = 0; 1152 | }; 1153 | /* End PBXSourcesBuildPhase section */ 1154 | 1155 | /* Begin PBXTargetDependency section */ 1156 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1157 | isa = PBXTargetDependency; 1158 | target = 13B07F861A680F5B00A75B9A /* AwesomeProject */; 1159 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1160 | }; 1161 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1162 | isa = PBXTargetDependency; 1163 | target = 2D02E47A1E0B4A5D006451C7 /* AwesomeProject-tvOS */; 1164 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1165 | }; 1166 | /* End PBXTargetDependency section */ 1167 | 1168 | /* Begin PBXVariantGroup section */ 1169 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1170 | isa = PBXVariantGroup; 1171 | children = ( 1172 | 13B07FB21A68108700A75B9A /* Base */, 1173 | ); 1174 | name = LaunchScreen.xib; 1175 | path = AwesomeProject; 1176 | sourceTree = ""; 1177 | }; 1178 | /* End PBXVariantGroup section */ 1179 | 1180 | /* Begin XCBuildConfiguration section */ 1181 | 00E356F61AD99517003FC87E /* Debug */ = { 1182 | isa = XCBuildConfiguration; 1183 | buildSettings = { 1184 | BUNDLE_LOADER = "$(TEST_HOST)"; 1185 | GCC_PREPROCESSOR_DEFINITIONS = ( 1186 | "DEBUG=1", 1187 | "$(inherited)", 1188 | ); 1189 | HEADER_SEARCH_PATHS = ( 1190 | "$(inherited)", 1191 | "$(SRCROOT)/../node_modules/react-native-splash-screen/ios", 1192 | ); 1193 | INFOPLIST_FILE = AwesomeProjectTests/Info.plist; 1194 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1195 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1196 | LIBRARY_SEARCH_PATHS = ( 1197 | "$(inherited)", 1198 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1199 | ); 1200 | OTHER_LDFLAGS = ( 1201 | "-ObjC", 1202 | "-lc++", 1203 | ); 1204 | PRODUCT_NAME = "$(TARGET_NAME)"; 1205 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AwesomeProject.app/AwesomeProject"; 1206 | }; 1207 | name = Debug; 1208 | }; 1209 | 00E356F71AD99517003FC87E /* Release */ = { 1210 | isa = XCBuildConfiguration; 1211 | buildSettings = { 1212 | BUNDLE_LOADER = "$(TEST_HOST)"; 1213 | COPY_PHASE_STRIP = NO; 1214 | HEADER_SEARCH_PATHS = ( 1215 | "$(inherited)", 1216 | "$(SRCROOT)/../node_modules/react-native-splash-screen/ios", 1217 | ); 1218 | INFOPLIST_FILE = AwesomeProjectTests/Info.plist; 1219 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1220 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1221 | LIBRARY_SEARCH_PATHS = ( 1222 | "$(inherited)", 1223 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1224 | ); 1225 | OTHER_LDFLAGS = ( 1226 | "-ObjC", 1227 | "-lc++", 1228 | ); 1229 | PRODUCT_NAME = "$(TARGET_NAME)"; 1230 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AwesomeProject.app/AwesomeProject"; 1231 | }; 1232 | name = Release; 1233 | }; 1234 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1235 | isa = XCBuildConfiguration; 1236 | buildSettings = { 1237 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1238 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1239 | CODE_SIGN_IDENTITY = ""; 1240 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1241 | CODE_SIGN_STYLE = Automatic; 1242 | CURRENT_PROJECT_VERSION = 1; 1243 | DEAD_CODE_STRIPPING = NO; 1244 | DEVELOPMENT_TEAM = 6LPNU5Y5ZT; 1245 | HEADER_SEARCH_PATHS = ( 1246 | "$(inherited)", 1247 | "$(SRCROOT)/../node_modules/react-native-splash-screen/ios", 1248 | ); 1249 | INFOPLIST_FILE = AwesomeProject/Info.plist; 1250 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1251 | OTHER_LDFLAGS = ( 1252 | "$(inherited)", 1253 | "-ObjC", 1254 | "-lc++", 1255 | ); 1256 | PRODUCT_BUNDLE_IDENTIFIER = org.reactjs.native.example.reactNativeDemo; 1257 | PRODUCT_NAME = AwesomeProject; 1258 | PROVISIONING_PROFILE_SPECIFIER = ""; 1259 | VERSIONING_SYSTEM = "apple-generic"; 1260 | }; 1261 | name = Debug; 1262 | }; 1263 | 13B07F951A680F5B00A75B9A /* Release */ = { 1264 | isa = XCBuildConfiguration; 1265 | buildSettings = { 1266 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1267 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1268 | CODE_SIGN_IDENTITY = ""; 1269 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1270 | CODE_SIGN_STYLE = Automatic; 1271 | CURRENT_PROJECT_VERSION = 1; 1272 | DEVELOPMENT_TEAM = 6LPNU5Y5ZT; 1273 | HEADER_SEARCH_PATHS = ( 1274 | "$(inherited)", 1275 | "$(SRCROOT)/../node_modules/react-native-splash-screen/ios", 1276 | ); 1277 | INFOPLIST_FILE = AwesomeProject/Info.plist; 1278 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1279 | OTHER_LDFLAGS = ( 1280 | "$(inherited)", 1281 | "-ObjC", 1282 | "-lc++", 1283 | ); 1284 | PRODUCT_BUNDLE_IDENTIFIER = org.reactjs.native.example.reactNativeDemo; 1285 | PRODUCT_NAME = AwesomeProject; 1286 | PROVISIONING_PROFILE_SPECIFIER = ""; 1287 | VERSIONING_SYSTEM = "apple-generic"; 1288 | }; 1289 | name = Release; 1290 | }; 1291 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1292 | isa = XCBuildConfiguration; 1293 | buildSettings = { 1294 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1295 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1296 | CLANG_ANALYZER_NONNULL = YES; 1297 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1298 | CLANG_WARN_INFINITE_RECURSION = YES; 1299 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1300 | DEBUG_INFORMATION_FORMAT = dwarf; 1301 | ENABLE_TESTABILITY = YES; 1302 | GCC_NO_COMMON_BLOCKS = YES; 1303 | HEADER_SEARCH_PATHS = ( 1304 | "$(inherited)", 1305 | "$(SRCROOT)/../node_modules/react-native-splash-screen/ios", 1306 | ); 1307 | INFOPLIST_FILE = "AwesomeProject-tvOS/Info.plist"; 1308 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1309 | LIBRARY_SEARCH_PATHS = ( 1310 | "$(inherited)", 1311 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1312 | ); 1313 | OTHER_LDFLAGS = ( 1314 | "-ObjC", 1315 | "-lc++", 1316 | ); 1317 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.AwesomeProject-tvOS"; 1318 | PRODUCT_NAME = "$(TARGET_NAME)"; 1319 | SDKROOT = appletvos; 1320 | TARGETED_DEVICE_FAMILY = 3; 1321 | TVOS_DEPLOYMENT_TARGET = 9.2; 1322 | }; 1323 | name = Debug; 1324 | }; 1325 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1326 | isa = XCBuildConfiguration; 1327 | buildSettings = { 1328 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1329 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1330 | CLANG_ANALYZER_NONNULL = YES; 1331 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1332 | CLANG_WARN_INFINITE_RECURSION = YES; 1333 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1334 | COPY_PHASE_STRIP = NO; 1335 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1336 | GCC_NO_COMMON_BLOCKS = YES; 1337 | HEADER_SEARCH_PATHS = ( 1338 | "$(inherited)", 1339 | "$(SRCROOT)/../node_modules/react-native-splash-screen/ios", 1340 | ); 1341 | INFOPLIST_FILE = "AwesomeProject-tvOS/Info.plist"; 1342 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1343 | LIBRARY_SEARCH_PATHS = ( 1344 | "$(inherited)", 1345 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1346 | ); 1347 | OTHER_LDFLAGS = ( 1348 | "-ObjC", 1349 | "-lc++", 1350 | ); 1351 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.AwesomeProject-tvOS"; 1352 | PRODUCT_NAME = "$(TARGET_NAME)"; 1353 | SDKROOT = appletvos; 1354 | TARGETED_DEVICE_FAMILY = 3; 1355 | TVOS_DEPLOYMENT_TARGET = 9.2; 1356 | }; 1357 | name = Release; 1358 | }; 1359 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1360 | isa = XCBuildConfiguration; 1361 | buildSettings = { 1362 | BUNDLE_LOADER = "$(TEST_HOST)"; 1363 | CLANG_ANALYZER_NONNULL = YES; 1364 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1365 | CLANG_WARN_INFINITE_RECURSION = YES; 1366 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1367 | DEBUG_INFORMATION_FORMAT = dwarf; 1368 | ENABLE_TESTABILITY = YES; 1369 | GCC_NO_COMMON_BLOCKS = YES; 1370 | INFOPLIST_FILE = "AwesomeProject-tvOSTests/Info.plist"; 1371 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1372 | LIBRARY_SEARCH_PATHS = ( 1373 | "$(inherited)", 1374 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1375 | ); 1376 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.AwesomeProject-tvOSTests"; 1377 | PRODUCT_NAME = "$(TARGET_NAME)"; 1378 | SDKROOT = appletvos; 1379 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AwesomeProject-tvOS.app/AwesomeProject-tvOS"; 1380 | TVOS_DEPLOYMENT_TARGET = 10.1; 1381 | }; 1382 | name = Debug; 1383 | }; 1384 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1385 | isa = XCBuildConfiguration; 1386 | buildSettings = { 1387 | BUNDLE_LOADER = "$(TEST_HOST)"; 1388 | CLANG_ANALYZER_NONNULL = YES; 1389 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1390 | CLANG_WARN_INFINITE_RECURSION = YES; 1391 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1392 | COPY_PHASE_STRIP = NO; 1393 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1394 | GCC_NO_COMMON_BLOCKS = YES; 1395 | INFOPLIST_FILE = "AwesomeProject-tvOSTests/Info.plist"; 1396 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1397 | LIBRARY_SEARCH_PATHS = ( 1398 | "$(inherited)", 1399 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1400 | ); 1401 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.AwesomeProject-tvOSTests"; 1402 | PRODUCT_NAME = "$(TARGET_NAME)"; 1403 | SDKROOT = appletvos; 1404 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AwesomeProject-tvOS.app/AwesomeProject-tvOS"; 1405 | TVOS_DEPLOYMENT_TARGET = 10.1; 1406 | }; 1407 | name = Release; 1408 | }; 1409 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1410 | isa = XCBuildConfiguration; 1411 | buildSettings = { 1412 | ALWAYS_SEARCH_USER_PATHS = NO; 1413 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1414 | CLANG_CXX_LIBRARY = "libc++"; 1415 | CLANG_ENABLE_MODULES = YES; 1416 | CLANG_ENABLE_OBJC_ARC = YES; 1417 | CLANG_WARN_BOOL_CONVERSION = YES; 1418 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1419 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1420 | CLANG_WARN_EMPTY_BODY = YES; 1421 | CLANG_WARN_ENUM_CONVERSION = YES; 1422 | CLANG_WARN_INT_CONVERSION = YES; 1423 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1424 | CLANG_WARN_UNREACHABLE_CODE = YES; 1425 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1426 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1427 | COPY_PHASE_STRIP = NO; 1428 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1429 | GCC_C_LANGUAGE_STANDARD = gnu99; 1430 | GCC_DYNAMIC_NO_PIC = NO; 1431 | GCC_OPTIMIZATION_LEVEL = 0; 1432 | GCC_PREPROCESSOR_DEFINITIONS = ( 1433 | "DEBUG=1", 1434 | "$(inherited)", 1435 | ); 1436 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1437 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1438 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1439 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1440 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1441 | GCC_WARN_UNUSED_FUNCTION = YES; 1442 | GCC_WARN_UNUSED_VARIABLE = YES; 1443 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1444 | MTL_ENABLE_DEBUG_INFO = YES; 1445 | ONLY_ACTIVE_ARCH = YES; 1446 | SDKROOT = iphoneos; 1447 | }; 1448 | name = Debug; 1449 | }; 1450 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1451 | isa = XCBuildConfiguration; 1452 | buildSettings = { 1453 | ALWAYS_SEARCH_USER_PATHS = NO; 1454 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1455 | CLANG_CXX_LIBRARY = "libc++"; 1456 | CLANG_ENABLE_MODULES = YES; 1457 | CLANG_ENABLE_OBJC_ARC = YES; 1458 | CLANG_WARN_BOOL_CONVERSION = YES; 1459 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1460 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1461 | CLANG_WARN_EMPTY_BODY = YES; 1462 | CLANG_WARN_ENUM_CONVERSION = YES; 1463 | CLANG_WARN_INT_CONVERSION = YES; 1464 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1465 | CLANG_WARN_UNREACHABLE_CODE = YES; 1466 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1467 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1468 | COPY_PHASE_STRIP = YES; 1469 | ENABLE_NS_ASSERTIONS = NO; 1470 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1471 | GCC_C_LANGUAGE_STANDARD = gnu99; 1472 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1473 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1474 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1475 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1476 | GCC_WARN_UNUSED_FUNCTION = YES; 1477 | GCC_WARN_UNUSED_VARIABLE = YES; 1478 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1479 | MTL_ENABLE_DEBUG_INFO = NO; 1480 | SDKROOT = iphoneos; 1481 | VALIDATE_PRODUCT = YES; 1482 | }; 1483 | name = Release; 1484 | }; 1485 | /* End XCBuildConfiguration section */ 1486 | 1487 | /* Begin XCConfigurationList section */ 1488 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "AwesomeProjectTests" */ = { 1489 | isa = XCConfigurationList; 1490 | buildConfigurations = ( 1491 | 00E356F61AD99517003FC87E /* Debug */, 1492 | 00E356F71AD99517003FC87E /* Release */, 1493 | ); 1494 | defaultConfigurationIsVisible = 0; 1495 | defaultConfigurationName = Release; 1496 | }; 1497 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "AwesomeProject" */ = { 1498 | isa = XCConfigurationList; 1499 | buildConfigurations = ( 1500 | 13B07F941A680F5B00A75B9A /* Debug */, 1501 | 13B07F951A680F5B00A75B9A /* Release */, 1502 | ); 1503 | defaultConfigurationIsVisible = 0; 1504 | defaultConfigurationName = Release; 1505 | }; 1506 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "AwesomeProject-tvOS" */ = { 1507 | isa = XCConfigurationList; 1508 | buildConfigurations = ( 1509 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1510 | 2D02E4981E0B4A5E006451C7 /* Release */, 1511 | ); 1512 | defaultConfigurationIsVisible = 0; 1513 | defaultConfigurationName = Release; 1514 | }; 1515 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "AwesomeProject-tvOSTests" */ = { 1516 | isa = XCConfigurationList; 1517 | buildConfigurations = ( 1518 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1519 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1520 | ); 1521 | defaultConfigurationIsVisible = 0; 1522 | defaultConfigurationName = Release; 1523 | }; 1524 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "AwesomeProject" */ = { 1525 | isa = XCConfigurationList; 1526 | buildConfigurations = ( 1527 | 83CBBA201A601CBA00E9B192 /* Debug */, 1528 | 83CBBA211A601CBA00E9B192 /* Release */, 1529 | ); 1530 | defaultConfigurationIsVisible = 0; 1531 | defaultConfigurationName = Release; 1532 | }; 1533 | /* End XCConfigurationList section */ 1534 | }; 1535 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1536 | } 1537 | -------------------------------------------------------------------------------- /ios/AwesomeProject.xcodeproj/xcshareddata/xcschemes/AwesomeProject-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 | -------------------------------------------------------------------------------- /ios/AwesomeProject.xcodeproj/xcshareddata/xcschemes/AwesomeProject.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 59 | 60 | 62 | 68 | 69 | 70 | 71 | 72 | 78 | 79 | 80 | 81 | 82 | 83 | 94 | 96 | 102 | 103 | 104 | 105 | 106 | 107 | 113 | 115 | 121 | 122 | 123 | 124 | 126 | 127 | 130 | 131 | 132 | -------------------------------------------------------------------------------- /ios/AwesomeProject/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (nonatomic, strong) UIWindow *window; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /ios/AwesomeProject/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | 12 | #import 13 | #import 14 | #import "SplashScreen.h" // 导入启动页插件 15 | 16 | @implementation AppDelegate 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 19 | { 20 | NSURL *jsCodeLocation; 21 | 22 | // jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 23 | 24 | #ifdef DEBUG 25 | //开发包 26 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 27 | #else 28 | //离线包 29 | jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"bundle/index.ios" withExtension:@"jsbundle"]; 30 | #endif 31 | 32 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 33 | moduleName:@"AwesomeProject" 34 | initialProperties:nil 35 | launchOptions:launchOptions]; 36 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 37 | 38 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 39 | UIViewController *rootViewController = [UIViewController new]; 40 | rootViewController.view = rootView; 41 | self.window.rootViewController = rootViewController; 42 | [self.window makeKeyAndVisible]; 43 | [SplashScreen show]; // 显示启动页 44 | return YES; 45 | } 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /ios/AwesomeProject/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@2x.png", 19 | "scale" : "2x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@3x.png", 25 | "scale" : "3x" 26 | }, 27 | { 28 | "size" : "40x40", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-40x40@2x.png", 31 | "scale" : "2x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@3x.png", 37 | "scale" : "3x" 38 | }, 39 | { 40 | "size" : "60x60", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-60x60@2x.png", 43 | "scale" : "2x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@3x.png", 49 | "scale" : "3x" 50 | }, 51 | { 52 | "size" : "1024x1024", 53 | "idiom" : "ios-marketing", 54 | "filename" : "ItunesArtwork@2x.png", 55 | "scale" : "1x" 56 | } 57 | ], 58 | "info" : { 59 | "version" : 1, 60 | "author" : "xcode" 61 | } 62 | } -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "extent" : "full-screen", 5 | "idiom" : "iphone", 6 | "subtype" : "2436h", 7 | "filename" : "Default1125x2436.png", 8 | "minimum-system-version" : "11.0", 9 | "orientation" : "portrait", 10 | "scale" : "3x" 11 | }, 12 | { 13 | "extent" : "full-screen", 14 | "idiom" : "iphone", 15 | "subtype" : "2436h", 16 | "filename" : "Default2436x1125.png", 17 | "minimum-system-version" : "11.0", 18 | "orientation" : "landscape", 19 | "scale" : "3x" 20 | }, 21 | { 22 | "extent" : "full-screen", 23 | "idiom" : "iphone", 24 | "subtype" : "736h", 25 | "filename" : "Default1242x2208.png", 26 | "minimum-system-version" : "8.0", 27 | "orientation" : "portrait", 28 | "scale" : "3x" 29 | }, 30 | { 31 | "extent" : "full-screen", 32 | "idiom" : "iphone", 33 | "subtype" : "736h", 34 | "filename" : "Default2208x1242.png", 35 | "minimum-system-version" : "8.0", 36 | "orientation" : "landscape", 37 | "scale" : "3x" 38 | }, 39 | { 40 | "extent" : "full-screen", 41 | "idiom" : "iphone", 42 | "subtype" : "667h", 43 | "filename" : "Default750x1334.png", 44 | "minimum-system-version" : "8.0", 45 | "orientation" : "portrait", 46 | "scale" : "2x" 47 | }, 48 | { 49 | "orientation" : "portrait", 50 | "idiom" : "iphone", 51 | "filename" : "Default640x1136.png", 52 | "extent" : "full-screen", 53 | "minimum-system-version" : "7.0", 54 | "scale" : "2x" 55 | }, 56 | { 57 | "extent" : "full-screen", 58 | "idiom" : "iphone", 59 | "subtype" : "retina4", 60 | "filename" : "Default640x960.png", 61 | "minimum-system-version" : "7.0", 62 | "orientation" : "portrait", 63 | "scale" : "2x" 64 | }, 65 | { 66 | "orientation" : "portrait", 67 | "idiom" : "iphone", 68 | "extent" : "full-screen", 69 | "scale" : "1x" 70 | }, 71 | { 72 | "orientation" : "portrait", 73 | "idiom" : "iphone", 74 | "extent" : "full-screen", 75 | "scale" : "2x" 76 | }, 77 | { 78 | "orientation" : "portrait", 79 | "idiom" : "iphone", 80 | "extent" : "full-screen", 81 | "subtype" : "retina4", 82 | "scale" : "2x" 83 | } 84 | ], 85 | "info" : { 86 | "version" : 1, 87 | "author" : "xcode" 88 | } 89 | } -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/LaunchImage.launchimage/Default1125x2436.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/LaunchImage.launchimage/Default1125x2436.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/LaunchImage.launchimage/Default1242x2208.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/LaunchImage.launchimage/Default1242x2208.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/LaunchImage.launchimage/Default2208x1242.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/LaunchImage.launchimage/Default2208x1242.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/LaunchImage.launchimage/Default2436x1125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/LaunchImage.launchimage/Default2436x1125.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/LaunchImage.launchimage/Default640x1136.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/LaunchImage.launchimage/Default640x1136.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/LaunchImage.launchimage/Default640x960.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/LaunchImage.launchimage/Default640x960.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Images.xcassets/LaunchImage.launchimage/Default750x1334.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/AwesomeProject/Images.xcassets/LaunchImage.launchimage/Default750x1334.png -------------------------------------------------------------------------------- /ios/AwesomeProject/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | 嘿嘿嘿 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIcons 12 | 13 | CFBundleIcons~ipad 14 | 15 | CFBundleIdentifier 16 | $(PRODUCT_BUNDLE_IDENTIFIER) 17 | CFBundleInfoDictionaryVersion 18 | 6.0 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | 1.0 23 | CFBundleSignature 24 | 25 | CFBundleVersion 26 | 1 27 | LSRequiresIPhoneOS 28 | 29 | NSAppTransportSecurity 30 | 31 | NSAllowsArbitraryLoads 32 | 33 | 34 | NSLocationWhenInUseUsageDescription 35 | 36 | UIRequiredDeviceCapabilities 37 | 38 | armv7 39 | 40 | UISupportedInterfaceOrientations 41 | 42 | UIInterfaceOrientationPortrait 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | UIViewControllerBasedStatusBarAppearance 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /ios/AwesomeProject/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import "AppDelegate.h" 13 | 14 | int main(int argc, char * argv[]) { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ios/AwesomeProjectTests/AwesomeProjectTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | #import 12 | 13 | #import 14 | #import 15 | 16 | #define TIMEOUT_SECONDS 600 17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 18 | 19 | @interface AwesomeProjectTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation AwesomeProjectTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /ios/AwesomeProjectTests/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/bundle/assets/src/assets/images/tab_home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/bundle/assets/src/assets/images/tab_home.png -------------------------------------------------------------------------------- /ios/bundle/assets/src/assets/images/tab_home_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/bundle/assets/src/assets/images/tab_home_active.png -------------------------------------------------------------------------------- /ios/bundle/assets/src/assets/images/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/bundle/assets/src/assets/images/test.png -------------------------------------------------------------------------------- /ios/bundle/assets/src/assets/images/test@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/bundle/assets/src/assets/images/test@2x.png -------------------------------------------------------------------------------- /ios/bundle/assets/src/assets/images/test@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/bundle/assets/src/assets/images/test@3x.png -------------------------------------------------------------------------------- /ios/bundle/assets/src/assets/images/toast_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/bundle/assets/src/assets/images/toast_error.png -------------------------------------------------------------------------------- /ios/bundle/assets/src/assets/images/toast_succeed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/bundle/assets/src/assets/images/toast_succeed.png -------------------------------------------------------------------------------- /ios/bundle/index.ios.jsbundle.meta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/ios/bundle/index.ios.jsbundle.meta -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AwesomeProject", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest", 8 | "bundle-ios": 9 | "react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ./ios/bundle/index.ios.jsbundle --assets-dest ./ios/bundle" 10 | }, 11 | "dependencies": { 12 | "react": "16.0.0", 13 | "react-native": "0.51.0", 14 | "react-native-splash-screen": "^3.0.6", 15 | "react-navigation": "^1.0.0-beta.27", 16 | "react-redux": "^5.0.6", 17 | "redux": "^3.7.2", 18 | "redux-persist": "^5.7.2" 19 | }, 20 | "devDependencies": { 21 | "babel-eslint": "^8.2.1", 22 | "babel-jest": "22.1.0", 23 | "babel-preset-react-native": "4.0.0", 24 | "eslint": "^4.18.2", 25 | "eslint-config-airbnb": "^16.1.0", 26 | "eslint-plugin-import": "^2.8.0", 27 | "eslint-plugin-jsx-a11y": "^6.0.3", 28 | "eslint-plugin-react": "^7.6.1", 29 | "jest": "22.1.4", 30 | "prettier-eslint": "^8.8.1", 31 | "react-test-renderer": "16.2.0" 32 | }, 33 | "jest": { 34 | "preset": "react-native" 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | 一个完整、普适但不臃肿的 React Native 脚手架,具有下述特点: 2 | 3 | * React Navigation 路由导航(可以自定义单个页面进入动画); 4 | * 集成 Redux 进行状态管理,并实现本地持久化存储; 5 | * 使用 Fetch API 进行网络请求; 6 | * 自定义组件; 7 | * 自定义启动页、App 名称、appID 等; 8 | * 内嵌 H5 页面(WebView); 9 | * 网络检测(是否连接网络); 10 | * 可构建离线安装包。 11 | 12 | > update 2018-04-25:由于现在 RN 及其相关插件更新频繁,如果出于学习的目的,安装依赖时最好按照 `package.json` 中指定的 package 版本进行安装,熟悉 RN 开发流程后再升级版本。 13 | 14 | ## 开发环境及工具 15 | 16 | * 基于 RN 0.49; 17 | * macOS High Sierra 10.13.3;Xcode 9.2;Android Studio 3.0.1; 18 | * 安卓(4.3 及以上)/ iOS(8 及以上) 已测试。 19 | 20 | > 没有在 windows 下运行,但 RN 本身与操作系统无关,配置好环境可以开发安卓应用。 21 | 22 | ## 本地运行 23 | 24 | 1. 下载本项目,并安装依赖包; 25 | 2. 安装 React Native CLI 及安卓/iOS 开发环境(可参考 RN 官网介绍 [Building Projects with Native Code](https://facebook.github.io/react-native/docs/getting-started.html)) 26 | 27 | 3. 进入项目根目录,执行下面命令: 28 | 29 | ```bash 30 | react-native run-ios # ios 31 | react-native run-android # 安卓 32 | ``` 33 | 34 | > 也可通过 Xcode 打开 ios 目录下的 “项目目录” 后点 `运行` 或者 Android Studio 打开 `android` 目录后点 `运行` 启动项目。 35 | 36 | ## 目录介绍 37 | 38 | **目录结构如下:** 39 | 40 | . 41 | |-- android   42 | |-- ios   43 | |-- src   44 | |     |-- assets 45 | |     |-- components 46 | |     |     |-- XgToast.js 47 | |     | 48 | |     |-- config 49 | |     |     |-- pxToDp.js 50 | |     |     |-- route.js.js 51 | |     |     |-- xgHttp.js 52 | |     |     |-- xgRequest.js 53 | |     | 54 | |     |-- redux 55 | |     |-- screens 56 | |     |     |-- ScreenHome 57 | |     |     |     |-- index.js 58 | |     |     |     |-- style.js 59 | |     |     |     |-- view.js 60 | |     |     |-- ScreenWebView 61 | |     |     |-- 其他页面文件 62 | | 63 | |-- App.js 64 | |-- app.json 65 | |-- index.js 66 | 67 | **目录说明如下:** 68 | 69 | > `android/`   # android 原生代码(使用 android studio 要打开这个目录,如果直接打开父目录报错) 70 | > `ios/`   # ios 原生代码(使用 xcode 打开这个目录下的项目目录) 71 | 72 | > `src/`   # 放置所有原始的 react native 代码 73 | > `src/assets/`   # 图片、样式文件 74 | 75 | > `src/components/`   # 自定义组件目录 76 | > `src/components/XgToast.js`   # 这个是自定义 Toast 组件 77 | 78 | > `src/config/`   # 配置文件目录,比如路由配置 79 | > `src/config/pxToDp.js`   # 单位自适应文件 80 | > `src/config/route.js`   # 路由文件 81 | > `src/config/xgHttp.js`   # 网络请求文件 82 | > `src/config/xgRequest.js`   # 具体网络请求 API 列表 83 | 84 | > `src/redux/`   # redux 状态管理目录 85 | 86 | > `src/screens/`   # 所有页面文件 87 | > `src/ScreenHome/`   # 这个目录是放具体页面文件的,为了进一步关注代码分离,里面又分为三个文件:`index.js`   # 中包含逻辑部分,`style.js` 中包含样式部分;`view.js` 中包含视图或者说页面元素部分。其他页面文件结构与此相同。 88 | > `src/ScreenWebView/`   # 内嵌 H5 89 | 90 | > `App.js`   # 可以理解为 react native(js 部分) 代码部分的入口文件,比如整个项目的路由在这里导入 91 | > `app.json`   # 项目说明,主要给原生 app 打包用,包括项目名称和手机桌面展示名称 [React Native : 0.41 app.json](https://stackoverflow.com/questions/42409459/react-native-0-41-app-json) 92 | > `index.js`   # 打包 app 时进入 react native(js 部分) 的入口文件(0.49 以后安卓、ios 共用一个入口文件) 93 | 94 | ## Q & A 95 | 96 | 有同学在使用这个仓库的时候发现了问题并提了 issue,部分汇总如下,便于查看问题: 97 | 98 | 1. windows 平台开发安卓应用 `tabBarIcon` 未正确渲染 [#1](https://github.com/xiaogliu/react_native_complete_demo/issues/1) 99 | 2. 构建安卓应用时无法下载 gradle [#3](https://github.com/xiaogliu/react_native_complete_demo/issues/3) 100 | 101 | ## 其他 102 | 103 | 关于该项目更为具体的介绍可查看这两篇文章,详细介绍了开发过程: 104 | 105 | [开发 React Native APP —— 从改造官方 Demo 开始(一)](https://juejin.im/post/5a9602745188257a5c609b2f) 106 | [开发 React Native APP —— 从改造官方 Demo 开始(二)](https://juejin.im/post/5a9602c45188257a7262e3fb) 107 | -------------------------------------------------------------------------------- /src/assets/images/tab_home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/src/assets/images/tab_home.png -------------------------------------------------------------------------------- /src/assets/images/tab_home_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/src/assets/images/tab_home_active.png -------------------------------------------------------------------------------- /src/assets/images/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/src/assets/images/test.png -------------------------------------------------------------------------------- /src/assets/images/test@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/src/assets/images/test@2x.png -------------------------------------------------------------------------------- /src/assets/images/test@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/src/assets/images/test@3x.png -------------------------------------------------------------------------------- /src/assets/images/toast_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/src/assets/images/toast_error.png -------------------------------------------------------------------------------- /src/assets/images/toast_succeed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/src/assets/images/toast_succeed.png -------------------------------------------------------------------------------- /src/components/XgToast.js: -------------------------------------------------------------------------------- 1 | /** 2 | * toast 3 | */ 4 | 5 | import React, { Component } from 'react'; 6 | import { View, Text, Animated, StyleSheet, Image, Dimensions } from 'react-native'; 7 | import pxToDp from '../config/pxToDp'; 8 | 9 | // 设备屏幕宽高 10 | const dimensions = Dimensions.get('window'); 11 | // Toast提示框透明度 12 | const OPACITY = 0.8; 13 | // 显示时长 14 | const DURATION = 2000; 15 | 16 | const styles = StyleSheet.create({ 17 | container: { 18 | position: 'absolute', 19 | left: 0, 20 | right: 0, 21 | alignItems: 'center', 22 | width: dimensions.width, 23 | height: dimensions.height, 24 | zIndex: 9999, 25 | }, 26 | 27 | content: { 28 | justifyContent: 'center', 29 | alignItems: 'center', 30 | backgroundColor: '#5b5b5b', 31 | opacity: OPACITY, 32 | borderRadius: pxToDp(40), 33 | padding: pxToDp(20), 34 | width: pxToDp(280), 35 | height: pxToDp(220), 36 | }, 37 | 38 | text: { 39 | color: '#FFFFFF', 40 | textAlign: 'center', 41 | fontSize: pxToDp(28), 42 | fontFamily: 'PingFang-SC-Regular', 43 | }, 44 | }); 45 | 46 | export default class XgToast extends Component { 47 | // 初始化 默认 props 48 | static defaultProps = { 49 | position: 'top', 50 | imgSrc: require('../assets/images/toast_error.png'), 51 | }; 52 | 53 | constructor(props) { 54 | super(props); 55 | this.state = { 56 | text: '', 57 | isShow: false, 58 | opacityAnimate: new Animated.Value(OPACITY), // 动画 值初始化 59 | imgSrc: require('../assets/images/toast_error.png'), 60 | toastTop: pxToDp(400), 61 | }; 62 | 63 | // 当前显示状态 64 | this.isShow = false; 65 | // 初始化默认显示时长为SHORT 66 | this.duration = DURATION; 67 | } 68 | 69 | componentWillUnmount() { 70 | // 在页面生命周期结束时,解除定时器,避免内存泄漏 71 | if (this.animateTimer) { 72 | clearTimeout(this.animateTimer); 73 | } 74 | } 75 | 76 | /** 77 | * 显示 78 | */ 79 | 80 | show(text = 'Toast', duration = 2000, type = 'succeed', toastTop = pxToDp(400)) { 81 | this.duration = duration; 82 | 83 | // 根据不同 toast 类型,加载不同提示图片 84 | switch (type) { 85 | case 'succeed': 86 | this.setState({ imgSrc: require('../assets/images/toast_succeed.png') }); 87 | break; 88 | case 'error': 89 | this.setState({ imgSrc: require('../assets/images/toast_error.png') }); 90 | break; 91 | default: 92 | break; 93 | } 94 | 95 | // 显示 96 | this.setState({ 97 | text, 98 | toastTop, 99 | isShow: true, 100 | }); 101 | this.isShow = true; 102 | this.state.opacityAnimate.setValue(OPACITY); 103 | 104 | // 执行隐藏操作 105 | this.hide(); 106 | } 107 | 108 | /** 109 | * 隐藏 110 | */ 111 | 112 | hide() { 113 | // 隐藏状态下不执行操作 114 | if (!this.isShow) { 115 | return; 116 | } 117 | if (this.animateTimer) { 118 | clearTimeout(this.animateTimer); 119 | } 120 | this.animateTimer = setTimeout(() => { 121 | // 开启动画 122 | Animated.timing(this.state.opacityAnimate, { 123 | toValue: 0.0, 124 | duration: 600, 125 | }).start(() => { 126 | // 动画结束后,初始化状态 127 | this.setState({ 128 | isShow: false, 129 | }); 130 | this.isShow = false; 131 | }); 132 | }, this.duration); 133 | } 134 | 135 | render() { 136 | return this.state.isShow ? ( 137 | 138 | 141 | 145 | {this.state.text} 146 | 147 | 148 | ) : null; 149 | } 150 | } 151 | -------------------------------------------------------------------------------- /src/config/pxToDp.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 自适应布局 3 | * @param uiElementPx: ui给的原始尺寸 4 | */ 5 | import { Dimensions, Platform } from 'react-native'; 6 | 7 | // app 只有竖屏模式,所以可以只获取一次 width 8 | const deviceWidthDp = Dimensions.get('window').width; 9 | 10 | // UI 默认给图是 750 11 | const uiWidthPx = 750; 12 | 13 | function pxToDp(uiElementPx) { 14 | const transferNumb = uiElementPx * deviceWidthDp / uiWidthPx; 15 | 16 | if (transferNumb >= 1) { 17 | // 避免出现循环小数 18 | return Math.ceil(transferNumb); 19 | } else if (Platform.OS === 'android') { 20 | // 如果是安卓,最小为1,避免边框出现锯齿 21 | return 1; 22 | } 23 | return 0.5; 24 | } 25 | 26 | export default pxToDp; 27 | -------------------------------------------------------------------------------- /src/config/route.js: -------------------------------------------------------------------------------- 1 | // 引入依赖 2 | import React from 'react'; 3 | import { StackNavigator } from 'react-navigation'; 4 | 5 | // 引入页面组件 6 | import ScreenBottomTab from '../screens/ScreenBottomTab'; 7 | import ScreenHome from '../screens/ScreenHome'; 8 | import ScreenSome1 from '../screens/ScreenSome1'; 9 | import ScreenSome2 from '../screens/ScreenSome2'; 10 | import ScreenTab1 from '../screens/ScreenTab1'; 11 | import ScreenTab2 from '../screens/ScreenTab2'; 12 | import ScreenTab3 from '../screens/ScreenTab3'; 13 | import ScreenWebView from '../screens/ScreenWebView'; 14 | 15 | /** 16 | * 自定义 StackNavigator,可以选择 screen 进入方式 17 | * 默认状态为 card,只需要输入对应页面,比如 ..navigate('ScreenSome1') 18 | * 如果要使某个页面进入方式为 modal 只需要在路径上加上 Modal 19 | * 比如:..navigate('ScreenSome2Modal') 20 | */ 21 | 22 | const StackModalNavigator = (routeConfigs, navigatorConfig) => { 23 | const CardStackNavigator = StackNavigator(routeConfigs, navigatorConfig); 24 | const modalRouteConfig = {}; 25 | const routeNames = Object.keys(routeConfigs); 26 | 27 | for (let i = 0; i < routeNames.length; i++) { 28 | modalRouteConfig[`${routeNames[i]}Modal`] = routeConfigs[routeNames[i]]; 29 | } 30 | 31 | const ModalStackNavigator = StackNavigator( 32 | { 33 | CardStackNavigator: { screen: CardStackNavigator }, 34 | ...modalRouteConfig, 35 | }, 36 | { 37 | // 如果页面进入方式为 modal,需要自定义 header(默认 header 样式失效,都叠在一块了) 38 | mode: 'modal', 39 | headerMode: 'none', 40 | }, 41 | ); 42 | 43 | return ModalStackNavigator; 44 | }; 45 | 46 | // 配置路由 47 | const AppNavigator = StackModalNavigator({ 48 | ScreenBottomTab: { 49 | screen: ScreenBottomTab, 50 | }, 51 | ScreenHome: { 52 | screen: ScreenHome, 53 | }, 54 | ScreenSome1: { 55 | screen: ScreenSome1, 56 | }, 57 | ScreenSome2: { 58 | screen: ScreenSome2, 59 | }, 60 | ScreenTab2: { 61 | screen: ScreenTab2, 62 | }, 63 | ScreenTab1: { 64 | screen: ScreenTab1, 65 | }, 66 | ScreenTab3: { 67 | screen: ScreenTab3, 68 | }, 69 | ScreenWebView: { 70 | screen: ScreenWebView, 71 | }, 72 | }); 73 | 74 | export default () => ; 75 | -------------------------------------------------------------------------------- /src/config/xgHttp.js: -------------------------------------------------------------------------------- 1 | // 请求服务器host 2 | const host = 'http://api.juheapi.com'; 3 | 4 | /** 5 | * 发送网络请求 6 | * @param method HTTP 请求方法 7 | * @param url URL 8 | * @param bodyParams HTTP Body 9 | * @param urlParams URL Params 10 | */ 11 | export default async function (method, url, { bodyParams = {}, urlParams = {} }) { 12 | const headers = new Headers(); 13 | headers.append('Content-Type', 'application/json'); 14 | 15 | // 将url参数写入URL 16 | let urlParStr = ''; 17 | const urlParArr = Object.keys(urlParams); 18 | if (urlParArr.length) { 19 | Object.keys(urlParams).forEach((element) => { 20 | urlParStr += `${element}=${urlParams[element]}&`; 21 | }); 22 | urlParStr = `?${urlParStr}`.slice(0, -1); 23 | } 24 | 25 | const res = await fetch(new Request(`${host}${url}${urlParStr}`, { 26 | method, 27 | headers, 28 | body: method === ('GET' || 'HEAD') ? null : JSON.stringify(bodyParams), 29 | })); 30 | 31 | if (res.status < 200 || res.status > 299) { 32 | console.log(`出错啦:${res.status}`); 33 | } else { 34 | return res.json(); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/config/xgRequest.js: -------------------------------------------------------------------------------- 1 | import XgHttp from './xgHttp'; 2 | 3 | export default { 4 | /** 5 | * 聚合数据 API,GET,查询历史上的今天 6 | * @param key 应用APPKEY 7 | * @param v 当前固定值 1.0 8 | * @param month 月份,如 10 9 | * @param day 月份,如 1 10 | */ 11 | todayOnHistory: urlPar => XgHttp('GET', '/japi/toh', { urlParams: urlPar }), 12 | }; 13 | -------------------------------------------------------------------------------- /src/redux/actions.js: -------------------------------------------------------------------------------- 1 | export function setUserInfo(userInfo) { 2 | return { 3 | type: 'SET_USER_INFO', 4 | userInfo, 5 | }; 6 | } 7 | export function clearReduxStore() { 8 | return { 9 | type: 'CLEAR_REDUX_STORE', 10 | }; 11 | } 12 | -------------------------------------------------------------------------------- /src/redux/reducers.js: -------------------------------------------------------------------------------- 1 | const initialState = { 2 | userInfo: { 3 | name: '小光', 4 | gender: '男', 5 | }, 6 | }; 7 | 8 | function reducers(state = initialState, action) { 9 | switch (action.type) { 10 | case 'SET_USER_INFO': 11 | // 合并 userInfo 对象 12 | action.userInfo = Object.assign({}, state.userInfo, action.userInfo); 13 | 14 | // 更新状态 15 | return Object.assign({}, state, { userInfo: action.userInfo }); 16 | case 'CLEAR_REDUX_STORE': 17 | // 清空 store 中的 userInfo 信息 18 | return { userInfo: {} }; 19 | default: 20 | return state; 21 | } 22 | } 23 | 24 | export default reducers; 25 | -------------------------------------------------------------------------------- /src/redux/store.js: -------------------------------------------------------------------------------- 1 | import { createStore } from 'redux'; 2 | import { AsyncStorage } from 'react-native'; 3 | import { persistStore, persistCombineReducers } from 'redux-persist'; 4 | import reducers from './reducers'; 5 | 6 | // 持久化存储配置 7 | const config = { 8 | key: 'root', 9 | storage: AsyncStorage, 10 | }; 11 | 12 | const persistReducers = persistCombineReducers(config, { 13 | reducers, 14 | }); 15 | 16 | const configureStore = () => { 17 | const store = createStore(persistReducers); 18 | const persistor = persistStore(store); 19 | 20 | return { persistor, store }; 21 | }; 22 | 23 | export default configureStore; 24 | -------------------------------------------------------------------------------- /src/screens/ScreenBottomTab/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { TabNavigator } from 'react-navigation'; 3 | import ScreenHome from '../ScreenHome'; 4 | import ScreenTab1 from '../ScreenTab1'; 5 | import ScreenTab2 from '../ScreenTab2'; 6 | import ScreenTab3 from '../ScreenTab3'; 7 | 8 | const ScreenTab = TabNavigator( 9 | { 10 | ScreenHome: { 11 | screen: ScreenHome, 12 | }, 13 | ScreenTab1: { 14 | screen: ScreenTab1, 15 | }, 16 | ScreenTab2: { 17 | screen: ScreenTab2, 18 | }, 19 | ScreenTab3: { 20 | screen: ScreenTab3, 21 | }, 22 | }, 23 | { 24 | tabBarPosition: 'bottom', 25 | }, 26 | ); 27 | 28 | export default ScreenTab; 29 | -------------------------------------------------------------------------------- /src/screens/ScreenHome/index.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { Image } from 'react-native'; 3 | import SplashScreen from 'react-native-splash-screen'; 4 | 5 | // redux 相关 6 | import { connect } from 'react-redux'; 7 | import { bindActionCreators } from 'redux'; 8 | import * as actionCreators from '../../redux/actions'; 9 | 10 | import view from './view'; 11 | 12 | class ScreenHome extends Component { 13 | static navigationOptions = { 14 | title: '首页', 15 | tabBarIcon: ({ focused }) => { 16 | const icon = focused 17 | ? require('../../assets/images/tab_home_active.png') 18 | : require('../../assets/images/tab_home.png'); 19 | return ; 20 | }, 21 | }; 22 | 23 | constructor(props) { 24 | super(props); 25 | this.navigation = props.navigation; 26 | } 27 | componentDidMount() { 28 | // 隐藏启动页 29 | SplashScreen.hide(); 30 | } 31 | render() { 32 | return view(this); 33 | } 34 | } 35 | 36 | // 关联 redux store 37 | function mapStateToProps(state) { 38 | return { 39 | userInfo: state.reducers.userInfo, 40 | }; 41 | } 42 | 43 | function mapDispatchToProps(dispatch) { 44 | return bindActionCreators(actionCreators, dispatch); 45 | } 46 | 47 | export default connect(mapStateToProps, mapDispatchToProps)(ScreenHome); 48 | -------------------------------------------------------------------------------- /src/screens/ScreenHome/style.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaogliu/react-native-complete-demo/c082da5584741ad06707e9ce0a699200aa463479/src/screens/ScreenHome/style.js -------------------------------------------------------------------------------- /src/screens/ScreenHome/view.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { View, Button, Text } from 'react-native'; 3 | import pxToDp from '../../config/pxToDp'; 4 | 5 | export default self => ( 6 | 7 | home 8 | {/* ScreenSome2 从屏幕右侧进入 */} 9 |