├── .babelrc ├── .circleci └── config.yml ├── .flowconfig ├── .gitignore ├── .nvmrc ├── .watchmanconfig ├── App.js ├── App.test.js ├── README.md ├── TARGET_BINARY_VERSION ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── reactnativecodepushexample │ │ │ ├── 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 ├── ReactNativeCodePushExample-tvOS │ └── Info.plist ├── ReactNativeCodePushExample-tvOSTests │ └── Info.plist ├── ReactNativeCodePushExample.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── ReactNativeCodePushExample-tvOS.xcscheme │ │ └── ReactNativeCodePushExample.xcscheme ├── ReactNativeCodePushExample │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── ReactNativeCodePushExampleTests │ ├── Info.plist │ └── ReactNativeCodePushExampleTests.m ├── logo.png ├── package.json ├── scripts ├── create_release_pull_request └── deploy_codepush └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "babel-preset-react-native-stage-0/decorator-support" 4 | ], 5 | "env": { 6 | "development": { 7 | "plugins": [ 8 | "transform-react-jsx-source" 9 | ] 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | jobs: 3 | bundle_dependencies: 4 | docker: 5 | - image: circleci/node:8.9.1 6 | steps: 7 | - checkout 8 | - restore_cache: 9 | keys: 10 | - v1-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }} 11 | - v1-{{ arch }} 12 | - run: 13 | name: System information 14 | command: | 15 | echo "Node $(node -v)" 16 | echo "npm $(node -v)" 17 | echo "yarn $(yarn -version)" 18 | - run: 19 | name: Install dependencies 20 | command: 'yarn install' 21 | - save_cache: 22 | key: v1-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }} 23 | paths: 24 | - ./node_modules 25 | - ~/.cache/yarn 26 | 27 | test: 28 | docker: 29 | - image: circleci/node:8.9.1 30 | steps: 31 | - checkout 32 | - restore_cache: 33 | keys: 34 | - v1-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }} 35 | - v1-{{ arch }} 36 | - run: 37 | name: Install dependencies 38 | command: 'yarn install' 39 | - run: 40 | name: Test 41 | command: 'yarn test' 42 | 43 | deploy_to_codepush_develop: 44 | docker: 45 | - image: circleci/node:8.9.1 46 | steps: 47 | - checkout 48 | - restore_cache: 49 | keys: 50 | - v1-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }} 51 | - v1-{{ arch }} 52 | - run: 53 | name: Install dependencies 54 | command: 'yarn install' 55 | - run: 56 | name: Deploy to CodePush 57 | command: 'yarn codepush:login && yarn codepush:deploy Development' 58 | 59 | deploy_to_codepush_release: 60 | docker: 61 | - image: circleci/node:8.9.1 62 | steps: 63 | - checkout 64 | - restore_cache: 65 | keys: 66 | - v1-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }} 67 | - v1-{{ arch }} 68 | - run: 69 | name: Install dependencies 70 | command: 'yarn install' 71 | - run: 72 | name: Deploy to CodePush 73 | command: 'yarn codepush:login && yarn codepush:deploy Release' 74 | 75 | deploy_to_codepush_production: 76 | docker: 77 | - image: circleci/node:8.9.1 78 | steps: 79 | - checkout 80 | - restore_cache: 81 | keys: 82 | - v1-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }} 83 | - v1-{{ arch }} 84 | - run: 85 | name: Install dependencies 86 | command: 'yarn install' 87 | - run: 88 | name: Deploy to CodePush 89 | command: 'yarn codepush:login && yarn codepush:deploy Production' 90 | 91 | workflows: 92 | version: 2 93 | build-test-deploy: 94 | jobs: 95 | - bundle_dependencies 96 | - test: 97 | requires: 98 | - bundle_dependencies 99 | - deploy_to_codepush_develop: 100 | requires: 101 | - test 102 | filters: 103 | branches: 104 | only: develop 105 | - deploy_to_codepush_release: 106 | requires: 107 | - test 108 | filters: 109 | branches: 110 | only: /^release\/codepush\/.*/ 111 | - deploy_to_codepush_production: 112 | requires: 113 | - test 114 | filters: 115 | branches: 116 | only: 'deploy/codepush' 117 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore templates for 'react-native init' 6 | /node_modules/react-native/local-cli/templates/.* 7 | 8 | ; Ignore RN jest 9 | /node_modules/react-native/jest/.* 10 | 11 | ; Ignore RNTester 12 | /node_modules/react-native/RNTester/.* 13 | 14 | ; Ignore the website subdir 15 | /node_modules/react-native/website/.* 16 | 17 | ; Ignore the Dangerfile 18 | /node_modules/react-native/danger/dangerfile.js 19 | 20 | ; Ignore Fbemitter 21 | /node_modules/fbemitter/.* 22 | 23 | ; Ignore "BUCK" generated dirs 24 | /node_modules/react-native/\.buckd/ 25 | 26 | ; Ignore unexpected extra "@providesModule" 27 | .*/node_modules/.*/node_modules/fbjs/.* 28 | 29 | ; Ignore polyfills 30 | /node_modules/react-native/Libraries/polyfills/.* 31 | 32 | ; Ignore various node_modules 33 | /node_modules/react-native-gesture-handler/.* 34 | /node_modules/expo/.* 35 | /node_modules/react-navigation/.* 36 | /node_modules/xdl/.* 37 | /node_modules/reqwest/.* 38 | /node_modules/metro-bundler/.* 39 | 40 | [include] 41 | 42 | [libs] 43 | node_modules/react-native/Libraries/react-native/react-native-interface.js 44 | node_modules/react-native/flow/ 45 | node_modules/expo/flow/ 46 | 47 | [options] 48 | emoji=true 49 | 50 | module.system=haste 51 | 52 | module.file_ext=.js 53 | module.file_ext=.jsx 54 | module.file_ext=.json 55 | module.file_ext=.ios.js 56 | 57 | munge_underscores=true 58 | 59 | 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' 60 | 61 | suppress_type=$FlowIssue 62 | suppress_type=$FlowFixMe 63 | suppress_type=$FlowFixMeProps 64 | suppress_type=$FlowFixMeState 65 | suppress_type=$FixMe 66 | 67 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\) 68 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+ 69 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 70 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 71 | 72 | unsafe.enable_getters_and_setters=true 73 | 74 | [version] 75 | ^0.56.0 76 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | # expo 4 | .expo/ 5 | 6 | # iOS 7 | /ios/build 8 | 9 | # dependencies 10 | /node_modules 11 | 12 | # misc 13 | .env.local 14 | .env.development.local 15 | .env.test.local 16 | .env.production.local 17 | 18 | npm-debug.log* 19 | yarn-debug.log* 20 | yarn-error.log* 21 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v8.9.1 2 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /App.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { StyleSheet, Text, View, TouchableHighlight, Linking, Image } from 'react-native'; 3 | import codePush from 'react-native-code-push'; 4 | 5 | const styles = StyleSheet.create({ 6 | container: { 7 | flex: 1, 8 | backgroundColor: '#fff', 9 | alignItems: 'center', 10 | justifyContent: 'center', 11 | }, 12 | inner: { 13 | flex: 1, 14 | alignItems: 'center', 15 | justifyContent: 'center', 16 | }, 17 | text: { 18 | marginTop: 10, 19 | fontSize: 20, 20 | } 21 | }); 22 | 23 | const onPress = () => { 24 | Linking.openURL('https://www.quipper.com/career/'); 25 | }; 26 | 27 | const App = () => ( 28 | 29 | onPress()}> 30 | 31 | 32 | Quipper is hiring React Native developers! 33 | 34 | 35 | 36 | ); 37 | 38 | export default codePush({ 39 | checkFrequency: codePush.CheckFrequency.ON_APP_RESUME, 40 | updateDialog: {}, 41 | })(App); 42 | -------------------------------------------------------------------------------- /App.test.js: -------------------------------------------------------------------------------- 1 | it('passes', () => { 2 | expect(true).toBeTruthy(); 3 | }); 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ReactNativeCodePushExample 2 | 3 | This repo is a demonstration of Microsoft's [CodePush](https://microsoft.github.io/code-push/) and automation of it. 4 | 5 | See details in this article: http://quipper.hatenablog.com/entry/2017/12/06/060641 (in Japanese) 6 | 7 | English version will be coming soon! 8 | 9 | Stay tuned. 10 | 11 | ## Quipper is hiring React Native developers 12 | 13 | https://www.quipper.com/career/ 14 | -------------------------------------------------------------------------------- /TARGET_BINARY_VERSION: -------------------------------------------------------------------------------- 1 | # The content of this file is specified as `--target-binary-version` in the deploy script `./scripts/deploy_codepush`. 2 | # When you introduced a new native module, please release the binary first and update this file. 3 | # You can specify it by following Semantic Versioning. 4 | # ref: https://docs.microsoft.com/en-us/appcenter/distribution/codepush/cli#target-binary-version-parameter 5 | * 6 | -------------------------------------------------------------------------------- /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.reactnativecodepushexample", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.reactnativecodepushexample", 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 | apply from: "../../node_modules/react-native-code-push/android/codepush.gradle" 81 | 82 | /** 83 | * Set this to true to create two separate APKs instead of one: 84 | * - An APK that only works on ARM devices 85 | * - An APK that only works on x86 devices 86 | * The advantage is the size of the APK is reduced by about 4MB. 87 | * Upload all the APKs to the Play Store and people will download 88 | * the correct one based on the CPU architecture of their device. 89 | */ 90 | def enableSeparateBuildPerCPUArchitecture = false 91 | 92 | /** 93 | * Run Proguard to shrink the Java bytecode in release builds. 94 | */ 95 | def enableProguardInReleaseBuilds = false 96 | 97 | android { 98 | compileSdkVersion 23 99 | buildToolsVersion "23.0.1" 100 | 101 | defaultConfig { 102 | applicationId "com.reactnativecodepushexample" 103 | minSdkVersion 16 104 | targetSdkVersion 22 105 | versionCode 1 106 | versionName "1.0" 107 | ndk { 108 | abiFilters "armeabi-v7a", "x86" 109 | } 110 | } 111 | splits { 112 | abi { 113 | reset() 114 | enable enableSeparateBuildPerCPUArchitecture 115 | universalApk false // If true, also generate a universal APK 116 | include "armeabi-v7a", "x86" 117 | } 118 | } 119 | buildTypes { 120 | release { 121 | minifyEnabled enableProguardInReleaseBuilds 122 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 123 | } 124 | } 125 | // applicationVariants are e.g. debug, release 126 | applicationVariants.all { variant -> 127 | variant.outputs.each { output -> 128 | // For each separate APK per architecture, set a unique version code as described here: 129 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 130 | def versionCodes = ["armeabi-v7a":1, "x86":2] 131 | def abi = output.getFilter(OutputFile.ABI) 132 | if (abi != null) { // null for the universal-debug, universal-release variants 133 | output.versionCodeOverride = 134 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 135 | } 136 | } 137 | } 138 | } 139 | 140 | dependencies { 141 | compile project(':react-native-code-push') 142 | compile fileTree(dir: "libs", include: ["*.jar"]) 143 | compile "com.android.support:appcompat-v7:23.0.1" 144 | compile "com.facebook.react:react-native:+" // From node_modules 145 | } 146 | 147 | // Run this once to be able to run the application with BUCK 148 | // puts all compile dependencies into folder libs for BUCK to use 149 | task copyDownloadableDepsToLibs(type: Copy) { 150 | from configurations.compile 151 | into 'libs' 152 | } 153 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout. 54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details. 55 | -dontwarn android.text.StaticLayout 56 | 57 | # okhttp 58 | 59 | -keepattributes Signature 60 | -keepattributes *Annotation* 61 | -keep class okhttp3.** { *; } 62 | -keep interface okhttp3.** { *; } 63 | -dontwarn okhttp3.** 64 | 65 | # okio 66 | 67 | -keep class sun.misc.Unsafe { *; } 68 | -dontwarn java.nio.file.* 69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 70 | -dontwarn okio.** 71 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/reactnativecodepushexample/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.reactnativecodepushexample; 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 "ReactNativeCodePushExample"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/reactnativecodepushexample/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.reactnativecodepushexample; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.microsoft.codepush.react.CodePush; 7 | import com.facebook.react.ReactNativeHost; 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.react.shell.MainReactPackage; 10 | import com.facebook.soloader.SoLoader; 11 | 12 | import java.util.Arrays; 13 | import java.util.List; 14 | 15 | public class MainApplication extends Application implements ReactApplication { 16 | 17 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 18 | 19 | @Override 20 | protected String getJSBundleFile() { 21 | return CodePush.getJSBundleFile(); 22 | } 23 | 24 | @Override 25 | public boolean getUseDeveloperSupport() { 26 | return BuildConfig.DEBUG; 27 | } 28 | 29 | @Override 30 | protected List getPackages() { 31 | return Arrays.asList( 32 | new MainReactPackage(), 33 | new CodePush(null, getApplicationContext(), BuildConfig.DEBUG) 34 | ); 35 | } 36 | 37 | @Override 38 | protected String getJSMainModuleName() { 39 | return "index"; 40 | } 41 | }; 42 | 43 | @Override 44 | public ReactNativeHost getReactNativeHost() { 45 | return mReactNativeHost; 46 | } 47 | 48 | @Override 49 | public void onCreate() { 50 | super.onCreate(); 51 | SoLoader.init(this, /* native exopackage */ false); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quipper/ReactNativeCodePushExample/51d48790bf281acf9090e941797eab8a6022f9a4/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quipper/ReactNativeCodePushExample/51d48790bf281acf9090e941797eab8a6022f9a4/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quipper/ReactNativeCodePushExample/51d48790bf281acf9090e941797eab8a6022f9a4/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quipper/ReactNativeCodePushExample/51d48790bf281acf9090e941797eab8a6022f9a4/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ReactNativeCodePushExample 4 | 5 | -------------------------------------------------------------------------------- /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/quipper/ReactNativeCodePushExample/51d48790bf281acf9090e941797eab8a6022f9a4/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 = 'ReactNativeCodePushExample' 2 | include ':react-native-code-push' 3 | project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android/app') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "expo": { 3 | "sdkVersion": "23.0.0" 4 | }, 5 | "name": "ReactNativeCodePushExample", 6 | "displayName": "ReactNativeCodePushExample" 7 | } -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import { AppRegistry } from 'react-native'; 2 | import App from './App'; 3 | AppRegistry.registerComponent('ReactNativeCodePushExample', () => App); 4 | -------------------------------------------------------------------------------- /ios/ReactNativeCodePushExample-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/ReactNativeCodePushExample-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/ReactNativeCodePushExample.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | /* Begin PBXBuildFile section */ 9 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 10 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 11 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 12 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 13 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 14 | 00E356F31AD99517003FC87E /* ReactNativeCodePushExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNativeCodePushExampleTests.m */; }; 15 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 16 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 17 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 18 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 19 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 20 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 21 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 22 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 23 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 25 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 26 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 27 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */; }; 28 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 29 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 30 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 31 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 32 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 33 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 34 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 35 | 2DCD954D1E0B4F2C00145EB5 /* ReactNativeCodePushExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNativeCodePushExampleTests.m */; }; 36 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 37 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 38 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 39 | E7F6215A54C842988492EAA8 /* libCodePush.a in Frameworks */ = {isa = PBXBuildFile; fileRef = EB73C0FC1D1B4988B8CF7384 /* libCodePush.a */; }; 40 | CCD1494E117142D2873E5CA6 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 90E47B4E05764AA1A7F96AEA /* libz.tbd */; }; 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 = ReactNativeCodePushExample; 85 | }; 86 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 87 | isa = PBXContainerItemProxy; 88 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 89 | proxyType = 2; 90 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 91 | remoteInfo = RCTSettings; 92 | }; 93 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 94 | isa = PBXContainerItemProxy; 95 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 96 | proxyType = 2; 97 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 98 | remoteInfo = RCTWebSocket; 99 | }; 100 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 101 | isa = PBXContainerItemProxy; 102 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 103 | proxyType = 2; 104 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 105 | remoteInfo = React; 106 | }; 107 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 108 | isa = PBXContainerItemProxy; 109 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 110 | proxyType = 1; 111 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 112 | remoteInfo = "ReactNativeCodePushExample-tvOS"; 113 | }; 114 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 115 | isa = PBXContainerItemProxy; 116 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 117 | proxyType = 2; 118 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 119 | remoteInfo = "RCTImage-tvOS"; 120 | }; 121 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 122 | isa = PBXContainerItemProxy; 123 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 124 | proxyType = 2; 125 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 126 | remoteInfo = "RCTLinking-tvOS"; 127 | }; 128 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 129 | isa = PBXContainerItemProxy; 130 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 131 | proxyType = 2; 132 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 133 | remoteInfo = "RCTNetwork-tvOS"; 134 | }; 135 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 136 | isa = PBXContainerItemProxy; 137 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 138 | proxyType = 2; 139 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 140 | remoteInfo = "RCTSettings-tvOS"; 141 | }; 142 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 143 | isa = PBXContainerItemProxy; 144 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 145 | proxyType = 2; 146 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 147 | remoteInfo = "RCTText-tvOS"; 148 | }; 149 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 150 | isa = PBXContainerItemProxy; 151 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 152 | proxyType = 2; 153 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 154 | remoteInfo = "RCTWebSocket-tvOS"; 155 | }; 156 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 157 | isa = PBXContainerItemProxy; 158 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 159 | proxyType = 2; 160 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 161 | remoteInfo = "React-tvOS"; 162 | }; 163 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 164 | isa = PBXContainerItemProxy; 165 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 166 | proxyType = 2; 167 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 168 | remoteInfo = yoga; 169 | }; 170 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 171 | isa = PBXContainerItemProxy; 172 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 173 | proxyType = 2; 174 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 175 | remoteInfo = "yoga-tvOS"; 176 | }; 177 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 178 | isa = PBXContainerItemProxy; 179 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 180 | proxyType = 2; 181 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 182 | remoteInfo = cxxreact; 183 | }; 184 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 185 | isa = PBXContainerItemProxy; 186 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 187 | proxyType = 2; 188 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 189 | remoteInfo = "cxxreact-tvOS"; 190 | }; 191 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 192 | isa = PBXContainerItemProxy; 193 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 194 | proxyType = 2; 195 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 196 | remoteInfo = jschelpers; 197 | }; 198 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 199 | isa = PBXContainerItemProxy; 200 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 201 | proxyType = 2; 202 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 203 | remoteInfo = "jschelpers-tvOS"; 204 | }; 205 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 206 | isa = PBXContainerItemProxy; 207 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 208 | proxyType = 2; 209 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 210 | remoteInfo = RCTAnimation; 211 | }; 212 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 213 | isa = PBXContainerItemProxy; 214 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 215 | proxyType = 2; 216 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 217 | remoteInfo = "RCTAnimation-tvOS"; 218 | }; 219 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 220 | isa = PBXContainerItemProxy; 221 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 222 | proxyType = 2; 223 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 224 | remoteInfo = RCTLinking; 225 | }; 226 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 227 | isa = PBXContainerItemProxy; 228 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 229 | proxyType = 2; 230 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 231 | remoteInfo = RCTText; 232 | }; 233 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 234 | isa = PBXContainerItemProxy; 235 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 236 | proxyType = 2; 237 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 238 | remoteInfo = RCTBlob; 239 | }; 240 | /* End PBXContainerItemProxy section */ 241 | 242 | /* Begin PBXFileReference section */ 243 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 244 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 245 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 246 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 247 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 248 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 249 | 00E356EE1AD99517003FC87E /* ReactNativeCodePushExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ReactNativeCodePushExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 250 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 251 | 00E356F21AD99517003FC87E /* ReactNativeCodePushExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ReactNativeCodePushExampleTests.m; sourceTree = ""; }; 252 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 253 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 254 | 13B07F961A680F5B00A75B9A /* ReactNativeCodePushExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ReactNativeCodePushExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 255 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ReactNativeCodePushExample/AppDelegate.h; sourceTree = ""; }; 256 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = ReactNativeCodePushExample/AppDelegate.m; sourceTree = ""; }; 257 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 258 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ReactNativeCodePushExample/Images.xcassets; sourceTree = ""; }; 259 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ReactNativeCodePushExample/Info.plist; sourceTree = ""; }; 260 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ReactNativeCodePushExample/main.m; sourceTree = ""; }; 261 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 262 | 2D02E47B1E0B4A5D006451C7 /* ReactNativeCodePushExample-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ReactNativeCodePushExample-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 263 | 2D02E4901E0B4A5D006451C7 /* ReactNativeCodePushExample-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "ReactNativeCodePushExample-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 264 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 265 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 266 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 267 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 268 | CB3B7D773657475B939157F1 /* CodePush.xcodeproj */ = {isa = PBXFileReference; name = "CodePush.xcodeproj"; path = "../node_modules/react-native-code-push/ios/CodePush.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 269 | EB73C0FC1D1B4988B8CF7384 /* libCodePush.a */ = {isa = PBXFileReference; name = "libCodePush.a"; path = "libCodePush.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 270 | 90E47B4E05764AA1A7F96AEA /* libz.tbd */ = {isa = PBXFileReference; name = "libz.tbd"; path = "usr/lib/libz.tbd"; sourceTree = SDKROOT; fileEncoding = undefined; lastKnownFileType = sourcecode.text-based-dylib-definition; explicitFileType = undefined; includeInIndex = 0; }; 271 | /* End PBXFileReference section */ 272 | 273 | /* Begin PBXFrameworksBuildPhase section */ 274 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 275 | isa = PBXFrameworksBuildPhase; 276 | buildActionMask = 2147483647; 277 | files = ( 278 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 279 | ); 280 | runOnlyForDeploymentPostprocessing = 0; 281 | }; 282 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 283 | isa = PBXFrameworksBuildPhase; 284 | buildActionMask = 2147483647; 285 | files = ( 286 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 287 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 288 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 289 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 290 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 291 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 292 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 293 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 294 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 295 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 296 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 297 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 298 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 299 | E7F6215A54C842988492EAA8 /* libCodePush.a in Frameworks */, 300 | CCD1494E117142D2873E5CA6 /* libz.tbd in Frameworks */, 301 | ); 302 | runOnlyForDeploymentPostprocessing = 0; 303 | }; 304 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 305 | isa = PBXFrameworksBuildPhase; 306 | buildActionMask = 2147483647; 307 | files = ( 308 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, 309 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */, 310 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 311 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 312 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 313 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 314 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 315 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 316 | ); 317 | runOnlyForDeploymentPostprocessing = 0; 318 | }; 319 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 320 | isa = PBXFrameworksBuildPhase; 321 | buildActionMask = 2147483647; 322 | files = ( 323 | ); 324 | runOnlyForDeploymentPostprocessing = 0; 325 | }; 326 | /* End PBXFrameworksBuildPhase section */ 327 | 328 | /* Begin PBXGroup section */ 329 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 330 | isa = PBXGroup; 331 | children = ( 332 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 333 | ); 334 | name = Products; 335 | sourceTree = ""; 336 | }; 337 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 338 | isa = PBXGroup; 339 | children = ( 340 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 341 | ); 342 | name = Products; 343 | sourceTree = ""; 344 | }; 345 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 346 | isa = PBXGroup; 347 | children = ( 348 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 349 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 350 | ); 351 | name = Products; 352 | sourceTree = ""; 353 | }; 354 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 355 | isa = PBXGroup; 356 | children = ( 357 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 358 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 359 | ); 360 | name = Products; 361 | sourceTree = ""; 362 | }; 363 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 364 | isa = PBXGroup; 365 | children = ( 366 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 367 | ); 368 | name = Products; 369 | sourceTree = ""; 370 | }; 371 | 00E356EF1AD99517003FC87E /* ReactNativeCodePushExampleTests */ = { 372 | isa = PBXGroup; 373 | children = ( 374 | 00E356F21AD99517003FC87E /* ReactNativeCodePushExampleTests.m */, 375 | 00E356F01AD99517003FC87E /* Supporting Files */, 376 | ); 377 | path = ReactNativeCodePushExampleTests; 378 | sourceTree = ""; 379 | }; 380 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 381 | isa = PBXGroup; 382 | children = ( 383 | 00E356F11AD99517003FC87E /* Info.plist */, 384 | ); 385 | name = "Supporting Files"; 386 | sourceTree = ""; 387 | }; 388 | 139105B71AF99BAD00B5F7CC /* Products */ = { 389 | isa = PBXGroup; 390 | children = ( 391 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 392 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 393 | ); 394 | name = Products; 395 | sourceTree = ""; 396 | }; 397 | 139FDEE71B06529A00C62182 /* Products */ = { 398 | isa = PBXGroup; 399 | children = ( 400 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 401 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 402 | ); 403 | name = Products; 404 | sourceTree = ""; 405 | }; 406 | 13B07FAE1A68108700A75B9A /* ReactNativeCodePushExample */ = { 407 | isa = PBXGroup; 408 | children = ( 409 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 410 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 411 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 412 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 413 | 13B07FB61A68108700A75B9A /* Info.plist */, 414 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 415 | 13B07FB71A68108700A75B9A /* main.m */, 416 | ); 417 | name = ReactNativeCodePushExample; 418 | sourceTree = ""; 419 | }; 420 | 146834001AC3E56700842450 /* Products */ = { 421 | isa = PBXGroup; 422 | children = ( 423 | 146834041AC3E56700842450 /* libReact.a */, 424 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 425 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 426 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 427 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 428 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 429 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 430 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 431 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */, 432 | ); 433 | name = Products; 434 | sourceTree = ""; 435 | }; 436 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 437 | isa = PBXGroup; 438 | children = ( 439 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 440 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */, 441 | ); 442 | name = Products; 443 | sourceTree = ""; 444 | }; 445 | 78C398B11ACF4ADC00677621 /* Products */ = { 446 | isa = PBXGroup; 447 | children = ( 448 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 449 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 450 | ); 451 | name = Products; 452 | sourceTree = ""; 453 | }; 454 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 455 | isa = PBXGroup; 456 | children = ( 457 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 458 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 459 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 460 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 461 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 462 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 463 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 464 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 465 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 466 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 467 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 468 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 469 | CB3B7D773657475B939157F1 /* CodePush.xcodeproj */, 470 | ); 471 | name = Libraries; 472 | sourceTree = ""; 473 | }; 474 | 832341B11AAA6A8300B99B32 /* Products */ = { 475 | isa = PBXGroup; 476 | children = ( 477 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 478 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 479 | ); 480 | name = Products; 481 | sourceTree = ""; 482 | }; 483 | 83CBB9F61A601CBA00E9B192 = { 484 | isa = PBXGroup; 485 | children = ( 486 | 13B07FAE1A68108700A75B9A /* ReactNativeCodePushExample */, 487 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 488 | 00E356EF1AD99517003FC87E /* ReactNativeCodePushExampleTests */, 489 | 83CBBA001A601CBA00E9B192 /* Products */, 490 | 18A38B08495144B4B44ADC53 /* Frameworks */, 491 | ); 492 | indentWidth = 2; 493 | sourceTree = ""; 494 | tabWidth = 2; 495 | usesTabs = 0; 496 | }; 497 | 83CBBA001A601CBA00E9B192 /* Products */ = { 498 | isa = PBXGroup; 499 | children = ( 500 | 13B07F961A680F5B00A75B9A /* ReactNativeCodePushExample.app */, 501 | 00E356EE1AD99517003FC87E /* ReactNativeCodePushExampleTests.xctest */, 502 | 2D02E47B1E0B4A5D006451C7 /* ReactNativeCodePushExample-tvOS.app */, 503 | 2D02E4901E0B4A5D006451C7 /* ReactNativeCodePushExample-tvOSTests.xctest */, 504 | ); 505 | name = Products; 506 | sourceTree = ""; 507 | }; 508 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 509 | isa = PBXGroup; 510 | children = ( 511 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 512 | ); 513 | name = Products; 514 | sourceTree = ""; 515 | }; 516 | 18A38B08495144B4B44ADC53 /* Frameworks */ = { 517 | isa = "PBXGroup"; 518 | children = ( 519 | 90E47B4E05764AA1A7F96AEA /* libz.tbd */, 520 | ); 521 | name = Frameworks; 522 | sourceTree = ""; 523 | path = ""; 524 | }; 525 | /* End PBXGroup section */ 526 | 527 | /* Begin PBXNativeTarget section */ 528 | 00E356ED1AD99517003FC87E /* ReactNativeCodePushExampleTests */ = { 529 | isa = PBXNativeTarget; 530 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReactNativeCodePushExampleTests" */; 531 | buildPhases = ( 532 | 00E356EA1AD99517003FC87E /* Sources */, 533 | 00E356EB1AD99517003FC87E /* Frameworks */, 534 | 00E356EC1AD99517003FC87E /* Resources */, 535 | ); 536 | buildRules = ( 537 | ); 538 | dependencies = ( 539 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 540 | ); 541 | name = ReactNativeCodePushExampleTests; 542 | productName = ReactNativeCodePushExampleTests; 543 | productReference = 00E356EE1AD99517003FC87E /* ReactNativeCodePushExampleTests.xctest */; 544 | productType = "com.apple.product-type.bundle.unit-test"; 545 | }; 546 | 13B07F861A680F5B00A75B9A /* ReactNativeCodePushExample */ = { 547 | isa = PBXNativeTarget; 548 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeCodePushExample" */; 549 | buildPhases = ( 550 | 13B07F871A680F5B00A75B9A /* Sources */, 551 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 552 | 13B07F8E1A680F5B00A75B9A /* Resources */, 553 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 554 | ); 555 | buildRules = ( 556 | ); 557 | dependencies = ( 558 | ); 559 | name = ReactNativeCodePushExample; 560 | productName = "Hello World"; 561 | productReference = 13B07F961A680F5B00A75B9A /* ReactNativeCodePushExample.app */; 562 | productType = "com.apple.product-type.application"; 563 | }; 564 | 2D02E47A1E0B4A5D006451C7 /* ReactNativeCodePushExample-tvOS */ = { 565 | isa = PBXNativeTarget; 566 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeCodePushExample-tvOS" */; 567 | buildPhases = ( 568 | 2D02E4771E0B4A5D006451C7 /* Sources */, 569 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 570 | 2D02E4791E0B4A5D006451C7 /* Resources */, 571 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 572 | ); 573 | buildRules = ( 574 | ); 575 | dependencies = ( 576 | ); 577 | name = "ReactNativeCodePushExample-tvOS"; 578 | productName = "ReactNativeCodePushExample-tvOS"; 579 | productReference = 2D02E47B1E0B4A5D006451C7 /* ReactNativeCodePushExample-tvOS.app */; 580 | productType = "com.apple.product-type.application"; 581 | }; 582 | 2D02E48F1E0B4A5D006451C7 /* ReactNativeCodePushExample-tvOSTests */ = { 583 | isa = PBXNativeTarget; 584 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeCodePushExample-tvOSTests" */; 585 | buildPhases = ( 586 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 587 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 588 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 589 | ); 590 | buildRules = ( 591 | ); 592 | dependencies = ( 593 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 594 | ); 595 | name = "ReactNativeCodePushExample-tvOSTests"; 596 | productName = "ReactNativeCodePushExample-tvOSTests"; 597 | productReference = 2D02E4901E0B4A5D006451C7 /* ReactNativeCodePushExample-tvOSTests.xctest */; 598 | productType = "com.apple.product-type.bundle.unit-test"; 599 | }; 600 | /* End PBXNativeTarget section */ 601 | 602 | /* Begin PBXProject section */ 603 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 604 | isa = PBXProject; 605 | attributes = { 606 | LastUpgradeCheck = 610; 607 | ORGANIZATIONNAME = Facebook; 608 | TargetAttributes = { 609 | 00E356ED1AD99517003FC87E = { 610 | CreatedOnToolsVersion = 6.2; 611 | TestTargetID = 13B07F861A680F5B00A75B9A; 612 | }; 613 | 2D02E47A1E0B4A5D006451C7 = { 614 | CreatedOnToolsVersion = 8.2.1; 615 | ProvisioningStyle = Automatic; 616 | }; 617 | 2D02E48F1E0B4A5D006451C7 = { 618 | CreatedOnToolsVersion = 8.2.1; 619 | ProvisioningStyle = Automatic; 620 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 621 | }; 622 | }; 623 | }; 624 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ReactNativeCodePushExample" */; 625 | compatibilityVersion = "Xcode 3.2"; 626 | developmentRegion = English; 627 | hasScannedForEncodings = 0; 628 | knownRegions = ( 629 | en, 630 | Base, 631 | ); 632 | mainGroup = 83CBB9F61A601CBA00E9B192; 633 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 634 | projectDirPath = ""; 635 | projectReferences = ( 636 | { 637 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 638 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 639 | }, 640 | { 641 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 642 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 643 | }, 644 | { 645 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 646 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 647 | }, 648 | { 649 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 650 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 651 | }, 652 | { 653 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 654 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 655 | }, 656 | { 657 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 658 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 659 | }, 660 | { 661 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 662 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 663 | }, 664 | { 665 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 666 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 667 | }, 668 | { 669 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 670 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 671 | }, 672 | { 673 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 674 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 675 | }, 676 | { 677 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 678 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 679 | }, 680 | { 681 | ProductGroup = 146834001AC3E56700842450 /* Products */; 682 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 683 | }, 684 | ); 685 | projectRoot = ""; 686 | targets = ( 687 | 13B07F861A680F5B00A75B9A /* ReactNativeCodePushExample */, 688 | 00E356ED1AD99517003FC87E /* ReactNativeCodePushExampleTests */, 689 | 2D02E47A1E0B4A5D006451C7 /* ReactNativeCodePushExample-tvOS */, 690 | 2D02E48F1E0B4A5D006451C7 /* ReactNativeCodePushExample-tvOSTests */, 691 | ); 692 | }; 693 | /* End PBXProject section */ 694 | 695 | /* Begin PBXReferenceProxy section */ 696 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 697 | isa = PBXReferenceProxy; 698 | fileType = archive.ar; 699 | path = libRCTActionSheet.a; 700 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 701 | sourceTree = BUILT_PRODUCTS_DIR; 702 | }; 703 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 704 | isa = PBXReferenceProxy; 705 | fileType = archive.ar; 706 | path = libRCTGeolocation.a; 707 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 708 | sourceTree = BUILT_PRODUCTS_DIR; 709 | }; 710 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 711 | isa = PBXReferenceProxy; 712 | fileType = archive.ar; 713 | path = libRCTImage.a; 714 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 715 | sourceTree = BUILT_PRODUCTS_DIR; 716 | }; 717 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 718 | isa = PBXReferenceProxy; 719 | fileType = archive.ar; 720 | path = libRCTNetwork.a; 721 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 722 | sourceTree = BUILT_PRODUCTS_DIR; 723 | }; 724 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 725 | isa = PBXReferenceProxy; 726 | fileType = archive.ar; 727 | path = libRCTVibration.a; 728 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 729 | sourceTree = BUILT_PRODUCTS_DIR; 730 | }; 731 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 732 | isa = PBXReferenceProxy; 733 | fileType = archive.ar; 734 | path = libRCTSettings.a; 735 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 736 | sourceTree = BUILT_PRODUCTS_DIR; 737 | }; 738 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 739 | isa = PBXReferenceProxy; 740 | fileType = archive.ar; 741 | path = libRCTWebSocket.a; 742 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 743 | sourceTree = BUILT_PRODUCTS_DIR; 744 | }; 745 | 146834041AC3E56700842450 /* libReact.a */ = { 746 | isa = PBXReferenceProxy; 747 | fileType = archive.ar; 748 | path = libReact.a; 749 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 750 | sourceTree = BUILT_PRODUCTS_DIR; 751 | }; 752 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 753 | isa = PBXReferenceProxy; 754 | fileType = archive.ar; 755 | path = "libRCTImage-tvOS.a"; 756 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 757 | sourceTree = BUILT_PRODUCTS_DIR; 758 | }; 759 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 760 | isa = PBXReferenceProxy; 761 | fileType = archive.ar; 762 | path = "libRCTLinking-tvOS.a"; 763 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 764 | sourceTree = BUILT_PRODUCTS_DIR; 765 | }; 766 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 767 | isa = PBXReferenceProxy; 768 | fileType = archive.ar; 769 | path = "libRCTNetwork-tvOS.a"; 770 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 771 | sourceTree = BUILT_PRODUCTS_DIR; 772 | }; 773 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 774 | isa = PBXReferenceProxy; 775 | fileType = archive.ar; 776 | path = "libRCTSettings-tvOS.a"; 777 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 778 | sourceTree = BUILT_PRODUCTS_DIR; 779 | }; 780 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 781 | isa = PBXReferenceProxy; 782 | fileType = archive.ar; 783 | path = "libRCTText-tvOS.a"; 784 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 785 | sourceTree = BUILT_PRODUCTS_DIR; 786 | }; 787 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 788 | isa = PBXReferenceProxy; 789 | fileType = archive.ar; 790 | path = "libRCTWebSocket-tvOS.a"; 791 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 792 | sourceTree = BUILT_PRODUCTS_DIR; 793 | }; 794 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */ = { 795 | isa = PBXReferenceProxy; 796 | fileType = archive.ar; 797 | path = "libReact-tvOS.a"; 798 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 799 | sourceTree = BUILT_PRODUCTS_DIR; 800 | }; 801 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 802 | isa = PBXReferenceProxy; 803 | fileType = archive.ar; 804 | path = libyoga.a; 805 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 806 | sourceTree = BUILT_PRODUCTS_DIR; 807 | }; 808 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 809 | isa = PBXReferenceProxy; 810 | fileType = archive.ar; 811 | path = libyoga.a; 812 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 813 | sourceTree = BUILT_PRODUCTS_DIR; 814 | }; 815 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 816 | isa = PBXReferenceProxy; 817 | fileType = archive.ar; 818 | path = libcxxreact.a; 819 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 820 | sourceTree = BUILT_PRODUCTS_DIR; 821 | }; 822 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 823 | isa = PBXReferenceProxy; 824 | fileType = archive.ar; 825 | path = libcxxreact.a; 826 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 827 | sourceTree = BUILT_PRODUCTS_DIR; 828 | }; 829 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 830 | isa = PBXReferenceProxy; 831 | fileType = archive.ar; 832 | path = libjschelpers.a; 833 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 834 | sourceTree = BUILT_PRODUCTS_DIR; 835 | }; 836 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 837 | isa = PBXReferenceProxy; 838 | fileType = archive.ar; 839 | path = libjschelpers.a; 840 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 841 | sourceTree = BUILT_PRODUCTS_DIR; 842 | }; 843 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 844 | isa = PBXReferenceProxy; 845 | fileType = archive.ar; 846 | path = libRCTAnimation.a; 847 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 848 | sourceTree = BUILT_PRODUCTS_DIR; 849 | }; 850 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */ = { 851 | isa = PBXReferenceProxy; 852 | fileType = archive.ar; 853 | path = "libRCTAnimation-tvOS.a"; 854 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 855 | sourceTree = BUILT_PRODUCTS_DIR; 856 | }; 857 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 858 | isa = PBXReferenceProxy; 859 | fileType = archive.ar; 860 | path = libRCTLinking.a; 861 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 862 | sourceTree = BUILT_PRODUCTS_DIR; 863 | }; 864 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 865 | isa = PBXReferenceProxy; 866 | fileType = archive.ar; 867 | path = libRCTText.a; 868 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 869 | sourceTree = BUILT_PRODUCTS_DIR; 870 | }; 871 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 872 | isa = PBXReferenceProxy; 873 | fileType = archive.ar; 874 | path = libRCTBlob.a; 875 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 876 | sourceTree = BUILT_PRODUCTS_DIR; 877 | }; 878 | /* End PBXReferenceProxy section */ 879 | 880 | /* Begin PBXResourcesBuildPhase section */ 881 | 00E356EC1AD99517003FC87E /* Resources */ = { 882 | isa = PBXResourcesBuildPhase; 883 | buildActionMask = 2147483647; 884 | files = ( 885 | ); 886 | runOnlyForDeploymentPostprocessing = 0; 887 | }; 888 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 889 | isa = PBXResourcesBuildPhase; 890 | buildActionMask = 2147483647; 891 | files = ( 892 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 893 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 894 | ); 895 | runOnlyForDeploymentPostprocessing = 0; 896 | }; 897 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 898 | isa = PBXResourcesBuildPhase; 899 | buildActionMask = 2147483647; 900 | files = ( 901 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 902 | ); 903 | runOnlyForDeploymentPostprocessing = 0; 904 | }; 905 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 906 | isa = PBXResourcesBuildPhase; 907 | buildActionMask = 2147483647; 908 | files = ( 909 | ); 910 | runOnlyForDeploymentPostprocessing = 0; 911 | }; 912 | /* End PBXResourcesBuildPhase section */ 913 | 914 | /* Begin PBXShellScriptBuildPhase section */ 915 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 916 | isa = PBXShellScriptBuildPhase; 917 | buildActionMask = 2147483647; 918 | files = ( 919 | ); 920 | inputPaths = ( 921 | ); 922 | name = "Bundle React Native code and images"; 923 | outputPaths = ( 924 | ); 925 | runOnlyForDeploymentPostprocessing = 0; 926 | shellPath = /bin/sh; 927 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 928 | }; 929 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 930 | isa = PBXShellScriptBuildPhase; 931 | buildActionMask = 2147483647; 932 | files = ( 933 | ); 934 | inputPaths = ( 935 | ); 936 | name = "Bundle React Native Code And Images"; 937 | outputPaths = ( 938 | ); 939 | runOnlyForDeploymentPostprocessing = 0; 940 | shellPath = /bin/sh; 941 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 942 | }; 943 | /* End PBXShellScriptBuildPhase section */ 944 | 945 | /* Begin PBXSourcesBuildPhase section */ 946 | 00E356EA1AD99517003FC87E /* Sources */ = { 947 | isa = PBXSourcesBuildPhase; 948 | buildActionMask = 2147483647; 949 | files = ( 950 | 00E356F31AD99517003FC87E /* ReactNativeCodePushExampleTests.m in Sources */, 951 | ); 952 | runOnlyForDeploymentPostprocessing = 0; 953 | }; 954 | 13B07F871A680F5B00A75B9A /* Sources */ = { 955 | isa = PBXSourcesBuildPhase; 956 | buildActionMask = 2147483647; 957 | files = ( 958 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 959 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 960 | ); 961 | runOnlyForDeploymentPostprocessing = 0; 962 | }; 963 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 964 | isa = PBXSourcesBuildPhase; 965 | buildActionMask = 2147483647; 966 | files = ( 967 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 968 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 969 | ); 970 | runOnlyForDeploymentPostprocessing = 0; 971 | }; 972 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 973 | isa = PBXSourcesBuildPhase; 974 | buildActionMask = 2147483647; 975 | files = ( 976 | 2DCD954D1E0B4F2C00145EB5 /* ReactNativeCodePushExampleTests.m in Sources */, 977 | ); 978 | runOnlyForDeploymentPostprocessing = 0; 979 | }; 980 | /* End PBXSourcesBuildPhase section */ 981 | 982 | /* Begin PBXTargetDependency section */ 983 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 984 | isa = PBXTargetDependency; 985 | target = 13B07F861A680F5B00A75B9A /* ReactNativeCodePushExample */; 986 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 987 | }; 988 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 989 | isa = PBXTargetDependency; 990 | target = 2D02E47A1E0B4A5D006451C7 /* ReactNativeCodePushExample-tvOS */; 991 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 992 | }; 993 | /* End PBXTargetDependency section */ 994 | 995 | /* Begin PBXVariantGroup section */ 996 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 997 | isa = PBXVariantGroup; 998 | children = ( 999 | 13B07FB21A68108700A75B9A /* Base */, 1000 | ); 1001 | name = LaunchScreen.xib; 1002 | path = ReactNativeCodePushExample; 1003 | sourceTree = ""; 1004 | }; 1005 | /* End PBXVariantGroup section */ 1006 | 1007 | /* Begin XCBuildConfiguration section */ 1008 | 00E356F61AD99517003FC87E /* Debug */ = { 1009 | isa = XCBuildConfiguration; 1010 | buildSettings = { 1011 | BUNDLE_LOADER = "$(TEST_HOST)"; 1012 | GCC_PREPROCESSOR_DEFINITIONS = ( 1013 | "DEBUG=1", 1014 | "$(inherited)", 1015 | ); 1016 | INFOPLIST_FILE = ReactNativeCodePushExampleTests/Info.plist; 1017 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1018 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1019 | OTHER_LDFLAGS = ( 1020 | "-ObjC", 1021 | "-lc++", 1022 | ); 1023 | PRODUCT_NAME = "$(TARGET_NAME)"; 1024 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeCodePushExample.app/ReactNativeCodePushExample"; 1025 | LIBRARY_SEARCH_PATHS = ( 1026 | "$(inherited)", 1027 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1028 | ); 1029 | HEADER_SEARCH_PATHS = ( 1030 | "$(inherited)", 1031 | "$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**", 1032 | ); 1033 | }; 1034 | name = Debug; 1035 | }; 1036 | 00E356F71AD99517003FC87E /* Release */ = { 1037 | isa = XCBuildConfiguration; 1038 | buildSettings = { 1039 | BUNDLE_LOADER = "$(TEST_HOST)"; 1040 | COPY_PHASE_STRIP = NO; 1041 | INFOPLIST_FILE = ReactNativeCodePushExampleTests/Info.plist; 1042 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1043 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1044 | OTHER_LDFLAGS = ( 1045 | "-ObjC", 1046 | "-lc++", 1047 | ); 1048 | PRODUCT_NAME = "$(TARGET_NAME)"; 1049 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeCodePushExample.app/ReactNativeCodePushExample"; 1050 | LIBRARY_SEARCH_PATHS = ( 1051 | "$(inherited)", 1052 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1053 | ); 1054 | HEADER_SEARCH_PATHS = ( 1055 | "$(inherited)", 1056 | "$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**", 1057 | ); 1058 | }; 1059 | name = Release; 1060 | }; 1061 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1062 | isa = XCBuildConfiguration; 1063 | buildSettings = { 1064 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1065 | CURRENT_PROJECT_VERSION = 1; 1066 | DEAD_CODE_STRIPPING = NO; 1067 | INFOPLIST_FILE = ReactNativeCodePushExample/Info.plist; 1068 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1069 | OTHER_LDFLAGS = ( 1070 | "$(inherited)", 1071 | "-ObjC", 1072 | "-lc++", 1073 | ); 1074 | PRODUCT_NAME = ReactNativeCodePushExample; 1075 | VERSIONING_SYSTEM = "apple-generic"; 1076 | HEADER_SEARCH_PATHS = ( 1077 | "$(inherited)", 1078 | "$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**", 1079 | ); 1080 | }; 1081 | name = Debug; 1082 | }; 1083 | 13B07F951A680F5B00A75B9A /* Release */ = { 1084 | isa = XCBuildConfiguration; 1085 | buildSettings = { 1086 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1087 | CURRENT_PROJECT_VERSION = 1; 1088 | INFOPLIST_FILE = ReactNativeCodePushExample/Info.plist; 1089 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1090 | OTHER_LDFLAGS = ( 1091 | "$(inherited)", 1092 | "-ObjC", 1093 | "-lc++", 1094 | ); 1095 | PRODUCT_NAME = ReactNativeCodePushExample; 1096 | VERSIONING_SYSTEM = "apple-generic"; 1097 | HEADER_SEARCH_PATHS = ( 1098 | "$(inherited)", 1099 | "$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**", 1100 | ); 1101 | }; 1102 | name = Release; 1103 | }; 1104 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1105 | isa = XCBuildConfiguration; 1106 | buildSettings = { 1107 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1108 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1109 | CLANG_ANALYZER_NONNULL = YES; 1110 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1111 | CLANG_WARN_INFINITE_RECURSION = YES; 1112 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1113 | DEBUG_INFORMATION_FORMAT = dwarf; 1114 | ENABLE_TESTABILITY = YES; 1115 | GCC_NO_COMMON_BLOCKS = YES; 1116 | INFOPLIST_FILE = "ReactNativeCodePushExample-tvOS/Info.plist"; 1117 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1118 | OTHER_LDFLAGS = ( 1119 | "-ObjC", 1120 | "-lc++", 1121 | ); 1122 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeCodePushExample-tvOS"; 1123 | PRODUCT_NAME = "$(TARGET_NAME)"; 1124 | SDKROOT = appletvos; 1125 | TARGETED_DEVICE_FAMILY = 3; 1126 | TVOS_DEPLOYMENT_TARGET = 9.2; 1127 | LIBRARY_SEARCH_PATHS = ( 1128 | "$(inherited)", 1129 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1130 | ); 1131 | HEADER_SEARCH_PATHS = ( 1132 | "$(inherited)", 1133 | "$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**", 1134 | ); 1135 | }; 1136 | name = Debug; 1137 | }; 1138 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1139 | isa = XCBuildConfiguration; 1140 | buildSettings = { 1141 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1142 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1143 | CLANG_ANALYZER_NONNULL = YES; 1144 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1145 | CLANG_WARN_INFINITE_RECURSION = YES; 1146 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1147 | COPY_PHASE_STRIP = NO; 1148 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1149 | GCC_NO_COMMON_BLOCKS = YES; 1150 | INFOPLIST_FILE = "ReactNativeCodePushExample-tvOS/Info.plist"; 1151 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1152 | OTHER_LDFLAGS = ( 1153 | "-ObjC", 1154 | "-lc++", 1155 | ); 1156 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeCodePushExample-tvOS"; 1157 | PRODUCT_NAME = "$(TARGET_NAME)"; 1158 | SDKROOT = appletvos; 1159 | TARGETED_DEVICE_FAMILY = 3; 1160 | TVOS_DEPLOYMENT_TARGET = 9.2; 1161 | LIBRARY_SEARCH_PATHS = ( 1162 | "$(inherited)", 1163 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1164 | ); 1165 | HEADER_SEARCH_PATHS = ( 1166 | "$(inherited)", 1167 | "$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**", 1168 | ); 1169 | }; 1170 | name = Release; 1171 | }; 1172 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1173 | isa = XCBuildConfiguration; 1174 | buildSettings = { 1175 | BUNDLE_LOADER = "$(TEST_HOST)"; 1176 | CLANG_ANALYZER_NONNULL = YES; 1177 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1178 | CLANG_WARN_INFINITE_RECURSION = YES; 1179 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1180 | DEBUG_INFORMATION_FORMAT = dwarf; 1181 | ENABLE_TESTABILITY = YES; 1182 | GCC_NO_COMMON_BLOCKS = YES; 1183 | INFOPLIST_FILE = "ReactNativeCodePushExample-tvOSTests/Info.plist"; 1184 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1185 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeCodePushExample-tvOSTests"; 1186 | PRODUCT_NAME = "$(TARGET_NAME)"; 1187 | SDKROOT = appletvos; 1188 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeCodePushExample-tvOS.app/ReactNativeCodePushExample-tvOS"; 1189 | TVOS_DEPLOYMENT_TARGET = 10.1; 1190 | LIBRARY_SEARCH_PATHS = ( 1191 | "$(inherited)", 1192 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1193 | ); 1194 | }; 1195 | name = Debug; 1196 | }; 1197 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1198 | isa = XCBuildConfiguration; 1199 | buildSettings = { 1200 | BUNDLE_LOADER = "$(TEST_HOST)"; 1201 | CLANG_ANALYZER_NONNULL = YES; 1202 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1203 | CLANG_WARN_INFINITE_RECURSION = YES; 1204 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1205 | COPY_PHASE_STRIP = NO; 1206 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1207 | GCC_NO_COMMON_BLOCKS = YES; 1208 | INFOPLIST_FILE = "ReactNativeCodePushExample-tvOSTests/Info.plist"; 1209 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1210 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeCodePushExample-tvOSTests"; 1211 | PRODUCT_NAME = "$(TARGET_NAME)"; 1212 | SDKROOT = appletvos; 1213 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeCodePushExample-tvOS.app/ReactNativeCodePushExample-tvOS"; 1214 | TVOS_DEPLOYMENT_TARGET = 10.1; 1215 | LIBRARY_SEARCH_PATHS = ( 1216 | "$(inherited)", 1217 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1218 | ); 1219 | }; 1220 | name = Release; 1221 | }; 1222 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1223 | isa = XCBuildConfiguration; 1224 | buildSettings = { 1225 | ALWAYS_SEARCH_USER_PATHS = NO; 1226 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1227 | CLANG_CXX_LIBRARY = "libc++"; 1228 | CLANG_ENABLE_MODULES = YES; 1229 | CLANG_ENABLE_OBJC_ARC = YES; 1230 | CLANG_WARN_BOOL_CONVERSION = YES; 1231 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1232 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1233 | CLANG_WARN_EMPTY_BODY = YES; 1234 | CLANG_WARN_ENUM_CONVERSION = YES; 1235 | CLANG_WARN_INT_CONVERSION = YES; 1236 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1237 | CLANG_WARN_UNREACHABLE_CODE = YES; 1238 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1239 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1240 | COPY_PHASE_STRIP = NO; 1241 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1242 | GCC_C_LANGUAGE_STANDARD = gnu99; 1243 | GCC_DYNAMIC_NO_PIC = NO; 1244 | GCC_OPTIMIZATION_LEVEL = 0; 1245 | GCC_PREPROCESSOR_DEFINITIONS = ( 1246 | "DEBUG=1", 1247 | "$(inherited)", 1248 | ); 1249 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1250 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1251 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1252 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1253 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1254 | GCC_WARN_UNUSED_FUNCTION = YES; 1255 | GCC_WARN_UNUSED_VARIABLE = YES; 1256 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1257 | MTL_ENABLE_DEBUG_INFO = YES; 1258 | ONLY_ACTIVE_ARCH = YES; 1259 | SDKROOT = iphoneos; 1260 | }; 1261 | name = Debug; 1262 | }; 1263 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1264 | isa = XCBuildConfiguration; 1265 | buildSettings = { 1266 | ALWAYS_SEARCH_USER_PATHS = NO; 1267 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1268 | CLANG_CXX_LIBRARY = "libc++"; 1269 | CLANG_ENABLE_MODULES = YES; 1270 | CLANG_ENABLE_OBJC_ARC = YES; 1271 | CLANG_WARN_BOOL_CONVERSION = YES; 1272 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1273 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1274 | CLANG_WARN_EMPTY_BODY = YES; 1275 | CLANG_WARN_ENUM_CONVERSION = YES; 1276 | CLANG_WARN_INT_CONVERSION = YES; 1277 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1278 | CLANG_WARN_UNREACHABLE_CODE = YES; 1279 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1280 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1281 | COPY_PHASE_STRIP = YES; 1282 | ENABLE_NS_ASSERTIONS = NO; 1283 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1284 | GCC_C_LANGUAGE_STANDARD = gnu99; 1285 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1286 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1287 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1288 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1289 | GCC_WARN_UNUSED_FUNCTION = YES; 1290 | GCC_WARN_UNUSED_VARIABLE = YES; 1291 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1292 | MTL_ENABLE_DEBUG_INFO = NO; 1293 | SDKROOT = iphoneos; 1294 | VALIDATE_PRODUCT = YES; 1295 | }; 1296 | name = Release; 1297 | }; 1298 | /* End XCBuildConfiguration section */ 1299 | 1300 | /* Begin XCConfigurationList section */ 1301 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReactNativeCodePushExampleTests" */ = { 1302 | isa = XCConfigurationList; 1303 | buildConfigurations = ( 1304 | 00E356F61AD99517003FC87E /* Debug */, 1305 | 00E356F71AD99517003FC87E /* Release */, 1306 | ); 1307 | defaultConfigurationIsVisible = 0; 1308 | defaultConfigurationName = Release; 1309 | }; 1310 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeCodePushExample" */ = { 1311 | isa = XCConfigurationList; 1312 | buildConfigurations = ( 1313 | 13B07F941A680F5B00A75B9A /* Debug */, 1314 | 13B07F951A680F5B00A75B9A /* Release */, 1315 | ); 1316 | defaultConfigurationIsVisible = 0; 1317 | defaultConfigurationName = Release; 1318 | }; 1319 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeCodePushExample-tvOS" */ = { 1320 | isa = XCConfigurationList; 1321 | buildConfigurations = ( 1322 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1323 | 2D02E4981E0B4A5E006451C7 /* Release */, 1324 | ); 1325 | defaultConfigurationIsVisible = 0; 1326 | defaultConfigurationName = Release; 1327 | }; 1328 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeCodePushExample-tvOSTests" */ = { 1329 | isa = XCConfigurationList; 1330 | buildConfigurations = ( 1331 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1332 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1333 | ); 1334 | defaultConfigurationIsVisible = 0; 1335 | defaultConfigurationName = Release; 1336 | }; 1337 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ReactNativeCodePushExample" */ = { 1338 | isa = XCConfigurationList; 1339 | buildConfigurations = ( 1340 | 83CBBA201A601CBA00E9B192 /* Debug */, 1341 | 83CBBA211A601CBA00E9B192 /* Release */, 1342 | ); 1343 | defaultConfigurationIsVisible = 0; 1344 | defaultConfigurationName = Release; 1345 | }; 1346 | /* End XCConfigurationList section */ 1347 | }; 1348 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1349 | } 1350 | -------------------------------------------------------------------------------- /ios/ReactNativeCodePushExample.xcodeproj/xcshareddata/xcschemes/ReactNativeCodePushExample-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/ReactNativeCodePushExample.xcodeproj/xcshareddata/xcschemes/ReactNativeCodePushExample.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/ReactNativeCodePushExample/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/ReactNativeCodePushExample/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | #import 12 | 13 | #import 14 | #import 15 | 16 | @implementation AppDelegate 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 19 | { 20 | NSURL *jsCodeLocation; 21 | 22 | 23 | #ifdef DEBUG 24 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 25 | #else 26 | jsCodeLocation = [CodePush bundleURL]; 27 | #endif 28 | 29 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 30 | moduleName:@"ReactNativeCodePushExample" 31 | initialProperties:nil 32 | launchOptions:launchOptions]; 33 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 34 | 35 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 36 | UIViewController *rootViewController = [UIViewController new]; 37 | rootViewController.view = rootView; 38 | self.window.rootViewController = rootViewController; 39 | [self.window makeKeyAndVisible]; 40 | return YES; 41 | } 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /ios/ReactNativeCodePushExample/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/ReactNativeCodePushExample/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/ReactNativeCodePushExample/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ios/ReactNativeCodePushExample/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ReactNativeCodePushExample 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 | NSExceptionDomains 46 | 47 | localhost 48 | 49 | NSExceptionAllowsInsecureHTTPLoads 50 | 51 | 52 | 53 | 54 | CodePushDeploymentKey 55 | awwgvcwUEXknJlsKh-R5H-74WCb_Sy3FtJVZG 56 | 57 | -------------------------------------------------------------------------------- /ios/ReactNativeCodePushExample/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/ReactNativeCodePushExampleTests/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/ReactNativeCodePushExampleTests/ReactNativeCodePushExampleTests.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 ReactNativeCodePushExampleTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation ReactNativeCodePushExampleTests 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 | -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quipper/ReactNativeCodePushExample/51d48790bf281acf9090e941797eab8a6022f9a4/logo.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ReactNativeCodePushExample", 3 | "version": "0.1.0", 4 | "private": true, 5 | "devDependencies": { 6 | "appcenter-cli": "^1.0.6", 7 | "babel-preset-react-native-stage-0": "^1.0.1", 8 | "github-api": "^3.0.0", 9 | "jest-expo": "23.0.0", 10 | "react-test-renderer": "16.0.0" 11 | }, 12 | "scripts": { 13 | "start": "react-native start", 14 | "android": "react-native run-android", 15 | "ios": "react-native run-ios", 16 | "test": "node node_modules/jest/bin/jest.js", 17 | "codepush:login": "appcenter login --token $CODEPUSH_ACCESS_TOKEN", 18 | "codepush:deploy": "./scripts/deploy_codepush" 19 | }, 20 | "jest": { 21 | "preset": "jest-expo" 22 | }, 23 | "dependencies": { 24 | "react": "16.0.0", 25 | "react-native": "0.50.3", 26 | "react-native-code-push": "^5.2.0-beta" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /scripts/create_release_pull_request: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | const exec = require('child_process').exec; 4 | const last = require('lodash').last; 5 | 6 | const cmd = './node_modules/.bin/appcenter codepush deployment history Production --app Quipper/ReactNativeCodePushExample --output json'; 7 | exec(cmd, (err, stdout, stderr) => { 8 | if (err) { 9 | throw new Error(`Failed to run code-push command: ${err.message}`); 10 | } 11 | 12 | const deployments = JSON.parse(stdout); 13 | const deployment = last(deployments); 14 | const currentVersion = deployments.length === 0 ? 'v0' : deployment && deployment[0]; 15 | 16 | if (!currentVersion) { 17 | throw new Error('Failed to retrieve the current version'); 18 | } 19 | 20 | const nextVersion = `v${(parseInt(currentVersion.replace(/^v/, '')) + 1)}`; 21 | const baseBranch = 'deploy/codepush'; 22 | const newBranch = `release/codepush/${nextVersion}`; 23 | const GitHub = require('github-api'); 24 | const github = new GitHub({ token: process.env.GITHUB_ACCESS_TOKEN }); 25 | const repo = github.getRepo('quipper', 'ReactNativeCodePushExample'); 26 | 27 | console.info(`Creating '${newBranch}' branch from '${baseBranch}' branch...`); 28 | repo 29 | .createBranch('develop', newBranch) 30 | .then(branch => { 31 | console.info(`Fetching the compared result of '${newBranch}' branch with '${baseBranch}' branch...`); 32 | return repo.compareBranches(baseBranch, newBranch); 33 | }) 34 | .catch(err => { 35 | console.error(`Failed to create a new branch: ${err.message}`); 36 | process.exit(1); 37 | }) 38 | .then(compareResult => { 39 | const pullRequestsList = buildPullRequestList(compareResult); 40 | const pullRequestOptions = { 41 | title: `Release ${nextVersion} to CodePush`, 42 | head: newBranch, 43 | base: baseBranch, 44 | body: pullRequestsList, 45 | }; 46 | console.info('Creating a Release Pull Request...') 47 | return repo.createPullRequest(pullRequestOptions); 48 | }) 49 | .catch(err => { 50 | console.error(`Failed to create a release pull request: ${err.message}`); 51 | process.exit(1); 52 | }) 53 | .then(pullRequest => { 54 | console.log(`Created a release pull request successfully!: ${pullRequest.data.html_url}`); 55 | }); 56 | }); 57 | 58 | const mergeCommitPattern = /^Merge pull request #(\d+) from.+?\n\n(.+?)$/; 59 | 60 | function buildPullRequestList(compareResult) { 61 | return compareResult 62 | .data 63 | .commits 64 | .map(c => c.commit.message) 65 | .filter(m => m.match(mergeCommitPattern)) 66 | .map(m => m.match(mergeCommitPattern)) 67 | .map(m => `* #${m[1]} ${m[2]}`) 68 | .join('\n'); 69 | } 70 | -------------------------------------------------------------------------------- /scripts/deploy_codepush: -------------------------------------------------------------------------------- 1 | #!/bin/bash -ex 2 | 3 | if [ $# -ne 1 ]; then 4 | echo 'Error: Missing argument' 1>&2 5 | echo "Usage: ${0} DEPLOYMENT_NAME" 1>&2 6 | exit 1 7 | fi 8 | 9 | if [ ! -f "TARGET_BINARY_VERSION" ]; then 10 | echo 'The file TARGET_BINARY_VERSION is not found' 1>&2 11 | echo 'The file is used for specifying `--target-binary-version` of `appcenter codepush release-react` command' 12 | exit 1 13 | fi 14 | 15 | appcenter codepush release-react \ 16 | -a Quipper/ReactNativeCodePushExample \ 17 | --deployment-name "${1}" \ 18 | --target-binary-version "`cat TARGET_BINARY_VERSION | egrep -v '^#'`" 19 | 20 | exit $? 21 | --------------------------------------------------------------------------------