├── .babelrc ├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .vscode └── settings.json ├── .watchmanconfig ├── App.js ├── README.md ├── __tests__ └── App.js ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── reactnativenavigationdemo │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── keystores │ ├── BUCK │ └── debug.keystore.properties └── settings.gradle ├── app.json ├── index.js ├── ios ├── ReactNativeNavigationDemo-tvOS │ └── Info.plist ├── ReactNativeNavigationDemo-tvOSTests │ └── Info.plist ├── ReactNativeNavigationDemo.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── ReactNativeNavigationDemo-tvOS.xcscheme │ │ └── ReactNativeNavigationDemo.xcscheme ├── ReactNativeNavigationDemo │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── ReactNativeNavigationDemoTests │ ├── Info.plist │ └── ReactNativeNavigationDemoTests.m ├── package-lock.json ├── package.json ├── src ├── action │ ├── home.js │ ├── index.js │ ├── mine.js │ └── popularize.js ├── assets │ ├── add.png │ ├── home.png │ └── mine.png ├── reducer │ ├── home.js │ ├── index.js │ ├── mine.js │ └── popularize.js ├── saga │ ├── home.js │ ├── index.js │ ├── mine.js │ └── popularize.js ├── screen │ ├── home │ │ ├── index.js │ │ ├── layoutAnination.js │ │ └── nextPage.js │ ├── index.js │ ├── mine │ │ └── index.js │ └── popularize │ │ └── index.js ├── store │ └── index.js └── utils │ └── fetch.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 | -------------------------------------------------------------------------------- /.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 | [version] 54 | ^0.65.0 55 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /App.js: -------------------------------------------------------------------------------- 1 | import { Navigation } from 'react-native-navigation'; 2 | import { registerScreens } from './src/screen/index'; 3 | import { Provider } from 'react-redux'; 4 | import configuerStore from './src/store/index'; 5 | 6 | const { store } = configuerStore(() => { }); 7 | // 执行注册页面方法 8 | registerScreens(store, Provider); 9 | 10 | // 启动app 11 | Navigation.startTabBasedApp({ 12 | tabs: [ 13 | { 14 | label: 'home', 15 | screen: 'home', 16 | title: '首页', 17 | icon: require('./src/assets/home.png') 18 | }, 19 | { 20 | screen: 'popularize', 21 | title: '推广', 22 | icon: require('./src/assets/add.png'), 23 | iconInsets: { 24 | top: 5, 25 | left: 0, 26 | bottom: -5, 27 | right: 0 28 | } 29 | }, 30 | { 31 | label: 'mine', 32 | screen: 'mine', 33 | title: '我', 34 | icon: require('./src/assets/mine.png') 35 | } 36 | ], 37 | appStyle: { 38 | navBarBackgroundColor: '#292f33', //顶部导航栏背景颜色 39 | navBarTextColor: 'white' //顶部导航栏字体颜色 40 | }, 41 | tabsStyle: { 42 | tabBarButtonColor: '#ccc', //底部按钮颜色 43 | tabBarSelectedButtonColor: '#08cb6a', //底部按钮选择状态颜色 44 | tabBarBackgroundColor: '#E6E6E6' //顶部条背景颜色 45 | } 46 | }); 47 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | ### 详细搭建过程请参考 3 | 4 | [React-Native从零搭建App](https://juejin.im/post/5a9f93d96fb9a028d2077c19) 5 | 6 | ### 其他参考 7 | 8 | [零客户端开发经验 React Native 热更新 CodePush 打包集成指北](https://github.com/rccoder/blog/issues/27) 文章下面有很多不错的链接 9 | 10 | 11 | -------------------------------------------------------------------------------- /__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.reactnativenavigationdemo", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.reactnativenavigationdemo", 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.reactnativenavigationdemo" 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 | buildTypes { 119 | release { 120 | minifyEnabled enableProguardInReleaseBuilds 121 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 122 | } 123 | } 124 | // applicationVariants are e.g. debug, release 125 | applicationVariants.all { variant -> 126 | variant.outputs.each { output -> 127 | // For each separate APK per architecture, set a unique version code as described here: 128 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 129 | def versionCodes = ["armeabi-v7a":1, "x86":2] 130 | def abi = output.getFilter(OutputFile.ABI) 131 | if (abi != null) { // null for the universal-debug, universal-release variants 132 | output.versionCodeOverride = 133 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 134 | } 135 | } 136 | } 137 | } 138 | 139 | dependencies { 140 | compile fileTree(dir: "libs", include: ["*.jar"]) 141 | compile "com.android.support:appcompat-v7:23.0.1" 142 | compile "com.facebook.react:react-native:+" // From node_modules 143 | } 144 | 145 | // Run this once to be able to run the application with BUCK 146 | // puts all compile dependencies into folder libs for BUCK to use 147 | task copyDownloadableDepsToLibs(type: Copy) { 148 | from configurations.compile 149 | into 'libs' 150 | } 151 | -------------------------------------------------------------------------------- /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 | 3 | 4 | 5 | 6 | 7 | 13 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/reactnativenavigationdemo/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.reactnativenavigationdemo; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "ReactNativeNavigationDemo"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/reactnativenavigationdemo/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.reactnativenavigationdemo; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.facebook.react.ReactNativeHost; 7 | import com.facebook.react.ReactPackage; 8 | import com.facebook.react.shell.MainReactPackage; 9 | import com.facebook.soloader.SoLoader; 10 | 11 | import java.util.Arrays; 12 | import java.util.List; 13 | 14 | public class MainApplication extends Application implements ReactApplication { 15 | 16 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 17 | @Override 18 | public boolean getUseDeveloperSupport() { 19 | return BuildConfig.DEBUG; 20 | } 21 | 22 | @Override 23 | protected List getPackages() { 24 | return Arrays.asList( 25 | new MainReactPackage() 26 | ); 27 | } 28 | 29 | @Override 30 | protected String getJSMainModuleName() { 31 | return "index"; 32 | } 33 | }; 34 | 35 | @Override 36 | public ReactNativeHost getReactNativeHost() { 37 | return mReactNativeHost; 38 | } 39 | 40 | @Override 41 | public void onCreate() { 42 | super.onCreate(); 43 | SoLoader.init(this, /* native exopackage */ false); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandakelake/ReactNativeNavigationDemo/0ab0b3af4f8865c1374bc7de753d0ef0e4e91983/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandakelake/ReactNativeNavigationDemo/0ab0b3af4f8865c1374bc7de753d0ef0e4e91983/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandakelake/ReactNativeNavigationDemo/0ab0b3af4f8865c1374bc7de753d0ef0e4e91983/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandakelake/ReactNativeNavigationDemo/0ab0b3af4f8865c1374bc7de753d0ef0e4e91983/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ReactNativeNavigationDemo 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.3' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | mavenLocal() 18 | jcenter() 19 | maven { 20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 21 | url "$rootDir/../node_modules/react-native/android" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useDeprecatedNdk=true 21 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandakelake/ReactNativeNavigationDemo/0ab0b3af4f8865c1374bc7de753d0ef0e4e91983/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 6 | -------------------------------------------------------------------------------- /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 = 'ReactNativeNavigationDemo' 2 | 3 | include ':app' 4 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ReactNativeNavigationDemo", 3 | "displayName": "ReactNativeNavigationDemo" 4 | } -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import { AppRegistry } from 'react-native'; 2 | import App from './App'; 3 | 4 | AppRegistry.registerComponent('ReactNativeNavigationDemo', () => App); 5 | -------------------------------------------------------------------------------- /ios/ReactNativeNavigationDemo-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/ReactNativeNavigationDemo-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/ReactNativeNavigationDemo.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 /* ReactNativeNavigationDemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNativeNavigationDemoTests.m */; }; 16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 23 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 1446879C204E824D00A410D8 /* libReactNativeNavigation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 14468799204E728900A410D8 /* libReactNativeNavigation.a */; }; 25 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 26 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 27 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 28 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 29 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 30 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 31 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 32 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 33 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 34 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 35 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 36 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; }; 37 | 2DCD954D1E0B4F2C00145EB5 /* ReactNativeNavigationDemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNativeNavigationDemoTests.m */; }; 38 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 39 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 40 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 41 | /* End PBXBuildFile section */ 42 | 43 | /* Begin PBXContainerItemProxy section */ 44 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 45 | isa = PBXContainerItemProxy; 46 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 47 | proxyType = 2; 48 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 49 | remoteInfo = RCTActionSheet; 50 | }; 51 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 52 | isa = PBXContainerItemProxy; 53 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 54 | proxyType = 2; 55 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 56 | remoteInfo = RCTGeolocation; 57 | }; 58 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 59 | isa = PBXContainerItemProxy; 60 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 61 | proxyType = 2; 62 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 63 | remoteInfo = RCTImage; 64 | }; 65 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 66 | isa = PBXContainerItemProxy; 67 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 68 | proxyType = 2; 69 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 70 | remoteInfo = RCTNetwork; 71 | }; 72 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 73 | isa = PBXContainerItemProxy; 74 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 75 | proxyType = 2; 76 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 77 | remoteInfo = RCTVibration; 78 | }; 79 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 80 | isa = PBXContainerItemProxy; 81 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 82 | proxyType = 1; 83 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 84 | remoteInfo = ReactNativeNavigationDemo; 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 | 14468787204E728900A410D8 /* PBXContainerItemProxy */ = { 101 | isa = PBXContainerItemProxy; 102 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 103 | proxyType = 2; 104 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5; 105 | remoteInfo = jsinspector; 106 | }; 107 | 14468789204E728900A410D8 /* PBXContainerItemProxy */ = { 108 | isa = PBXContainerItemProxy; 109 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 110 | proxyType = 2; 111 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; 112 | remoteInfo = "jsinspector-tvOS"; 113 | }; 114 | 1446878B204E728900A410D8 /* PBXContainerItemProxy */ = { 115 | isa = PBXContainerItemProxy; 116 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 117 | proxyType = 2; 118 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 119 | remoteInfo = "third-party"; 120 | }; 121 | 1446878D204E728900A410D8 /* PBXContainerItemProxy */ = { 122 | isa = PBXContainerItemProxy; 123 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 124 | proxyType = 2; 125 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 126 | remoteInfo = "third-party-tvOS"; 127 | }; 128 | 1446878F204E728900A410D8 /* PBXContainerItemProxy */ = { 129 | isa = PBXContainerItemProxy; 130 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 131 | proxyType = 2; 132 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 133 | remoteInfo = "double-conversion"; 134 | }; 135 | 14468791204E728900A410D8 /* PBXContainerItemProxy */ = { 136 | isa = PBXContainerItemProxy; 137 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 138 | proxyType = 2; 139 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 140 | remoteInfo = "double-conversion-tvOS"; 141 | }; 142 | 14468793204E728900A410D8 /* PBXContainerItemProxy */ = { 143 | isa = PBXContainerItemProxy; 144 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 145 | proxyType = 2; 146 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04; 147 | remoteInfo = privatedata; 148 | }; 149 | 14468795204E728900A410D8 /* PBXContainerItemProxy */ = { 150 | isa = PBXContainerItemProxy; 151 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 152 | proxyType = 2; 153 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04; 154 | remoteInfo = "privatedata-tvOS"; 155 | }; 156 | 14468798204E728900A410D8 /* PBXContainerItemProxy */ = { 157 | isa = PBXContainerItemProxy; 158 | containerPortal = 1446875F204E728900A410D8 /* ReactNativeNavigation.xcodeproj */; 159 | proxyType = 2; 160 | remoteGlobalIDString = D8AFADBD1BEE6F3F00A4592D; 161 | remoteInfo = ReactNativeNavigation; 162 | }; 163 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 164 | isa = PBXContainerItemProxy; 165 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 166 | proxyType = 2; 167 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 168 | remoteInfo = React; 169 | }; 170 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 171 | isa = PBXContainerItemProxy; 172 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 173 | proxyType = 1; 174 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 175 | remoteInfo = "ReactNativeNavigationDemo-tvOS"; 176 | }; 177 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 178 | isa = PBXContainerItemProxy; 179 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 180 | proxyType = 2; 181 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 182 | remoteInfo = "RCTBlob-tvOS"; 183 | }; 184 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 185 | isa = PBXContainerItemProxy; 186 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 187 | proxyType = 2; 188 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 189 | remoteInfo = fishhook; 190 | }; 191 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 192 | isa = PBXContainerItemProxy; 193 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 194 | proxyType = 2; 195 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 196 | remoteInfo = "fishhook-tvOS"; 197 | }; 198 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 199 | isa = PBXContainerItemProxy; 200 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 201 | proxyType = 2; 202 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 203 | remoteInfo = "RCTImage-tvOS"; 204 | }; 205 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 206 | isa = PBXContainerItemProxy; 207 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 208 | proxyType = 2; 209 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 210 | remoteInfo = "RCTLinking-tvOS"; 211 | }; 212 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 213 | isa = PBXContainerItemProxy; 214 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 215 | proxyType = 2; 216 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 217 | remoteInfo = "RCTNetwork-tvOS"; 218 | }; 219 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 220 | isa = PBXContainerItemProxy; 221 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 222 | proxyType = 2; 223 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 224 | remoteInfo = "RCTSettings-tvOS"; 225 | }; 226 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 227 | isa = PBXContainerItemProxy; 228 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 229 | proxyType = 2; 230 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 231 | remoteInfo = "RCTText-tvOS"; 232 | }; 233 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 234 | isa = PBXContainerItemProxy; 235 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 236 | proxyType = 2; 237 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 238 | remoteInfo = "RCTWebSocket-tvOS"; 239 | }; 240 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 241 | isa = PBXContainerItemProxy; 242 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 243 | proxyType = 2; 244 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 245 | remoteInfo = "React-tvOS"; 246 | }; 247 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 248 | isa = PBXContainerItemProxy; 249 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 250 | proxyType = 2; 251 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 252 | remoteInfo = yoga; 253 | }; 254 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 255 | isa = PBXContainerItemProxy; 256 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 257 | proxyType = 2; 258 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 259 | remoteInfo = "yoga-tvOS"; 260 | }; 261 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 262 | isa = PBXContainerItemProxy; 263 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 264 | proxyType = 2; 265 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 266 | remoteInfo = cxxreact; 267 | }; 268 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 269 | isa = PBXContainerItemProxy; 270 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 271 | proxyType = 2; 272 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 273 | remoteInfo = "cxxreact-tvOS"; 274 | }; 275 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 276 | isa = PBXContainerItemProxy; 277 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 278 | proxyType = 2; 279 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 280 | remoteInfo = jschelpers; 281 | }; 282 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 283 | isa = PBXContainerItemProxy; 284 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 285 | proxyType = 2; 286 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 287 | remoteInfo = "jschelpers-tvOS"; 288 | }; 289 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 290 | isa = PBXContainerItemProxy; 291 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 292 | proxyType = 2; 293 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 294 | remoteInfo = RCTAnimation; 295 | }; 296 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 297 | isa = PBXContainerItemProxy; 298 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 299 | proxyType = 2; 300 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 301 | remoteInfo = "RCTAnimation-tvOS"; 302 | }; 303 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 304 | isa = PBXContainerItemProxy; 305 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 306 | proxyType = 2; 307 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 308 | remoteInfo = RCTLinking; 309 | }; 310 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 311 | isa = PBXContainerItemProxy; 312 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 313 | proxyType = 2; 314 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 315 | remoteInfo = RCTText; 316 | }; 317 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 318 | isa = PBXContainerItemProxy; 319 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 320 | proxyType = 2; 321 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 322 | remoteInfo = RCTBlob; 323 | }; 324 | /* End PBXContainerItemProxy section */ 325 | 326 | /* Begin PBXFileReference section */ 327 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 328 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 329 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 330 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 331 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 332 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 333 | 00E356EE1AD99517003FC87E /* ReactNativeNavigationDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ReactNativeNavigationDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 334 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 335 | 00E356F21AD99517003FC87E /* ReactNativeNavigationDemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ReactNativeNavigationDemoTests.m; sourceTree = ""; }; 336 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 337 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 338 | 13B07F961A680F5B00A75B9A /* ReactNativeNavigationDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ReactNativeNavigationDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 339 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ReactNativeNavigationDemo/AppDelegate.h; sourceTree = ""; }; 340 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = ReactNativeNavigationDemo/AppDelegate.m; sourceTree = ""; }; 341 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 342 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ReactNativeNavigationDemo/Images.xcassets; sourceTree = ""; }; 343 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ReactNativeNavigationDemo/Info.plist; sourceTree = ""; }; 344 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ReactNativeNavigationDemo/main.m; sourceTree = ""; }; 345 | 1446875F204E728900A410D8 /* ReactNativeNavigation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ReactNativeNavigation.xcodeproj; path = "../node_modules/react-native-navigation/ios/ReactNativeNavigation.xcodeproj"; sourceTree = ""; }; 346 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 347 | 2D02E47B1E0B4A5D006451C7 /* ReactNativeNavigationDemo-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ReactNativeNavigationDemo-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 348 | 2D02E4901E0B4A5D006451C7 /* ReactNativeNavigationDemo-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "ReactNativeNavigationDemo-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 349 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 350 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 351 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 352 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 353 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 354 | /* End PBXFileReference section */ 355 | 356 | /* Begin PBXFrameworksBuildPhase section */ 357 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 358 | isa = PBXFrameworksBuildPhase; 359 | buildActionMask = 2147483647; 360 | files = ( 361 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 362 | ); 363 | runOnlyForDeploymentPostprocessing = 0; 364 | }; 365 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 366 | isa = PBXFrameworksBuildPhase; 367 | buildActionMask = 2147483647; 368 | files = ( 369 | 1446879C204E824D00A410D8 /* libReactNativeNavigation.a in Frameworks */, 370 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 371 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 372 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 373 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 374 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 375 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 376 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 377 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 378 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 379 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 380 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 381 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 382 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 383 | ); 384 | runOnlyForDeploymentPostprocessing = 0; 385 | }; 386 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 387 | isa = PBXFrameworksBuildPhase; 388 | buildActionMask = 2147483647; 389 | files = ( 390 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 391 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 392 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 393 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 394 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 395 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 396 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 397 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 398 | ); 399 | runOnlyForDeploymentPostprocessing = 0; 400 | }; 401 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 402 | isa = PBXFrameworksBuildPhase; 403 | buildActionMask = 2147483647; 404 | files = ( 405 | ); 406 | runOnlyForDeploymentPostprocessing = 0; 407 | }; 408 | /* End PBXFrameworksBuildPhase section */ 409 | 410 | /* Begin PBXGroup section */ 411 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 412 | isa = PBXGroup; 413 | children = ( 414 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 415 | ); 416 | name = Products; 417 | sourceTree = ""; 418 | }; 419 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 420 | isa = PBXGroup; 421 | children = ( 422 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 423 | ); 424 | name = Products; 425 | sourceTree = ""; 426 | }; 427 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 428 | isa = PBXGroup; 429 | children = ( 430 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 431 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 432 | ); 433 | name = Products; 434 | sourceTree = ""; 435 | }; 436 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 437 | isa = PBXGroup; 438 | children = ( 439 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 440 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 441 | ); 442 | name = Products; 443 | sourceTree = ""; 444 | }; 445 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 446 | isa = PBXGroup; 447 | children = ( 448 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 449 | ); 450 | name = Products; 451 | sourceTree = ""; 452 | }; 453 | 00E356EF1AD99517003FC87E /* ReactNativeNavigationDemoTests */ = { 454 | isa = PBXGroup; 455 | children = ( 456 | 00E356F21AD99517003FC87E /* ReactNativeNavigationDemoTests.m */, 457 | 00E356F01AD99517003FC87E /* Supporting Files */, 458 | ); 459 | path = ReactNativeNavigationDemoTests; 460 | sourceTree = ""; 461 | }; 462 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 463 | isa = PBXGroup; 464 | children = ( 465 | 00E356F11AD99517003FC87E /* Info.plist */, 466 | ); 467 | name = "Supporting Files"; 468 | sourceTree = ""; 469 | }; 470 | 139105B71AF99BAD00B5F7CC /* Products */ = { 471 | isa = PBXGroup; 472 | children = ( 473 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 474 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 475 | ); 476 | name = Products; 477 | sourceTree = ""; 478 | }; 479 | 139FDEE71B06529A00C62182 /* Products */ = { 480 | isa = PBXGroup; 481 | children = ( 482 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 483 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 484 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, 485 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, 486 | ); 487 | name = Products; 488 | sourceTree = ""; 489 | }; 490 | 13B07FAE1A68108700A75B9A /* ReactNativeNavigationDemo */ = { 491 | isa = PBXGroup; 492 | children = ( 493 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 494 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 495 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 496 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 497 | 13B07FB61A68108700A75B9A /* Info.plist */, 498 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 499 | 13B07FB71A68108700A75B9A /* main.m */, 500 | ); 501 | name = ReactNativeNavigationDemo; 502 | sourceTree = ""; 503 | }; 504 | 14468760204E728900A410D8 /* Products */ = { 505 | isa = PBXGroup; 506 | children = ( 507 | 14468799204E728900A410D8 /* libReactNativeNavigation.a */, 508 | ); 509 | name = Products; 510 | sourceTree = ""; 511 | }; 512 | 146834001AC3E56700842450 /* Products */ = { 513 | isa = PBXGroup; 514 | children = ( 515 | 146834041AC3E56700842450 /* libReact.a */, 516 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 517 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 518 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 519 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 520 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 521 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 522 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 523 | 14468788204E728900A410D8 /* libjsinspector.a */, 524 | 1446878A204E728900A410D8 /* libjsinspector-tvOS.a */, 525 | 1446878C204E728900A410D8 /* libthird-party.a */, 526 | 1446878E204E728900A410D8 /* libthird-party.a */, 527 | 14468790204E728900A410D8 /* libdouble-conversion.a */, 528 | 14468792204E728900A410D8 /* libdouble-conversion.a */, 529 | 14468794204E728900A410D8 /* libprivatedata.a */, 530 | 14468796204E728900A410D8 /* libprivatedata-tvOS.a */, 531 | ); 532 | name = Products; 533 | sourceTree = ""; 534 | }; 535 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 536 | isa = PBXGroup; 537 | children = ( 538 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 539 | ); 540 | name = Frameworks; 541 | sourceTree = ""; 542 | }; 543 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 544 | isa = PBXGroup; 545 | children = ( 546 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 547 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 548 | ); 549 | name = Products; 550 | sourceTree = ""; 551 | }; 552 | 78C398B11ACF4ADC00677621 /* Products */ = { 553 | isa = PBXGroup; 554 | children = ( 555 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 556 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 557 | ); 558 | name = Products; 559 | sourceTree = ""; 560 | }; 561 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 562 | isa = PBXGroup; 563 | children = ( 564 | 1446875F204E728900A410D8 /* ReactNativeNavigation.xcodeproj */, 565 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 566 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 567 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 568 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 569 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 570 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 571 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 572 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 573 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 574 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 575 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 576 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 577 | ); 578 | name = Libraries; 579 | sourceTree = ""; 580 | }; 581 | 832341B11AAA6A8300B99B32 /* Products */ = { 582 | isa = PBXGroup; 583 | children = ( 584 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 585 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 586 | ); 587 | name = Products; 588 | sourceTree = ""; 589 | }; 590 | 83CBB9F61A601CBA00E9B192 = { 591 | isa = PBXGroup; 592 | children = ( 593 | 13B07FAE1A68108700A75B9A /* ReactNativeNavigationDemo */, 594 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 595 | 00E356EF1AD99517003FC87E /* ReactNativeNavigationDemoTests */, 596 | 83CBBA001A601CBA00E9B192 /* Products */, 597 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 598 | ); 599 | indentWidth = 2; 600 | sourceTree = ""; 601 | tabWidth = 2; 602 | usesTabs = 0; 603 | }; 604 | 83CBBA001A601CBA00E9B192 /* Products */ = { 605 | isa = PBXGroup; 606 | children = ( 607 | 13B07F961A680F5B00A75B9A /* ReactNativeNavigationDemo.app */, 608 | 00E356EE1AD99517003FC87E /* ReactNativeNavigationDemoTests.xctest */, 609 | 2D02E47B1E0B4A5D006451C7 /* ReactNativeNavigationDemo-tvOS.app */, 610 | 2D02E4901E0B4A5D006451C7 /* ReactNativeNavigationDemo-tvOSTests.xctest */, 611 | ); 612 | name = Products; 613 | sourceTree = ""; 614 | }; 615 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 616 | isa = PBXGroup; 617 | children = ( 618 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 619 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, 620 | ); 621 | name = Products; 622 | sourceTree = ""; 623 | }; 624 | /* End PBXGroup section */ 625 | 626 | /* Begin PBXNativeTarget section */ 627 | 00E356ED1AD99517003FC87E /* ReactNativeNavigationDemoTests */ = { 628 | isa = PBXNativeTarget; 629 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReactNativeNavigationDemoTests" */; 630 | buildPhases = ( 631 | 00E356EA1AD99517003FC87E /* Sources */, 632 | 00E356EB1AD99517003FC87E /* Frameworks */, 633 | 00E356EC1AD99517003FC87E /* Resources */, 634 | ); 635 | buildRules = ( 636 | ); 637 | dependencies = ( 638 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 639 | ); 640 | name = ReactNativeNavigationDemoTests; 641 | productName = ReactNativeNavigationDemoTests; 642 | productReference = 00E356EE1AD99517003FC87E /* ReactNativeNavigationDemoTests.xctest */; 643 | productType = "com.apple.product-type.bundle.unit-test"; 644 | }; 645 | 13B07F861A680F5B00A75B9A /* ReactNativeNavigationDemo */ = { 646 | isa = PBXNativeTarget; 647 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeNavigationDemo" */; 648 | buildPhases = ( 649 | 13B07F871A680F5B00A75B9A /* Sources */, 650 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 651 | 13B07F8E1A680F5B00A75B9A /* Resources */, 652 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 653 | ); 654 | buildRules = ( 655 | ); 656 | dependencies = ( 657 | ); 658 | name = ReactNativeNavigationDemo; 659 | productName = "Hello World"; 660 | productReference = 13B07F961A680F5B00A75B9A /* ReactNativeNavigationDemo.app */; 661 | productType = "com.apple.product-type.application"; 662 | }; 663 | 2D02E47A1E0B4A5D006451C7 /* ReactNativeNavigationDemo-tvOS */ = { 664 | isa = PBXNativeTarget; 665 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeNavigationDemo-tvOS" */; 666 | buildPhases = ( 667 | 2D02E4771E0B4A5D006451C7 /* Sources */, 668 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 669 | 2D02E4791E0B4A5D006451C7 /* Resources */, 670 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 671 | ); 672 | buildRules = ( 673 | ); 674 | dependencies = ( 675 | ); 676 | name = "ReactNativeNavigationDemo-tvOS"; 677 | productName = "ReactNativeNavigationDemo-tvOS"; 678 | productReference = 2D02E47B1E0B4A5D006451C7 /* ReactNativeNavigationDemo-tvOS.app */; 679 | productType = "com.apple.product-type.application"; 680 | }; 681 | 2D02E48F1E0B4A5D006451C7 /* ReactNativeNavigationDemo-tvOSTests */ = { 682 | isa = PBXNativeTarget; 683 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeNavigationDemo-tvOSTests" */; 684 | buildPhases = ( 685 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 686 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 687 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 688 | ); 689 | buildRules = ( 690 | ); 691 | dependencies = ( 692 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 693 | ); 694 | name = "ReactNativeNavigationDemo-tvOSTests"; 695 | productName = "ReactNativeNavigationDemo-tvOSTests"; 696 | productReference = 2D02E4901E0B4A5D006451C7 /* ReactNativeNavigationDemo-tvOSTests.xctest */; 697 | productType = "com.apple.product-type.bundle.unit-test"; 698 | }; 699 | /* End PBXNativeTarget section */ 700 | 701 | /* Begin PBXProject section */ 702 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 703 | isa = PBXProject; 704 | attributes = { 705 | LastUpgradeCheck = 0610; 706 | ORGANIZATIONNAME = Facebook; 707 | TargetAttributes = { 708 | 00E356ED1AD99517003FC87E = { 709 | CreatedOnToolsVersion = 6.2; 710 | TestTargetID = 13B07F861A680F5B00A75B9A; 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 "ReactNativeNavigationDemo" */; 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 = 14468760204E728900A410D8 /* Products */; 785 | ProjectRef = 1446875F204E728900A410D8 /* ReactNativeNavigation.xcodeproj */; 786 | }, 787 | ); 788 | projectRoot = ""; 789 | targets = ( 790 | 13B07F861A680F5B00A75B9A /* ReactNativeNavigationDemo */, 791 | 00E356ED1AD99517003FC87E /* ReactNativeNavigationDemoTests */, 792 | 2D02E47A1E0B4A5D006451C7 /* ReactNativeNavigationDemo-tvOS */, 793 | 2D02E48F1E0B4A5D006451C7 /* ReactNativeNavigationDemo-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 | 14468788204E728900A410D8 /* libjsinspector.a */ = { 849 | isa = PBXReferenceProxy; 850 | fileType = archive.ar; 851 | path = libjsinspector.a; 852 | remoteRef = 14468787204E728900A410D8 /* PBXContainerItemProxy */; 853 | sourceTree = BUILT_PRODUCTS_DIR; 854 | }; 855 | 1446878A204E728900A410D8 /* libjsinspector-tvOS.a */ = { 856 | isa = PBXReferenceProxy; 857 | fileType = archive.ar; 858 | path = "libjsinspector-tvOS.a"; 859 | remoteRef = 14468789204E728900A410D8 /* PBXContainerItemProxy */; 860 | sourceTree = BUILT_PRODUCTS_DIR; 861 | }; 862 | 1446878C204E728900A410D8 /* libthird-party.a */ = { 863 | isa = PBXReferenceProxy; 864 | fileType = archive.ar; 865 | path = "libthird-party.a"; 866 | remoteRef = 1446878B204E728900A410D8 /* PBXContainerItemProxy */; 867 | sourceTree = BUILT_PRODUCTS_DIR; 868 | }; 869 | 1446878E204E728900A410D8 /* libthird-party.a */ = { 870 | isa = PBXReferenceProxy; 871 | fileType = archive.ar; 872 | path = "libthird-party.a"; 873 | remoteRef = 1446878D204E728900A410D8 /* PBXContainerItemProxy */; 874 | sourceTree = BUILT_PRODUCTS_DIR; 875 | }; 876 | 14468790204E728900A410D8 /* libdouble-conversion.a */ = { 877 | isa = PBXReferenceProxy; 878 | fileType = archive.ar; 879 | path = "libdouble-conversion.a"; 880 | remoteRef = 1446878F204E728900A410D8 /* PBXContainerItemProxy */; 881 | sourceTree = BUILT_PRODUCTS_DIR; 882 | }; 883 | 14468792204E728900A410D8 /* libdouble-conversion.a */ = { 884 | isa = PBXReferenceProxy; 885 | fileType = archive.ar; 886 | path = "libdouble-conversion.a"; 887 | remoteRef = 14468791204E728900A410D8 /* PBXContainerItemProxy */; 888 | sourceTree = BUILT_PRODUCTS_DIR; 889 | }; 890 | 14468794204E728900A410D8 /* libprivatedata.a */ = { 891 | isa = PBXReferenceProxy; 892 | fileType = archive.ar; 893 | path = libprivatedata.a; 894 | remoteRef = 14468793204E728900A410D8 /* PBXContainerItemProxy */; 895 | sourceTree = BUILT_PRODUCTS_DIR; 896 | }; 897 | 14468796204E728900A410D8 /* libprivatedata-tvOS.a */ = { 898 | isa = PBXReferenceProxy; 899 | fileType = archive.ar; 900 | path = "libprivatedata-tvOS.a"; 901 | remoteRef = 14468795204E728900A410D8 /* PBXContainerItemProxy */; 902 | sourceTree = BUILT_PRODUCTS_DIR; 903 | }; 904 | 14468799204E728900A410D8 /* libReactNativeNavigation.a */ = { 905 | isa = PBXReferenceProxy; 906 | fileType = archive.ar; 907 | path = libReactNativeNavigation.a; 908 | remoteRef = 14468798204E728900A410D8 /* PBXContainerItemProxy */; 909 | sourceTree = BUILT_PRODUCTS_DIR; 910 | }; 911 | 146834041AC3E56700842450 /* libReact.a */ = { 912 | isa = PBXReferenceProxy; 913 | fileType = archive.ar; 914 | path = libReact.a; 915 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 916 | sourceTree = BUILT_PRODUCTS_DIR; 917 | }; 918 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { 919 | isa = PBXReferenceProxy; 920 | fileType = archive.ar; 921 | path = "libRCTBlob-tvOS.a"; 922 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; 923 | sourceTree = BUILT_PRODUCTS_DIR; 924 | }; 925 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { 926 | isa = PBXReferenceProxy; 927 | fileType = archive.ar; 928 | path = libfishhook.a; 929 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; 930 | sourceTree = BUILT_PRODUCTS_DIR; 931 | }; 932 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { 933 | isa = PBXReferenceProxy; 934 | fileType = archive.ar; 935 | path = "libfishhook-tvOS.a"; 936 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; 937 | sourceTree = BUILT_PRODUCTS_DIR; 938 | }; 939 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 940 | isa = PBXReferenceProxy; 941 | fileType = archive.ar; 942 | path = "libRCTImage-tvOS.a"; 943 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 944 | sourceTree = BUILT_PRODUCTS_DIR; 945 | }; 946 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 947 | isa = PBXReferenceProxy; 948 | fileType = archive.ar; 949 | path = "libRCTLinking-tvOS.a"; 950 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 951 | sourceTree = BUILT_PRODUCTS_DIR; 952 | }; 953 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 954 | isa = PBXReferenceProxy; 955 | fileType = archive.ar; 956 | path = "libRCTNetwork-tvOS.a"; 957 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 958 | sourceTree = BUILT_PRODUCTS_DIR; 959 | }; 960 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 961 | isa = PBXReferenceProxy; 962 | fileType = archive.ar; 963 | path = "libRCTSettings-tvOS.a"; 964 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 965 | sourceTree = BUILT_PRODUCTS_DIR; 966 | }; 967 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 968 | isa = PBXReferenceProxy; 969 | fileType = archive.ar; 970 | path = "libRCTText-tvOS.a"; 971 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 972 | sourceTree = BUILT_PRODUCTS_DIR; 973 | }; 974 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 975 | isa = PBXReferenceProxy; 976 | fileType = archive.ar; 977 | path = "libRCTWebSocket-tvOS.a"; 978 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 979 | sourceTree = BUILT_PRODUCTS_DIR; 980 | }; 981 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 982 | isa = PBXReferenceProxy; 983 | fileType = archive.ar; 984 | path = libReact.a; 985 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 986 | sourceTree = BUILT_PRODUCTS_DIR; 987 | }; 988 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 989 | isa = PBXReferenceProxy; 990 | fileType = archive.ar; 991 | path = libyoga.a; 992 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 993 | sourceTree = BUILT_PRODUCTS_DIR; 994 | }; 995 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 996 | isa = PBXReferenceProxy; 997 | fileType = archive.ar; 998 | path = libyoga.a; 999 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 1000 | sourceTree = BUILT_PRODUCTS_DIR; 1001 | }; 1002 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 1003 | isa = PBXReferenceProxy; 1004 | fileType = archive.ar; 1005 | path = libcxxreact.a; 1006 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 1007 | sourceTree = BUILT_PRODUCTS_DIR; 1008 | }; 1009 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 1010 | isa = PBXReferenceProxy; 1011 | fileType = archive.ar; 1012 | path = libcxxreact.a; 1013 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 1014 | sourceTree = BUILT_PRODUCTS_DIR; 1015 | }; 1016 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 1017 | isa = PBXReferenceProxy; 1018 | fileType = archive.ar; 1019 | path = libjschelpers.a; 1020 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 1021 | sourceTree = BUILT_PRODUCTS_DIR; 1022 | }; 1023 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 1024 | isa = PBXReferenceProxy; 1025 | fileType = archive.ar; 1026 | path = libjschelpers.a; 1027 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 1028 | sourceTree = BUILT_PRODUCTS_DIR; 1029 | }; 1030 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1031 | isa = PBXReferenceProxy; 1032 | fileType = archive.ar; 1033 | path = libRCTAnimation.a; 1034 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1035 | sourceTree = BUILT_PRODUCTS_DIR; 1036 | }; 1037 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1038 | isa = PBXReferenceProxy; 1039 | fileType = archive.ar; 1040 | path = libRCTAnimation.a; 1041 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1042 | sourceTree = BUILT_PRODUCTS_DIR; 1043 | }; 1044 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 1045 | isa = PBXReferenceProxy; 1046 | fileType = archive.ar; 1047 | path = libRCTLinking.a; 1048 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 1049 | sourceTree = BUILT_PRODUCTS_DIR; 1050 | }; 1051 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 1052 | isa = PBXReferenceProxy; 1053 | fileType = archive.ar; 1054 | path = libRCTText.a; 1055 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 1056 | sourceTree = BUILT_PRODUCTS_DIR; 1057 | }; 1058 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 1059 | isa = PBXReferenceProxy; 1060 | fileType = archive.ar; 1061 | path = libRCTBlob.a; 1062 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 1063 | sourceTree = BUILT_PRODUCTS_DIR; 1064 | }; 1065 | /* End PBXReferenceProxy section */ 1066 | 1067 | /* Begin PBXResourcesBuildPhase section */ 1068 | 00E356EC1AD99517003FC87E /* Resources */ = { 1069 | isa = PBXResourcesBuildPhase; 1070 | buildActionMask = 2147483647; 1071 | files = ( 1072 | ); 1073 | runOnlyForDeploymentPostprocessing = 0; 1074 | }; 1075 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1076 | isa = PBXResourcesBuildPhase; 1077 | buildActionMask = 2147483647; 1078 | files = ( 1079 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1080 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1081 | ); 1082 | runOnlyForDeploymentPostprocessing = 0; 1083 | }; 1084 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1085 | isa = PBXResourcesBuildPhase; 1086 | buildActionMask = 2147483647; 1087 | files = ( 1088 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1089 | ); 1090 | runOnlyForDeploymentPostprocessing = 0; 1091 | }; 1092 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1093 | isa = PBXResourcesBuildPhase; 1094 | buildActionMask = 2147483647; 1095 | files = ( 1096 | ); 1097 | runOnlyForDeploymentPostprocessing = 0; 1098 | }; 1099 | /* End PBXResourcesBuildPhase section */ 1100 | 1101 | /* Begin PBXShellScriptBuildPhase section */ 1102 | 00DD1BFF1BD5951E006B06BC /* 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 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1117 | isa = PBXShellScriptBuildPhase; 1118 | buildActionMask = 2147483647; 1119 | files = ( 1120 | ); 1121 | inputPaths = ( 1122 | ); 1123 | name = "Bundle React Native Code And Images"; 1124 | outputPaths = ( 1125 | ); 1126 | runOnlyForDeploymentPostprocessing = 0; 1127 | shellPath = /bin/sh; 1128 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1129 | }; 1130 | /* End PBXShellScriptBuildPhase section */ 1131 | 1132 | /* Begin PBXSourcesBuildPhase section */ 1133 | 00E356EA1AD99517003FC87E /* Sources */ = { 1134 | isa = PBXSourcesBuildPhase; 1135 | buildActionMask = 2147483647; 1136 | files = ( 1137 | 00E356F31AD99517003FC87E /* ReactNativeNavigationDemoTests.m in Sources */, 1138 | ); 1139 | runOnlyForDeploymentPostprocessing = 0; 1140 | }; 1141 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1142 | isa = PBXSourcesBuildPhase; 1143 | buildActionMask = 2147483647; 1144 | files = ( 1145 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1146 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1147 | ); 1148 | runOnlyForDeploymentPostprocessing = 0; 1149 | }; 1150 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1151 | isa = PBXSourcesBuildPhase; 1152 | buildActionMask = 2147483647; 1153 | files = ( 1154 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1155 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1156 | ); 1157 | runOnlyForDeploymentPostprocessing = 0; 1158 | }; 1159 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1160 | isa = PBXSourcesBuildPhase; 1161 | buildActionMask = 2147483647; 1162 | files = ( 1163 | 2DCD954D1E0B4F2C00145EB5 /* ReactNativeNavigationDemoTests.m in Sources */, 1164 | ); 1165 | runOnlyForDeploymentPostprocessing = 0; 1166 | }; 1167 | /* End PBXSourcesBuildPhase section */ 1168 | 1169 | /* Begin PBXTargetDependency section */ 1170 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1171 | isa = PBXTargetDependency; 1172 | target = 13B07F861A680F5B00A75B9A /* ReactNativeNavigationDemo */; 1173 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1174 | }; 1175 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1176 | isa = PBXTargetDependency; 1177 | target = 2D02E47A1E0B4A5D006451C7 /* ReactNativeNavigationDemo-tvOS */; 1178 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1179 | }; 1180 | /* End PBXTargetDependency section */ 1181 | 1182 | /* Begin PBXVariantGroup section */ 1183 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1184 | isa = PBXVariantGroup; 1185 | children = ( 1186 | 13B07FB21A68108700A75B9A /* Base */, 1187 | ); 1188 | name = LaunchScreen.xib; 1189 | path = ReactNativeNavigationDemo; 1190 | sourceTree = ""; 1191 | }; 1192 | /* End PBXVariantGroup section */ 1193 | 1194 | /* Begin XCBuildConfiguration section */ 1195 | 00E356F61AD99517003FC87E /* Debug */ = { 1196 | isa = XCBuildConfiguration; 1197 | buildSettings = { 1198 | BUNDLE_LOADER = "$(TEST_HOST)"; 1199 | GCC_PREPROCESSOR_DEFINITIONS = ( 1200 | "DEBUG=1", 1201 | "$(inherited)", 1202 | ); 1203 | INFOPLIST_FILE = ReactNativeNavigationDemoTests/Info.plist; 1204 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1205 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1206 | OTHER_LDFLAGS = ( 1207 | "-ObjC", 1208 | "-lc++", 1209 | ); 1210 | PRODUCT_NAME = "$(TARGET_NAME)"; 1211 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeNavigationDemo.app/ReactNativeNavigationDemo"; 1212 | }; 1213 | name = Debug; 1214 | }; 1215 | 00E356F71AD99517003FC87E /* Release */ = { 1216 | isa = XCBuildConfiguration; 1217 | buildSettings = { 1218 | BUNDLE_LOADER = "$(TEST_HOST)"; 1219 | COPY_PHASE_STRIP = NO; 1220 | INFOPLIST_FILE = ReactNativeNavigationDemoTests/Info.plist; 1221 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1222 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1223 | OTHER_LDFLAGS = ( 1224 | "-ObjC", 1225 | "-lc++", 1226 | ); 1227 | PRODUCT_NAME = "$(TARGET_NAME)"; 1228 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeNavigationDemo.app/ReactNativeNavigationDemo"; 1229 | }; 1230 | name = Release; 1231 | }; 1232 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1233 | isa = XCBuildConfiguration; 1234 | buildSettings = { 1235 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1236 | CURRENT_PROJECT_VERSION = 1; 1237 | DEAD_CODE_STRIPPING = NO; 1238 | HEADER_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-navigation/ios/**"; 1239 | INFOPLIST_FILE = ReactNativeNavigationDemo/Info.plist; 1240 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1241 | OTHER_LDFLAGS = ( 1242 | "$(inherited)", 1243 | "-ObjC", 1244 | "-lc++", 1245 | ); 1246 | PRODUCT_NAME = ReactNativeNavigationDemo; 1247 | VERSIONING_SYSTEM = "apple-generic"; 1248 | }; 1249 | name = Debug; 1250 | }; 1251 | 13B07F951A680F5B00A75B9A /* Release */ = { 1252 | isa = XCBuildConfiguration; 1253 | buildSettings = { 1254 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1255 | CURRENT_PROJECT_VERSION = 1; 1256 | HEADER_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-navigation/ios/**"; 1257 | INFOPLIST_FILE = ReactNativeNavigationDemo/Info.plist; 1258 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1259 | OTHER_LDFLAGS = ( 1260 | "$(inherited)", 1261 | "-ObjC", 1262 | "-lc++", 1263 | ); 1264 | PRODUCT_NAME = ReactNativeNavigationDemo; 1265 | VERSIONING_SYSTEM = "apple-generic"; 1266 | }; 1267 | name = Release; 1268 | }; 1269 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1270 | isa = XCBuildConfiguration; 1271 | buildSettings = { 1272 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1273 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1274 | CLANG_ANALYZER_NONNULL = YES; 1275 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1276 | CLANG_WARN_INFINITE_RECURSION = YES; 1277 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1278 | DEBUG_INFORMATION_FORMAT = dwarf; 1279 | ENABLE_TESTABILITY = YES; 1280 | GCC_NO_COMMON_BLOCKS = YES; 1281 | INFOPLIST_FILE = "ReactNativeNavigationDemo-tvOS/Info.plist"; 1282 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1283 | OTHER_LDFLAGS = ( 1284 | "-ObjC", 1285 | "-lc++", 1286 | ); 1287 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeNavigationDemo-tvOS"; 1288 | PRODUCT_NAME = "$(TARGET_NAME)"; 1289 | SDKROOT = appletvos; 1290 | TARGETED_DEVICE_FAMILY = 3; 1291 | TVOS_DEPLOYMENT_TARGET = 9.2; 1292 | }; 1293 | name = Debug; 1294 | }; 1295 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1296 | isa = XCBuildConfiguration; 1297 | buildSettings = { 1298 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1299 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1300 | CLANG_ANALYZER_NONNULL = YES; 1301 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1302 | CLANG_WARN_INFINITE_RECURSION = YES; 1303 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1304 | COPY_PHASE_STRIP = NO; 1305 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1306 | GCC_NO_COMMON_BLOCKS = YES; 1307 | INFOPLIST_FILE = "ReactNativeNavigationDemo-tvOS/Info.plist"; 1308 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1309 | OTHER_LDFLAGS = ( 1310 | "-ObjC", 1311 | "-lc++", 1312 | ); 1313 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeNavigationDemo-tvOS"; 1314 | PRODUCT_NAME = "$(TARGET_NAME)"; 1315 | SDKROOT = appletvos; 1316 | TARGETED_DEVICE_FAMILY = 3; 1317 | TVOS_DEPLOYMENT_TARGET = 9.2; 1318 | }; 1319 | name = Release; 1320 | }; 1321 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1322 | isa = XCBuildConfiguration; 1323 | buildSettings = { 1324 | BUNDLE_LOADER = "$(TEST_HOST)"; 1325 | CLANG_ANALYZER_NONNULL = YES; 1326 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1327 | CLANG_WARN_INFINITE_RECURSION = YES; 1328 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1329 | DEBUG_INFORMATION_FORMAT = dwarf; 1330 | ENABLE_TESTABILITY = YES; 1331 | GCC_NO_COMMON_BLOCKS = YES; 1332 | INFOPLIST_FILE = "ReactNativeNavigationDemo-tvOSTests/Info.plist"; 1333 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1334 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeNavigationDemo-tvOSTests"; 1335 | PRODUCT_NAME = "$(TARGET_NAME)"; 1336 | SDKROOT = appletvos; 1337 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeNavigationDemo-tvOS.app/ReactNativeNavigationDemo-tvOS"; 1338 | TVOS_DEPLOYMENT_TARGET = 10.1; 1339 | }; 1340 | name = Debug; 1341 | }; 1342 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1343 | isa = XCBuildConfiguration; 1344 | buildSettings = { 1345 | BUNDLE_LOADER = "$(TEST_HOST)"; 1346 | CLANG_ANALYZER_NONNULL = YES; 1347 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1348 | CLANG_WARN_INFINITE_RECURSION = YES; 1349 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1350 | COPY_PHASE_STRIP = NO; 1351 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1352 | GCC_NO_COMMON_BLOCKS = YES; 1353 | INFOPLIST_FILE = "ReactNativeNavigationDemo-tvOSTests/Info.plist"; 1354 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1355 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeNavigationDemo-tvOSTests"; 1356 | PRODUCT_NAME = "$(TARGET_NAME)"; 1357 | SDKROOT = appletvos; 1358 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeNavigationDemo-tvOS.app/ReactNativeNavigationDemo-tvOS"; 1359 | TVOS_DEPLOYMENT_TARGET = 10.1; 1360 | }; 1361 | name = Release; 1362 | }; 1363 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1364 | isa = XCBuildConfiguration; 1365 | buildSettings = { 1366 | ALWAYS_SEARCH_USER_PATHS = NO; 1367 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1368 | CLANG_CXX_LIBRARY = "libc++"; 1369 | CLANG_ENABLE_MODULES = YES; 1370 | CLANG_ENABLE_OBJC_ARC = YES; 1371 | CLANG_WARN_BOOL_CONVERSION = YES; 1372 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1373 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1374 | CLANG_WARN_EMPTY_BODY = YES; 1375 | CLANG_WARN_ENUM_CONVERSION = YES; 1376 | CLANG_WARN_INT_CONVERSION = YES; 1377 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1378 | CLANG_WARN_UNREACHABLE_CODE = YES; 1379 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1380 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1381 | COPY_PHASE_STRIP = NO; 1382 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1383 | GCC_C_LANGUAGE_STANDARD = gnu99; 1384 | GCC_DYNAMIC_NO_PIC = NO; 1385 | GCC_OPTIMIZATION_LEVEL = 0; 1386 | GCC_PREPROCESSOR_DEFINITIONS = ( 1387 | "DEBUG=1", 1388 | "$(inherited)", 1389 | ); 1390 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1391 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1392 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1393 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1394 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1395 | GCC_WARN_UNUSED_FUNCTION = YES; 1396 | GCC_WARN_UNUSED_VARIABLE = YES; 1397 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1398 | MTL_ENABLE_DEBUG_INFO = YES; 1399 | ONLY_ACTIVE_ARCH = YES; 1400 | SDKROOT = iphoneos; 1401 | }; 1402 | name = Debug; 1403 | }; 1404 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1405 | isa = XCBuildConfiguration; 1406 | buildSettings = { 1407 | ALWAYS_SEARCH_USER_PATHS = NO; 1408 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1409 | CLANG_CXX_LIBRARY = "libc++"; 1410 | CLANG_ENABLE_MODULES = YES; 1411 | CLANG_ENABLE_OBJC_ARC = YES; 1412 | CLANG_WARN_BOOL_CONVERSION = YES; 1413 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1414 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1415 | CLANG_WARN_EMPTY_BODY = YES; 1416 | CLANG_WARN_ENUM_CONVERSION = YES; 1417 | CLANG_WARN_INT_CONVERSION = YES; 1418 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1419 | CLANG_WARN_UNREACHABLE_CODE = YES; 1420 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1421 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1422 | COPY_PHASE_STRIP = YES; 1423 | ENABLE_NS_ASSERTIONS = NO; 1424 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1425 | GCC_C_LANGUAGE_STANDARD = gnu99; 1426 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1427 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1428 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1429 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1430 | GCC_WARN_UNUSED_FUNCTION = YES; 1431 | GCC_WARN_UNUSED_VARIABLE = YES; 1432 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1433 | MTL_ENABLE_DEBUG_INFO = NO; 1434 | SDKROOT = iphoneos; 1435 | VALIDATE_PRODUCT = YES; 1436 | }; 1437 | name = Release; 1438 | }; 1439 | /* End XCBuildConfiguration section */ 1440 | 1441 | /* Begin XCConfigurationList section */ 1442 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReactNativeNavigationDemoTests" */ = { 1443 | isa = XCConfigurationList; 1444 | buildConfigurations = ( 1445 | 00E356F61AD99517003FC87E /* Debug */, 1446 | 00E356F71AD99517003FC87E /* Release */, 1447 | ); 1448 | defaultConfigurationIsVisible = 0; 1449 | defaultConfigurationName = Release; 1450 | }; 1451 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeNavigationDemo" */ = { 1452 | isa = XCConfigurationList; 1453 | buildConfigurations = ( 1454 | 13B07F941A680F5B00A75B9A /* Debug */, 1455 | 13B07F951A680F5B00A75B9A /* Release */, 1456 | ); 1457 | defaultConfigurationIsVisible = 0; 1458 | defaultConfigurationName = Release; 1459 | }; 1460 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeNavigationDemo-tvOS" */ = { 1461 | isa = XCConfigurationList; 1462 | buildConfigurations = ( 1463 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1464 | 2D02E4981E0B4A5E006451C7 /* Release */, 1465 | ); 1466 | defaultConfigurationIsVisible = 0; 1467 | defaultConfigurationName = Release; 1468 | }; 1469 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeNavigationDemo-tvOSTests" */ = { 1470 | isa = XCConfigurationList; 1471 | buildConfigurations = ( 1472 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1473 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1474 | ); 1475 | defaultConfigurationIsVisible = 0; 1476 | defaultConfigurationName = Release; 1477 | }; 1478 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ReactNativeNavigationDemo" */ = { 1479 | isa = XCConfigurationList; 1480 | buildConfigurations = ( 1481 | 83CBBA201A601CBA00E9B192 /* Debug */, 1482 | 83CBBA211A601CBA00E9B192 /* Release */, 1483 | ); 1484 | defaultConfigurationIsVisible = 0; 1485 | defaultConfigurationName = Release; 1486 | }; 1487 | /* End XCConfigurationList section */ 1488 | }; 1489 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1490 | } 1491 | -------------------------------------------------------------------------------- /ios/ReactNativeNavigationDemo.xcodeproj/xcshareddata/xcschemes/ReactNativeNavigationDemo-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/ReactNativeNavigationDemo.xcodeproj/xcshareddata/xcschemes/ReactNativeNavigationDemo.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/ReactNativeNavigationDemo/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/ReactNativeNavigationDemo/AppDelegate.m: -------------------------------------------------------------------------------- 1 | #import "AppDelegate.h" 2 | #import 3 | #import 4 | // 添加这一句 5 | #import "RCCManager.h" 6 | 7 | @implementation AppDelegate 8 | 9 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 10 | { 11 | NSURL *jsCodeLocation; 12 | // 把原来的内容都注释掉,换成下面代码 13 | #ifdef DEBUG 14 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 15 | #else 16 | jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 17 | #endif 18 | 19 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 20 | self.window.backgroundColor = [UIColor whiteColor]; 21 | [[RCCManager sharedInstance] initBridgeWithBundleURL:jsCodeLocation launchOptions:launchOptions]; 22 | 23 | return YES; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /ios/ReactNativeNavigationDemo/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /ios/ReactNativeNavigationDemo/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /ios/ReactNativeNavigationDemo/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ios/ReactNativeNavigationDemo/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ReactNativeNavigationDemo 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UIViewControllerBasedStatusBarAppearance 40 | 41 | NSLocationWhenInUseUsageDescription 42 | 43 | NSAppTransportSecurity 44 | 45 | 46 | NSExceptionDomains 47 | 48 | localhost 49 | 50 | NSExceptionAllowsInsecureHTTPLoads 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /ios/ReactNativeNavigationDemo/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/ReactNativeNavigationDemoTests/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/ReactNativeNavigationDemoTests/ReactNativeNavigationDemoTests.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 ReactNativeNavigationDemoTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation ReactNativeNavigationDemoTests 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 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ReactNativeNavigationDemo", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "dependencies": { 10 | "react": "^16.3.0-alpha.1", 11 | "react-native": "0.54.0", 12 | "react-native-navigation": "^1.1.398", 13 | "react-native-root-siblings": "^3.0.0", 14 | "react-redux": "^5.0.7", 15 | "redux": "^3.7.2", 16 | "redux-logger": "^3.0.6", 17 | "redux-persist": "^5.9.1", 18 | "redux-saga": "^0.16.0", 19 | "redux-thunk": "^2.2.0" 20 | }, 21 | "devDependencies": { 22 | "babel-jest": "22.4.1", 23 | "babel-preset-react-native": "4.0.0", 24 | "jest": "22.4.2", 25 | "react-test-renderer": "^16.3.0-alpha.1" 26 | }, 27 | "jest": { 28 | "preset": "react-native" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/action/home.js: -------------------------------------------------------------------------------- 1 | import * as actionTypes from './index'; 2 | import post from '../utils/fetch'; 3 | 4 | export function homeAdd(initCount) { 5 | return { 6 | type: actionTypes.HOME_ADD, 7 | initCount 8 | } 9 | } 10 | 11 | export function homeCut(initCount) { 12 | return { 13 | type: actionTypes.HOME_CUT, 14 | initCount 15 | } 16 | } 17 | 18 | export function getSomeData() { 19 | return dispatch => { 20 | post('/get/data',{}, res => { 21 | const someData = res.data.someData; 22 | dispatch({ 23 | type: actionTypes.HOME_GET_SOMEDATA, 24 | someData 25 | }) 26 | }) 27 | } 28 | } 29 | 30 | export function setSomeData(data) { 31 | return dispatch => { 32 | post('/get/setdata',{}, res => { 33 | const someData = res.data.someData; 34 | dispatch({ 35 | type: actionTypes.HOME_SET_SOMEDATA, 36 | someData 37 | }) 38 | }) 39 | } 40 | } 41 | 42 | export function fetchSagaData() { 43 | return { 44 | type: actionTypes.HOME_FETCH_SAGA_DATA 45 | } 46 | } -------------------------------------------------------------------------------- /src/action/index.js: -------------------------------------------------------------------------------- 1 | // home页面 2 | export const HOME_ADD = 'HOME_ADD'; 3 | export const HOME_CUT = 'HOME_CUT'; 4 | export const HOME_GET_SOMEDATA = 'HOME_GET_SOMEDATA'; 5 | export const HOME_SET_SOMEDATA = 'HOME_SET_SOMEDATA'; 6 | export const HOME_FETCH_SAGA_DATA = 'HOME_FETCH_SAGA_DATA'; 7 | 8 | // mine页面 9 | export const MINE_ADD = 'MINE_ADD'; 10 | export const MINE_CUT = 'MINE_CUT'; 11 | 12 | // popularize页面 13 | export const POPULARIZE_ADD = 'POPULARIZE_ADD'; 14 | export const POPULARIZE_CUT = 'POPULARIZE_CUT'; -------------------------------------------------------------------------------- /src/action/mine.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandakelake/ReactNativeNavigationDemo/0ab0b3af4f8865c1374bc7de753d0ef0e4e91983/src/action/mine.js -------------------------------------------------------------------------------- /src/action/popularize.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandakelake/ReactNativeNavigationDemo/0ab0b3af4f8865c1374bc7de753d0ef0e4e91983/src/action/popularize.js -------------------------------------------------------------------------------- /src/assets/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandakelake/ReactNativeNavigationDemo/0ab0b3af4f8865c1374bc7de753d0ef0e4e91983/src/assets/add.png -------------------------------------------------------------------------------- /src/assets/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandakelake/ReactNativeNavigationDemo/0ab0b3af4f8865c1374bc7de753d0ef0e4e91983/src/assets/home.png -------------------------------------------------------------------------------- /src/assets/mine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandakelake/ReactNativeNavigationDemo/0ab0b3af4f8865c1374bc7de753d0ef0e4e91983/src/assets/mine.png -------------------------------------------------------------------------------- /src/reducer/home.js: -------------------------------------------------------------------------------- 1 | import * as actionTypes from '../action/index'; 2 | 3 | const initState = { 4 | initCount: 0, 5 | name: '', 6 | age: '', 7 | job: '' 8 | }; 9 | 10 | export default function count(state = initState, action) { 11 | switch (action.type) { 12 | case actionTypes.HOME_ADD: 13 | return { 14 | ...state, 15 | ...action.initCount 16 | }; 17 | case actionTypes.HOME_CUT: 18 | return { 19 | ...state, 20 | ...action.initCount 21 | }; 22 | default: 23 | return state; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/reducer/index.js: -------------------------------------------------------------------------------- 1 | 2 | import homeReducer from './home'; 3 | import popularizeReducer from './popularize'; 4 | import mineReducer from './mine'; 5 | 6 | const combineReducers = { 7 | home: homeReducer, 8 | popularize: popularizeReducer, 9 | mine: mineReducer 10 | } 11 | 12 | export default combineReducers -------------------------------------------------------------------------------- /src/reducer/mine.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandakelake/ReactNativeNavigationDemo/0ab0b3af4f8865c1374bc7de753d0ef0e4e91983/src/reducer/mine.js -------------------------------------------------------------------------------- /src/reducer/popularize.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandakelake/ReactNativeNavigationDemo/0ab0b3af4f8865c1374bc7de753d0ef0e4e91983/src/reducer/popularize.js -------------------------------------------------------------------------------- /src/saga/home.js: -------------------------------------------------------------------------------- 1 | import { put, call, takeLatest } from 'redux-saga/effects'; 2 | 3 | import * as actionTypes from '../action/index'; 4 | import * as homeActions from '../action/home'; 5 | import * as mineActions from '../action/mine'; 6 | 7 | import post from '../utils/fetch'; 8 | 9 | function getSomeThing() { 10 | post('/someData', {}, res => {}, err => {}); 11 | } 12 | 13 | function* getUserInfo({ sucCb, errCB }) { 14 | try { 15 | const res = yield call(getSomeThing()); 16 | const data = res.data; 17 | yield put(homeActions.getSomeData()) 18 | yield put(homeActions.setSomeData(data)) 19 | yield call(sucCb); 20 | } catch (err) { 21 | yield call(errCB, err); 22 | } 23 | } 24 | 25 | function *fetchData() { 26 | try { 27 | const data = yield 28 | } catch (e) { 29 | 30 | } 31 | } 32 | 33 | export const homeSagas = [ 34 | takeLatest(actionTypes.HOME_GET_SOMEDATA, getUserInfo) 35 | ] -------------------------------------------------------------------------------- /src/saga/index.js: -------------------------------------------------------------------------------- 1 | import { all } from 'redux-saga/effects'; 2 | 3 | import { homeSagas } from './home'; 4 | import { mineSagas } from './mine'; 5 | import { popularizeSagas } from './popularize'; 6 | 7 | export default function* rootSaga() { 8 | yield all([...homeSagas, ...mineSagas, ...popularizeSagas]); 9 | } 10 | -------------------------------------------------------------------------------- /src/saga/mine.js: -------------------------------------------------------------------------------- 1 | export const mineSagas = [] -------------------------------------------------------------------------------- /src/saga/popularize.js: -------------------------------------------------------------------------------- 1 | export const popularizeSagas = [] -------------------------------------------------------------------------------- /src/screen/home/index.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { Text, View, StyleSheet, TouchableOpacity } from 'react-native'; 3 | import RootSiblings from 'react-native-root-siblings'; 4 | 5 | import { connect } from 'react-redux'; 6 | import { bindActionCreators } from 'redux'; 7 | import * as homeActions from '../../action/home'; 8 | 9 | let sibling = new RootSiblings( 10 | ( 11 | 14 | ) 15 | ); 16 | 17 | type Props = {}; 18 | 19 | class Home extends Component { 20 | constructor(props) { 21 | super(props); 22 | this.state = { 23 | a: 1 24 | }; 25 | this.optimize = this.optimize.bind(this); 26 | this.navigateToNextPage = this.navigateToNextPage.bind(this); 27 | this.navigateToLayoutAnimation = this.navigateToLayoutAnimation.bind(this); 28 | } 29 | 30 | optimize() { 31 | requestAnimationFrame(this.navigateToNextPage) 32 | } 33 | 34 | navigateToNextPage() { 35 | let i = 0; 36 | for (i; i < 1000; i++) { 37 | this.setState({ 38 | a: i 39 | }) 40 | if (i === 999) { 41 | this.props.navigator.push({ 42 | screen: 'nextPage', 43 | title: '下一页' 44 | }); 45 | } 46 | } 47 | } 48 | 49 | navigateToLayoutAnimation() { 50 | this.props.navigator.push({ 51 | screen: 'layoutAninationDemo', 52 | title: 'layoutAnination演示' 53 | }); 54 | } 55 | 56 | render() { 57 | return ( 58 | 59 | 60 | 大量计算操作 {this.state.a} 61 | 62 | 63 | LayoutAnimation 64 | 65 | 66 | ); 67 | } 68 | } 69 | 70 | const styles = StyleSheet.create({ 71 | container: { 72 | backgroundColor: '#E6E6E6', 73 | flex: 1, 74 | justifyContent: 'center', 75 | alignItems: 'center' 76 | }, 77 | addBtn: { 78 | backgroundColor: '#08cb6a', 79 | marginVertical: 20, 80 | width: 200, 81 | height: 59, 82 | justifyContent: 'center', 83 | alignItems: 'center', 84 | borderRadius: 10 85 | }, 86 | cutBtn: { 87 | backgroundColor: 'red', 88 | width: 200, 89 | height: 59, 90 | justifyContent: 'center', 91 | alignItems: 'center', 92 | borderRadius: 10 93 | }, 94 | jumpBtn: { 95 | marginTop: 20, 96 | backgroundColor: '#E3a4d3', 97 | width: 200, 98 | height: 59, 99 | justifyContent: 'center', 100 | alignItems: 'center', 101 | borderRadius: 10 102 | }, 103 | btnText: { 104 | fontSize: 18, 105 | color: 'white' 106 | } 107 | }); 108 | 109 | function mapStateToProps(state) { 110 | return { 111 | home: state.home 112 | }; 113 | } 114 | 115 | function mapDispatchToProps(dispatch) { 116 | return { 117 | homeActions: bindActionCreators(homeActions, dispatch) 118 | }; 119 | } 120 | 121 | export default connect(mapStateToProps, mapDispatchToProps)(Home); 122 | -------------------------------------------------------------------------------- /src/screen/home/layoutAnination.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { Text, View, StyleSheet, TouchableOpacity, LayoutAnimation } from 'react-native'; 3 | 4 | const config = { 5 | duration: 500, // 动画时间 6 | create: { 7 | // spring,linear,easeInEaseOut,easeIn,easeOut,keyboard 8 | type: LayoutAnimation.Types.linear, 9 | // opacity,scaleXY 透明度,位移 10 | property: LayoutAnimation.Properties.opacity, 11 | }, 12 | update: { 13 | // 更新时显示的动画 14 | type: LayoutAnimation.Types.easeInEaseOut, 15 | } 16 | }; 17 | 18 | class LayoutAnimationDemo extends Component { 19 | constructor(props) { 20 | super(props); 21 | this.state = { 22 | arr: [0, 1, 2 ,3, 4], 23 | viewWidth: 100, 24 | viewHeight: 100 25 | } 26 | this.addView = this.addView.bind(this); 27 | this.deleteView = this.deleteView.bind(this); 28 | this.largen = this.largen.bind(this); 29 | this.diminish = this.diminish.bind(this); 30 | } 31 | 32 | componentWillUpdate() { 33 | // spring, easeInEaseOut, linear 34 | // LayoutAnimation.linear(); 35 | // LayoutAnimation.configureNext(config) 36 | } 37 | 38 | addView() { 39 | LayoutAnimation.spring(); 40 | let temp = this.state.arr; 41 | temp.push(temp.length); 42 | this.setState({ 43 | arr: temp 44 | }) 45 | } 46 | 47 | deleteView() { 48 | LayoutAnimation.spring(); 49 | let temp = this.state.arr; 50 | temp.pop(); 51 | this.setState({ 52 | arr: temp 53 | }) 54 | } 55 | 56 | largen() { 57 | LayoutAnimation.spring(); 58 | this.setState({ 59 | viewWidth: this.state.viewWidth + 20, 60 | viewHeight: this.state.viewHeight + 20 61 | }) 62 | } 63 | 64 | diminish() { 65 | LayoutAnimation.spring(); 66 | this.setState({ 67 | viewWidth: this.state.viewWidth - 20, 68 | viewHeight: this.state.viewHeight - 20 69 | }) 70 | } 71 | 72 | render() { 73 | return ( 74 | 75 | 76 | add view 77 | delete view 78 | 79 | 80 | 81 | {this.state.arr.map((item, index) => { 82 | return ( 83 | 84 | ); 85 | })} 86 | 87 | 88 | 89 | largen view 90 | diminish view 91 | 92 | 93 | 97 | 103 | 104 | 105 | ); 106 | } 107 | } 108 | 109 | 110 | const styles = StyleSheet.create({ 111 | container: { 112 | backgroundColor: '#E6E6E6', 113 | flex: 1, 114 | }, 115 | btnContainer: { 116 | marginVertical: 20, 117 | flexDirection: 'row', 118 | justifyContent: 'space-around' 119 | }, 120 | btn: { 121 | width: 100, 122 | paddingVertical: 10, 123 | borderRadius: 5, 124 | alignItems: 'center', 125 | justifyContent: 'center', 126 | }, 127 | textcolor: { 128 | color: 'white' 129 | }, 130 | btnGreen: { 131 | backgroundColor: '#08cb6a' 132 | }, 133 | btnRed: { 134 | backgroundColor: 'red' 135 | }, 136 | btnBlue: { 137 | backgroundColor: 'blue' 138 | }, 139 | blockContainer: { 140 | flexDirection: 'row', 141 | flexWrap: 'wrap', 142 | paddingHorizontal: 20 143 | }, 144 | block: { 145 | width: 60, 146 | height: 60, 147 | backgroundColor: '#ccc', 148 | marginRight: 5, 149 | marginBottom: 5, 150 | borderRadius: 5 151 | }, 152 | }); 153 | 154 | 155 | export default LayoutAnimationDemo; -------------------------------------------------------------------------------- /src/screen/home/nextPage.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { Text, View, StyleSheet, TouchableOpacity } from 'react-native'; 3 | import * as homeActions from '../../action/home'; 4 | 5 | type Props = {}; 6 | class NextPage extends Component { 7 | static navigatorStyle = { 8 | tabBarHidden: true 9 | }; 10 | 11 | constructor(props) { 12 | super(props); 13 | this.state = { 14 | count: 0 15 | }; 16 | this.test(); 17 | } 18 | 19 | componentWillMount() { 20 | console.log('will-count', this.state.count) 21 | } 22 | 23 | componentDidMount() { 24 | console.log('Did-count', this.state.count) 25 | } 26 | 27 | test() { 28 | setTimeout(() => { 29 | this.setState({ 30 | count: 1 31 | }) 32 | }, 5000) 33 | } 34 | 35 | render() { 36 | console.log('render-count', this.state.count) 37 | return ( 38 | 39 | {this.state.count} 40 | 41 | ); 42 | } 43 | } 44 | 45 | const styles = StyleSheet.create({ 46 | container: { 47 | backgroundColor: '#E6E6E6', 48 | flex: 1, 49 | justifyContent: 'center', 50 | alignItems: 'center' 51 | }, 52 | addBtn: { 53 | backgroundColor: '#08cb6a', 54 | marginVertical: 20, 55 | width: 200, 56 | height: 59, 57 | justifyContent: 'center', 58 | alignItems: 'center', 59 | borderRadius: 10 60 | }, 61 | btnText: { 62 | fontSize: 18, 63 | color: 'white' 64 | }, 65 | commonText: { 66 | fontSize: 18 67 | } 68 | }); 69 | 70 | 71 | export default NextPage; 72 | 73 | // this.setState({ 74 | // count: this.state.count + 1 75 | // }); 76 | // this.setState({ 77 | // count: this.state.count + 1 78 | // }); 79 | 80 | // this.setState(preState => { 81 | // return { 82 | // count: preState.count + 1 83 | // }; 84 | // }); 85 | // this.setState(preState => { 86 | // return { 87 | // count: preState.count + 1 88 | // }; 89 | // }); 90 | 91 | // setTimeout(() => { 92 | // this.setState({ 93 | // count: this.state.count + 1 94 | // }); 95 | // this.setState({ 96 | // count: this.state.count + 1 97 | // }); 98 | // }, 0); 99 | -------------------------------------------------------------------------------- /src/screen/index.js: -------------------------------------------------------------------------------- 1 | import { Navigation } from 'react-native-navigation'; 2 | 3 | import Home from './home/index'; 4 | import PopularizeHome from './popularize/index'; 5 | import MineHome from './mine/index'; 6 | import NextPage from './home/nextPage'; 7 | import LayoutAnimationDemo from './home/layoutAnination'; 8 | 9 | // 注册所有的页面 10 | export function registerScreens(store, Provider) { 11 | Navigation.registerComponent('home', () => Home, store, Provider); 12 | Navigation.registerComponent('nextPage', () => NextPage, store, Provider); 13 | Navigation.registerComponent('popularize', () => PopularizeHome, store, Provider); 14 | Navigation.registerComponent('mine', () => MineHome, store, Provider); 15 | Navigation.registerComponent('layoutAninationDemo', () => LayoutAnimationDemo, store, Provider); 16 | } 17 | -------------------------------------------------------------------------------- /src/screen/mine/index.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { Text, View } from 'react-native'; 3 | import { connect } from 'react-redux'; 4 | import { bindActionCreators } from 'redux'; 5 | import * as homeActions from '../../action/home'; 6 | 7 | type Props = {}; 8 | class MineHome extends Component { 9 | 10 | render() { 11 | return ( 12 | 13 | initCount: {this.props.home.initCount} 14 | 15 | ); 16 | } 17 | } 18 | 19 | 20 | function mapStateToProps(state) { 21 | return { 22 | home: state.home 23 | }; 24 | } 25 | 26 | function mapDispatchToProps(dispatch) { 27 | return { 28 | homeActions: bindActionCreators(homeActions, dispatch) 29 | }; 30 | } 31 | 32 | export default connect(mapStateToProps, mapDispatchToProps)(MineHome); 33 | -------------------------------------------------------------------------------- /src/screen/popularize/index.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { Text, View } from 'react-native'; 3 | 4 | 5 | type Props = {}; 6 | export default class PopularizeHome extends Component { 7 | static navigatorStyle = { 8 | // tabBarHidden: true, 9 | }; 10 | 11 | render() { 12 | return ( 13 | 14 | PopularizeHome 15 | 16 | ); 17 | } 18 | } -------------------------------------------------------------------------------- /src/store/index.js: -------------------------------------------------------------------------------- 1 | import { createStore, applyMiddleware } from 'redux'; 2 | import logger from 'redux-logger'; 3 | import thunk from 'redux-thunk'; 4 | import createSagaMiddleware from 'redux-saga'; 5 | import { persistStore, persistCombineReducers } from 'redux-persist'; 6 | import storage from 'redux-persist/es/storage'; 7 | 8 | import combineReducers from '../reducer/index'; 9 | import rootSaga from '../saga/index'; 10 | 11 | const persistConfig = { 12 | key: 'root', 13 | storage, 14 | // 只有mine的数据会被persist 15 | whitelist: ['mine'] 16 | }; 17 | // 对reducer数据进行persist配置 18 | const persistReducer = persistCombineReducers(persistConfig, combineReducers); 19 | 20 | const sagaMiddleware = createSagaMiddleware(); 21 | 22 | // 中间件 23 | const createStoreWithMiddleware = applyMiddleware( 24 | thunk, 25 | sagaMiddleware, 26 | logger 27 | )(createStore); 28 | 29 | const configuerStore = onComplete => { 30 | let store = createStoreWithMiddleware(persistReducer); 31 | let persistor = persistStore(store, null, onComplete); 32 | sagaMiddleware.run(rootSaga); 33 | return { persistor, store }; 34 | }; 35 | 36 | export default configuerStore; 37 | -------------------------------------------------------------------------------- /src/utils/fetch.js: -------------------------------------------------------------------------------- 1 | export default function post(url,data,sucCB,errCB) { 2 | // 域名、body、header等根据各自项目配置,还有部分安全,加密方面的设置 3 | const host = 'www.host.com'; 4 | const requestUrl = `${host}/${url}`; 5 | const body = {}; 6 | const headers = { 7 | 'Content-Type': 'application/json', 8 | 'User-Agent': '' 9 | }; 10 | fetch(requestUrl, { 11 | method: 'POST', 12 | headers: headers, 13 | body: body 14 | }).then(res => { 15 | if (res && res.status === 200) { 16 | return res.json(); 17 | } else { 18 | throw new Error('server'); 19 | } 20 | }).then(res => { 21 | // 精简版判断 22 | if(res && res.code === 200 && res.enmsg === 'ok') { 23 | // 成功后的回调 24 | sucCB(res); 25 | }else { 26 | // 失败后的回调 27 | errCB(res); 28 | } 29 | }).catch(err => { 30 | // 处理错误 31 | }) 32 | } --------------------------------------------------------------------------------