├── example ├── .watchmanconfig ├── .gitattributes ├── app.json ├── babel.config.js ├── android │ ├── .settings │ │ └── org.eclipse.buildship.core.prefs │ ├── app │ │ ├── src │ │ │ ├── main │ │ │ │ ├── res │ │ │ │ │ ├── values │ │ │ │ │ │ ├── strings.xml │ │ │ │ │ │ └── styles.xml │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ └── mipmap-xxxhdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── java │ │ │ │ │ └── com │ │ │ │ │ │ └── testconfig │ │ │ │ │ │ ├── MainActivity.java │ │ │ │ │ │ └── MainApplication.java │ │ │ │ └── AndroidManifest.xml │ │ │ └── debug │ │ │ │ └── AndroidManifest.xml │ │ ├── build_defs.bzl │ │ ├── proguard-rules.pro │ │ ├── BUCK │ │ └── build.gradle │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── keystores │ │ ├── debug.keystore.properties │ │ └── BUCK │ ├── settings.gradle │ ├── .project │ ├── gradle.properties │ ├── build.gradle │ ├── gradlew.bat │ └── gradlew ├── ios │ ├── testConfig │ │ ├── Images.xcassets │ │ │ ├── Contents.json │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── AppDelegate.h │ │ ├── main.m │ │ ├── AppDelegate.m │ │ ├── Info.plist │ │ └── Base.lproj │ │ │ └── LaunchScreen.xib │ ├── testConfigTests │ │ ├── Info.plist │ │ └── testConfigTests.m │ ├── testConfig-tvOSTests │ │ └── Info.plist │ ├── testConfig-tvOS │ │ └── Info.plist │ └── testConfig.xcodeproj │ │ ├── xcshareddata │ │ └── xcschemes │ │ │ ├── testConfig.xcscheme │ │ │ └── testConfig-tvOS.xcscheme │ │ └── project.pbxproj ├── .buckconfig ├── index.js ├── __tests__ │ └── App-test.js ├── metro.config.js ├── package.json ├── .gitignore ├── App.js └── .flowconfig ├── .gitattributes ├── _config.yml ├── .npmignore ├── android ├── .settings │ └── org.eclipse.buildship.core.prefs ├── src │ └── main │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── csath │ │ ├── RNConfigReaderPackage.java │ │ └── RNConfigReaderModule.java ├── .project └── build.gradle ├── yarn.lock ├── ios ├── RNConfigReader.h ├── RNConfigReader.xcworkspace │ └── contents.xcworkspacedata ├── RNConfigReader.m └── RNConfigReader.xcodeproj │ └── project.pbxproj ├── windows ├── .npmignore ├── RNConfigReader │ ├── project.json │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── RNConfigReader.rd.xml │ ├── RNConfigReaderModule.cs │ ├── RNConfigReaderPackage.cs │ └── RNConfigReader.csproj ├── .gitignore └── RNConfigReader.sln ├── index.js ├── .gitignore ├── RNConfigReader.podspec ├── package.json ├── LICENSE └── README.md /example/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-cayman -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | example 3 | -------------------------------------------------------------------------------- /example/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /example/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "testConfig", 3 | "displayName": "testConfig" 4 | } -------------------------------------------------------------------------------- /android/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | connection.project.dir= 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /example/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | -------------------------------------------------------------------------------- /example/android/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | connection.project.dir= 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | testConfig 3 | 4 | -------------------------------------------------------------------------------- /ios/RNConfigReader.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface RNConfigReader : NSObject 4 | 5 | @end 6 | -------------------------------------------------------------------------------- /example/ios/testConfig/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /example/.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /windows/.npmignore: -------------------------------------------------------------------------------- 1 | 2 | # Make sure we don't publish build artifacts to NPM 3 | ARM/ 4 | Debug/ 5 | x64/ 6 | x86/ 7 | bin/ 8 | obj/ 9 | .vs/ 10 | -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csath/react-native-config-reader/HEAD/example/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /example/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 | -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csath/react-native-config-reader/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csath/react-native-config-reader/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csath/react-native-config-reader/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csath/react-native-config-reader/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csath/react-native-config-reader/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csath/react-native-config-reader/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csath/react-native-config-reader/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csath/react-native-config-reader/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csath/react-native-config-reader/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csath/react-native-config-reader/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import { NativeModules, Platform } from 'react-native'; 2 | 3 | const { RNConfigReader } = NativeModules; 4 | 5 | export default Platform.OS === 'ios' ? RNConfigReader.BuildConfigs : RNConfigReader; -------------------------------------------------------------------------------- /example/android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /example/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import {AppRegistry} from 'react-native'; 6 | import App from './App'; 7 | import {name as appName} from './app.json'; 8 | 9 | AppRegistry.registerComponent(appName, () => App); 10 | -------------------------------------------------------------------------------- /ios/RNConfigReader.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | 3 | 5 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /example/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'testConfig' 2 | include ':react-native-config-reader' 3 | project(':react-native-config-reader').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-config-reader/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /example/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-4.10.2-all.zip 6 | -------------------------------------------------------------------------------- /example/__tests__/App-test.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import 'react-native'; 6 | import React from 'react'; 7 | import App from '../App'; 8 | 9 | // Note: test renderer must be required after react-native. 10 | import renderer from 'react-test-renderer'; 11 | 12 | it('renders correctly', () => { 13 | renderer.create(); 14 | }); 15 | -------------------------------------------------------------------------------- /windows/RNConfigReader/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "Microsoft.NETCore.UniversalWindowsPlatform": "5.2.2" 4 | }, 5 | "frameworks": { 6 | "uap10.0": {} 7 | }, 8 | "runtimes": { 9 | "win10-arm": {}, 10 | "win10-arm-aot": {}, 11 | "win10-x86": {}, 12 | "win10-x86-aot": {}, 13 | "win10-x64": {}, 14 | "win10-x64-aot": {} 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /example/metro.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Metro configuration for React Native 3 | * https://github.com/facebook/react-native 4 | * 5 | * @format 6 | */ 7 | 8 | module.exports = { 9 | transformer: { 10 | getTransformOptions: async () => ({ 11 | transform: { 12 | experimentalImportSupport: false, 13 | inlineRequires: false, 14 | }, 15 | }), 16 | }, 17 | }; 18 | -------------------------------------------------------------------------------- /example/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/RNConfigReader.m: -------------------------------------------------------------------------------- 1 | 2 | #import "RNConfigReader.h" 3 | 4 | @implementation RNConfigReader 5 | 6 | - (dispatch_queue_t)methodQueue 7 | { 8 | return dispatch_get_main_queue(); 9 | } 10 | RCT_EXPORT_MODULE() 11 | 12 | - (NSDictionary *)constantsToExport 13 | { 14 | return @{ @"BuildConfigs": [[NSBundle mainBundle] infoDictionary] }; 15 | } 16 | 17 | + (BOOL)requiresMainQueueSetup 18 | { 19 | return YES; 20 | } 21 | 22 | @end -------------------------------------------------------------------------------- /example/ios/testConfig/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (nonatomic, strong) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /example/ios/testConfig/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/testconfig/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.testconfig; 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 "testConfig"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | android 4 | Project android created by Buildship. 5 | 6 | 7 | 8 | 9 | org.eclipse.buildship.core.gradleprojectbuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.buildship.core.gradleprojectnature 16 | 17 | 18 | -------------------------------------------------------------------------------- /example/android/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | android 4 | Project android created by Buildship. 5 | 6 | 7 | 8 | 9 | org.eclipse.buildship.core.gradleprojectbuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.buildship.core.gradleprojectnature 16 | 17 | 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # OSX 3 | # 4 | .DS_Store 5 | 6 | # node.js 7 | # 8 | node_modules/ 9 | npm-debug.log 10 | yarn-error.log 11 | 12 | 13 | # Xcode 14 | # 15 | build/ 16 | *.pbxuser 17 | !default.pbxuser 18 | *.mode1v3 19 | !default.mode1v3 20 | *.mode2v3 21 | !default.mode2v3 22 | *.perspectivev3 23 | !default.perspectivev3 24 | xcuserdata 25 | *.xccheckout 26 | *.moved-aside 27 | DerivedData 28 | *.hmap 29 | *.ipa 30 | *.xcuserstate 31 | project.xcworkspace 32 | 33 | 34 | # Android/IntelliJ 35 | # 36 | build/ 37 | .idea 38 | .gradle 39 | local.properties 40 | *.iml 41 | 42 | # BUCK 43 | buck-out/ 44 | \.buckd/ 45 | *.keystore 46 | -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "testConfig", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "dependencies": { 10 | "react": "16.8.3", 11 | "react-native": "0.59.3", 12 | "react-native-config-reader": "^3.0.0" 13 | }, 14 | "devDependencies": { 15 | "@babel/core": "^7.4.3", 16 | "@babel/runtime": "^7.4.3", 17 | "babel-jest": "^24.7.1", 18 | "jest": "^24.7.1", 19 | "metro-react-native-babel-preset": "^0.53.1", 20 | "react-test-renderer": "16.8.3" 21 | }, 22 | "jest": { 23 | "preset": "react-native" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /example/android/app/build_defs.bzl: -------------------------------------------------------------------------------- 1 | """Helper definitions to glob .aar and .jar targets""" 2 | 3 | def create_aar_targets(aarfiles): 4 | for aarfile in aarfiles: 5 | name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")] 6 | lib_deps.append(":" + name) 7 | android_prebuilt_aar( 8 | name = name, 9 | aar = aarfile, 10 | ) 11 | 12 | def create_jar_targets(jarfiles): 13 | for jarfile in jarfiles: 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 | -------------------------------------------------------------------------------- /RNConfigReader.podspec: -------------------------------------------------------------------------------- 1 | 2 | Pod::Spec.new do |s| 3 | s.name = "RNConfigReader" 4 | s.version = "1.0.0" 5 | s.summary = "RNConfigReader" 6 | s.description = <<-DESC 7 | RNConfigReader 8 | DESC 9 | s.homepage = "https://github.com/csath/react-native-config-reader" 10 | s.license = "MIT" 11 | # s.license = { :type => "MIT", :file => "FILE_LICENSE" } 12 | s.author = { "author" => "author@domain.cn" } 13 | s.platforms = { :ios => "7.0", :tvos => "9.2" } 14 | s.source = { :git => "https://github.com/author/RNConfigReader.git", :tag => "master" } 15 | s.source_files = 'ios/**/*' 16 | s.requires_arc = true 17 | 18 | s.dependency "React" 19 | 20 | end 21 | 22 | 23 | -------------------------------------------------------------------------------- /example/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 | -------------------------------------------------------------------------------- /example/ios/testConfig/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 | } -------------------------------------------------------------------------------- /example/ios/testConfigTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 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 | -------------------------------------------------------------------------------- /example/ios/testConfig-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 | -------------------------------------------------------------------------------- /example/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 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | 2 | buildscript { 3 | repositories { 4 | jcenter() 5 | } 6 | 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:1.3.1' 9 | } 10 | } 11 | 12 | apply plugin: 'com.android.library' 13 | 14 | def safeExtGet(prop, fallback) { 15 | rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback 16 | } 17 | 18 | android { 19 | compileSdkVersion safeExtGet('compileSdkVersion', 23) 20 | buildToolsVersion safeExtGet("buildToolsVersion", "23.0.1") 21 | 22 | defaultConfig { 23 | minSdkVersion safeExtGet('minSdkVersion', 16) 24 | targetSdkVersion safeExtGet('targetSdkVersion', 22) 25 | versionCode 1 26 | versionName "1.0" 27 | } 28 | lintOptions { 29 | abortOnError false 30 | } 31 | } 32 | 33 | repositories { 34 | mavenCentral() 35 | } 36 | 37 | dependencies { 38 | implementation 'com.facebook.react:react-native:+' 39 | } 40 | 41 | -------------------------------------------------------------------------------- /example/android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext { 5 | buildToolsVersion = "28.0.3" 6 | minSdkVersion = 16 7 | compileSdkVersion = 28 8 | targetSdkVersion = 28 9 | supportLibVersion = "28.0.0" 10 | } 11 | repositories { 12 | google() 13 | jcenter() 14 | } 15 | dependencies { 16 | classpath 'com.android.tools.build:gradle:3.3.1' 17 | 18 | // NOTE: Do not place your application dependencies here; they belong 19 | // in the individual module build.gradle files 20 | } 21 | } 22 | 23 | allprojects { 24 | repositories { 25 | mavenLocal() 26 | google() 27 | jcenter() 28 | maven { 29 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 30 | url "$rootDir/../node_modules/react-native/android" 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /android/src/main/java/com/csath/RNConfigReaderPackage.java: -------------------------------------------------------------------------------- 1 | 2 | package com.csath; 3 | 4 | import java.util.Arrays; 5 | import java.util.Collections; 6 | import java.util.List; 7 | 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.react.bridge.NativeModule; 10 | import com.facebook.react.bridge.ReactApplicationContext; 11 | import com.facebook.react.uimanager.ViewManager; 12 | import com.facebook.react.bridge.JavaScriptModule; 13 | 14 | public class RNConfigReaderPackage implements ReactPackage { 15 | @Override 16 | public List createNativeModules(ReactApplicationContext reactContext) { 17 | return Arrays.asList(new RNConfigReaderModule(reactContext)); 18 | } 19 | 20 | // Deprecated from RN 0.47 21 | public List> createJSModules() { 22 | return Collections.emptyList(); 23 | } 24 | 25 | @Override 26 | public List createViewManagers(ReactApplicationContext reactContext) { 27 | return Collections.emptyList(); 28 | } 29 | } -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | 55 | # Bundle artifact 56 | *.jsbundle 57 | -------------------------------------------------------------------------------- /example/App.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | * 5 | * @format 6 | * @flow 7 | */ 8 | 9 | import React, {Component} from 'react'; 10 | import {Platform, StyleSheet, Text, View} from 'react-native'; 11 | import rnconfig from 'react-native-config-reader'; 12 | 13 | 14 | type Props = {}; 15 | export default class App extends Component { 16 | render() { 17 | return ( 18 | 19 | { alert(JSON.stringify(rnconfig))}}>Click here to view configs 20 | 21 | ); 22 | } 23 | } 24 | 25 | const styles = StyleSheet.create({ 26 | container: { 27 | flex: 1, 28 | justifyContent: 'center', 29 | alignItems: 'center', 30 | backgroundColor: '#F5FCFF', 31 | }, 32 | welcome: { 33 | fontSize: 20, 34 | textAlign: 'center', 35 | margin: 10, 36 | }, 37 | instructions: { 38 | textAlign: 'center', 39 | color: '#333333', 40 | marginBottom: 5, 41 | }, 42 | }); 43 | -------------------------------------------------------------------------------- /windows/.gitignore: -------------------------------------------------------------------------------- 1 | *AppPackages* 2 | *BundleArtifacts* 3 | *ReactAssets* 4 | 5 | #OS junk files 6 | [Tt]humbs.db 7 | *.DS_Store 8 | 9 | #Visual Studio files 10 | *.[Oo]bj 11 | *.user 12 | *.aps 13 | *.pch 14 | *.vspscc 15 | *.vssscc 16 | *_i.c 17 | *_p.c 18 | *.ncb 19 | *.suo 20 | *.tlb 21 | *.tlh 22 | *.bak 23 | *.[Cc]ache 24 | *.ilk 25 | *.log 26 | *.lib 27 | *.sbr 28 | *.sdf 29 | *.opensdf 30 | *.opendb 31 | *.unsuccessfulbuild 32 | ipch/ 33 | [Oo]bj/ 34 | [Bb]in 35 | [Dd]ebug*/ 36 | [Rr]elease*/ 37 | Ankh.NoLoad 38 | 39 | #MonoDevelop 40 | *.pidb 41 | *.userprefs 42 | 43 | #Tooling 44 | _ReSharper*/ 45 | *.resharper 46 | [Tt]est[Rr]esult* 47 | *.sass-cache 48 | 49 | #Project files 50 | [Bb]uild/ 51 | 52 | #Subversion files 53 | .svn 54 | 55 | # Office Temp Files 56 | ~$* 57 | 58 | # vim Temp Files 59 | *~ 60 | 61 | #NuGet 62 | packages/ 63 | *.nupkg 64 | 65 | #ncrunch 66 | *ncrunch* 67 | *crunch*.local.xml 68 | 69 | # visual studio database projects 70 | *.dbmdl 71 | 72 | #Test files 73 | *.testsettings 74 | 75 | #Other files 76 | *.DotSettings 77 | .vs/ 78 | *project.lock.json 79 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-native-config-reader", 3 | "version": "5.0.0", 4 | "description": "Simply access Android build configs and iOS info.plist values in JS", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [ 10 | "react-native", 11 | "android", 12 | "ios", 13 | "config-reader" 14 | ], 15 | "author": { 16 | "name": "Chanaka Athurugiriya", 17 | "email": "chanakaathurugiriya@gmail.com" 18 | }, 19 | "contributors": [ 20 | { 21 | "name": "John Lianoglou", 22 | "email": "prometheas+react-native-config-reader@gmail.com" 23 | } 24 | ], 25 | "license": "MIT", 26 | "peerDependencies": { 27 | "react-native": ">= 0.60" 28 | }, 29 | "repository": { 30 | "type": "git", 31 | "url": "git+https://github.com/csath/react-native-config-reader.git" 32 | }, 33 | "bugs": { 34 | "url": "https://github.com/csath/react-native-config-reader/issues" 35 | }, 36 | "homepage": "https://github.com/csath/react-native-config-reader#readme" 37 | } 38 | -------------------------------------------------------------------------------- /example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 13 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Chanaka Athurugiriya 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /windows/RNConfigReader/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("RNConfigReader")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("RNConfigReader")] 13 | [assembly: AssemblyCopyright("Copyright © 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] 30 | -------------------------------------------------------------------------------- /windows/RNConfigReader/RNConfigReaderModule.cs: -------------------------------------------------------------------------------- 1 | using ReactNative.Bridge; 2 | using System; 3 | using System.Collections.Generic; 4 | using Windows.ApplicationModel.Core; 5 | using Windows.UI.Core; 6 | 7 | namespace Config.Reader.RNConfigReader 8 | { 9 | /// 10 | /// A module that allows JS to share data. 11 | /// 12 | class RNConfigReaderModule : NativeModuleBase 13 | { 14 | /// 15 | /// Instantiates the . 16 | /// 17 | internal RNConfigReaderModule() 18 | { 19 | 20 | } 21 | 22 | /// 23 | /// The name of the native module. 24 | /// 25 | public override string Name 26 | { 27 | get 28 | { 29 | return "RNConfigReader"; 30 | } 31 | } 32 | 33 | [Obsolete] 34 | public override IReadOnlyDictionary Constants 35 | { 36 | get 37 | { 38 | var constants = new Dictionary 39 | { 40 | { "BuildConfigs", Package.Current.localSettings } 41 | }; 42 | 43 | return constants; 44 | } 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/testconfig/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.testconfig; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.csath.RNConfigReaderPackage; 7 | import com.facebook.react.ReactNativeHost; 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.react.shell.MainReactPackage; 10 | import com.facebook.soloader.SoLoader; 11 | 12 | import java.util.Arrays; 13 | import java.util.List; 14 | 15 | public class MainApplication extends Application implements ReactApplication { 16 | 17 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 18 | @Override 19 | public boolean getUseDeveloperSupport() { 20 | return BuildConfig.DEBUG; 21 | } 22 | 23 | @Override 24 | protected List getPackages() { 25 | return Arrays.asList( 26 | new MainReactPackage(), 27 | new RNConfigReaderPackage(BuildConfig.class) 28 | ); 29 | } 30 | 31 | @Override 32 | protected String getJSMainModuleName() { 33 | return "index"; 34 | } 35 | }; 36 | 37 | @Override 38 | public ReactNativeHost getReactNativeHost() { 39 | return mReactNativeHost; 40 | } 41 | 42 | @Override 43 | public void onCreate() { 44 | super.onCreate(); 45 | SoLoader.init(this, /* native exopackage */ false); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /example/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 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets") 12 | 13 | lib_deps = [] 14 | 15 | create_aar_targets(glob(["libs/*.aar"])) 16 | 17 | create_jar_targets(glob(["libs/*.jar"])) 18 | 19 | android_library( 20 | name = "all-libs", 21 | exported_deps = lib_deps, 22 | ) 23 | 24 | android_library( 25 | name = "app-code", 26 | srcs = glob([ 27 | "src/main/java/**/*.java", 28 | ]), 29 | deps = [ 30 | ":all-libs", 31 | ":build_config", 32 | ":res", 33 | ], 34 | ) 35 | 36 | android_build_config( 37 | name = "build_config", 38 | package = "com.testconfig", 39 | ) 40 | 41 | android_resource( 42 | name = "res", 43 | package = "com.testconfig", 44 | res = "src/main/res", 45 | ) 46 | 47 | android_binary( 48 | name = "app", 49 | keystore = "//android/keystores:debug", 50 | manifest = "src/main/AndroidManifest.xml", 51 | package_type = "debug", 52 | deps = [ 53 | ":app-code", 54 | ], 55 | ) 56 | -------------------------------------------------------------------------------- /example/ios/testConfig/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import "AppDelegate.h" 9 | 10 | #import 11 | #import 12 | #import 13 | 14 | @implementation AppDelegate 15 | 16 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 17 | { 18 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; 19 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge 20 | moduleName:@"testConfig" 21 | initialProperties:nil]; 22 | 23 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 24 | 25 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 26 | UIViewController *rootViewController = [UIViewController new]; 27 | rootViewController.view = rootView; 28 | self.window.rootViewController = rootViewController; 29 | [self.window makeKeyAndVisible]; 30 | return YES; 31 | } 32 | 33 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge 34 | { 35 | #if DEBUG 36 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 37 | #else 38 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 39 | #endif 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /windows/RNConfigReader/Properties/RNConfigReader.rd.xml: -------------------------------------------------------------------------------- 1 | 2 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /example/ios/testConfig-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 | -------------------------------------------------------------------------------- /example/ios/testConfig/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | testConfig 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 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 | NSLocationWhenInUseUsageDescription 28 | 29 | UILaunchStoryboardName 30 | LaunchScreen 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UIViewControllerBasedStatusBarAppearance 42 | 43 | NSLocationWhenInUseUsageDescription 44 | 45 | NSAppTransportSecurity 46 | 47 | 48 | NSAllowsArbitraryLoads 49 | 50 | NSExceptionDomains 51 | 52 | localhost 53 | 54 | NSExceptionAllowsInsecureHTTPLoads 55 | 56 | 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /windows/RNConfigReader/RNConfigReaderPackage.cs: -------------------------------------------------------------------------------- 1 | using ReactNative.Bridge; 2 | using ReactNative.Modules.Core; 3 | using ReactNative.UIManager; 4 | using System; 5 | using System.Collections.Generic; 6 | 7 | namespace Config.Reader.RNConfigReader 8 | { 9 | /// 10 | /// Package defining core framework modules (e.g., ). 11 | /// It should be used for modules that require special integration with 12 | /// other framework parts (e.g., with the list of packages to load view 13 | /// managers from). 14 | /// 15 | public class RNConfigReaderPackage : IReactPackage 16 | { 17 | /// 18 | /// Creates the list of native modules to register with the react 19 | /// instance. 20 | /// 21 | /// The react application context. 22 | /// The list of native modules. 23 | public IReadOnlyList CreateNativeModules(ReactContext reactContext) 24 | { 25 | return new List 26 | { 27 | new RNConfigReaderModule(), 28 | }; 29 | } 30 | 31 | /// 32 | /// Creates the list of JavaScript modules to register with the 33 | /// react instance. 34 | /// 35 | /// The list of JavaScript modules. 36 | public IReadOnlyList CreateJavaScriptModulesConfig() 37 | { 38 | return new List(0); 39 | } 40 | 41 | /// 42 | /// Creates the list of view managers that should be registered with 43 | /// the . 44 | /// 45 | /// The react application context. 46 | /// The list of view managers. 47 | public IReadOnlyList CreateViewManagers( 48 | ReactContext reactContext) 49 | { 50 | return new List(0); 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /android/src/main/java/com/csath/RNConfigReaderModule.java: -------------------------------------------------------------------------------- 1 | 2 | package com.csath; 3 | 4 | import android.content.Context; 5 | import android.content.res.Resources; 6 | import android.util.Log; 7 | 8 | import java.lang.ClassNotFoundException; 9 | import java.lang.IllegalAccessException; 10 | import java.lang.reflect.Field; 11 | 12 | import com.facebook.react.bridge.ReactApplicationContext; 13 | import com.facebook.react.bridge.ReactContextBaseJavaModule; 14 | import com.facebook.react.bridge.ReactMethod; 15 | import com.facebook.react.bridge.Callback; 16 | import com.facebook.react.bridge.NativeModule; 17 | import com.facebook.react.bridge.ReactContext; 18 | 19 | import java.util.Map; 20 | import java.util.HashMap; 21 | 22 | public class RNConfigReaderModule extends ReactContextBaseJavaModule { 23 | public RNConfigReaderModule(ReactApplicationContext reactContext) { 24 | super(reactContext); 25 | } 26 | 27 | @Override 28 | public String getName() { 29 | return "RNConfigReader"; 30 | } 31 | 32 | @Override 33 | public Map getConstants() { 34 | final Map constants = new HashMap<>(); 35 | try { 36 | Context context = getReactApplicationContext(); 37 | int resId = context.getResources().getIdentifier("rn_config_reader_custom_package", "string", context.getPackageName()); 38 | String className; 39 | try { 40 | className = context.getString(resId); 41 | } catch (Resources.NotFoundException e) { 42 | className = getReactApplicationContext().getApplicationContext().getPackageName(); 43 | } 44 | Class clazz = Class.forName(className + ".BuildConfig"); 45 | Field[] fields = clazz.getDeclaredFields(); 46 | for(Field f: fields) { 47 | try { 48 | constants.put(f.getName(), f.get(null)); 49 | } 50 | catch (IllegalAccessException e) { 51 | Log.d("ReactNative", "RNConfigReader: Could not access BuildConfig field " + f.getName()); 52 | } 53 | } 54 | } 55 | catch (ClassNotFoundException e) { 56 | Log.d("ReactNative", "RNConfigReader: Could not find BuildConfig class"); 57 | } 58 | return constants; 59 | } 60 | } -------------------------------------------------------------------------------- /example/ios/testConfigTests/testConfigTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | #import 12 | #import 13 | 14 | #define TIMEOUT_SECONDS 600 15 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 16 | 17 | @interface testConfigTests : XCTestCase 18 | 19 | @end 20 | 21 | @implementation testConfigTests 22 | 23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 24 | { 25 | if (test(view)) { 26 | return YES; 27 | } 28 | for (UIView *subview in [view subviews]) { 29 | if ([self findSubviewInView:subview matching:test]) { 30 | return YES; 31 | } 32 | } 33 | return NO; 34 | } 35 | 36 | - (void)testRendersWelcomeScreen 37 | { 38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 40 | BOOL foundElement = NO; 41 | 42 | __block NSString *redboxError = nil; 43 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 44 | if (level >= RCTLogLevelError) { 45 | redboxError = message; 46 | } 47 | }); 48 | 49 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 50 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 51 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 52 | 53 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 54 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 55 | return YES; 56 | } 57 | return NO; 58 | }]; 59 | } 60 | 61 | RCTSetLogFunction(RCTDefaultLogFunction); 62 | 63 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 64 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 65 | } 66 | 67 | 68 | @end 69 | -------------------------------------------------------------------------------- /example/.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | ; Ignore metro 20 | .*/node_modules/metro/.* 21 | 22 | [include] 23 | 24 | [libs] 25 | node_modules/react-native/Libraries/react-native/react-native-interface.js 26 | node_modules/react-native/flow/ 27 | 28 | [options] 29 | emoji=true 30 | 31 | esproposal.optional_chaining=enable 32 | esproposal.nullish_coalescing=enable 33 | 34 | module.system=haste 35 | module.system.haste.use_name_reducers=true 36 | # get basename 37 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1' 38 | # strip .js or .js.flow suffix 39 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1' 40 | # strip .ios suffix 41 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1' 42 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1' 43 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1' 44 | module.system.haste.paths.blacklist=.*/__tests__/.* 45 | module.system.haste.paths.blacklist=.*/__mocks__/.* 46 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.* 47 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.* 48 | 49 | munge_underscores=true 50 | 51 | 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' 52 | 53 | module.file_ext=.js 54 | module.file_ext=.jsx 55 | module.file_ext=.json 56 | module.file_ext=.native.js 57 | 58 | suppress_type=$FlowIssue 59 | suppress_type=$FlowFixMe 60 | suppress_type=$FlowFixMeProps 61 | suppress_type=$FlowFixMeState 62 | 63 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 64 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 65 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 66 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 67 | 68 | [version] 69 | ^0.92.0 70 | -------------------------------------------------------------------------------- /example/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 | set DIRNAME=%~dp0 12 | if "%DIRNAME%" == "" set DIRNAME=. 13 | set APP_BASE_NAME=%~n0 14 | set APP_HOME=%DIRNAME% 15 | 16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 17 | set DEFAULT_JVM_OPTS= 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 Windows variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | 53 | :win9xME_args 54 | @rem Slurp the command line arguments. 55 | set CMD_LINE_ARGS= 56 | set _SKIP=2 57 | 58 | :win9xME_args_slurp 59 | if "x%~1" == "x" goto execute 60 | 61 | set CMD_LINE_ARGS=%* 62 | 63 | :execute 64 | @rem Setup the command line 65 | 66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 67 | 68 | @rem Execute Gradle 69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 70 | 71 | :end 72 | @rem End local scope for the variables with windows NT shell 73 | if "%ERRORLEVEL%"=="0" goto mainEnd 74 | 75 | :fail 76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 77 | rem the _cmd.exe /c_ return code! 78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 79 | exit /b 1 80 | 81 | :mainEnd 82 | if "%OS%"=="Windows_NT" endlocal 83 | 84 | :omega 85 | -------------------------------------------------------------------------------- /example/ios/testConfig/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 | -------------------------------------------------------------------------------- /example/ios/testConfig.xcodeproj/xcshareddata/xcschemes/testConfig.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 | -------------------------------------------------------------------------------- /example/ios/testConfig.xcodeproj/xcshareddata/xcschemes/testConfig-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 | -------------------------------------------------------------------------------- /example/android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Attempt to set APP_HOME 10 | # Resolve links: $0 may be a link 11 | PRG="$0" 12 | # Need this for relative symlinks. 13 | while [ -h "$PRG" ] ; do 14 | ls=`ls -ld "$PRG"` 15 | link=`expr "$ls" : '.*-> \(.*\)$'` 16 | if expr "$link" : '/.*' > /dev/null; then 17 | PRG="$link" 18 | else 19 | PRG=`dirname "$PRG"`"/$link" 20 | fi 21 | done 22 | SAVED="`pwd`" 23 | cd "`dirname \"$PRG\"`/" >/dev/null 24 | APP_HOME="`pwd -P`" 25 | cd "$SAVED" >/dev/null 26 | 27 | APP_NAME="Gradle" 28 | APP_BASE_NAME=`basename "$0"` 29 | 30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 31 | DEFAULT_JVM_OPTS="" 32 | 33 | # Use the maximum available, or set MAX_FD != -1 to use that value. 34 | MAX_FD="maximum" 35 | 36 | warn () { 37 | echo "$*" 38 | } 39 | 40 | die () { 41 | echo 42 | echo "$*" 43 | echo 44 | exit 1 45 | } 46 | 47 | # OS specific support (must be 'true' or 'false'). 48 | cygwin=false 49 | msys=false 50 | darwin=false 51 | nonstop=false 52 | case "`uname`" in 53 | CYGWIN* ) 54 | cygwin=true 55 | ;; 56 | Darwin* ) 57 | darwin=true 58 | ;; 59 | MINGW* ) 60 | msys=true 61 | ;; 62 | NONSTOP* ) 63 | nonstop=true 64 | ;; 65 | esac 66 | 67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 68 | 69 | # Determine the Java command to use to start the JVM. 70 | if [ -n "$JAVA_HOME" ] ; then 71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 72 | # IBM's JDK on AIX uses strange locations for the executables 73 | JAVACMD="$JAVA_HOME/jre/sh/java" 74 | else 75 | JAVACMD="$JAVA_HOME/bin/java" 76 | fi 77 | if [ ! -x "$JAVACMD" ] ; then 78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 79 | 80 | Please set the JAVA_HOME variable in your environment to match the 81 | location of your Java installation." 82 | fi 83 | else 84 | JAVACMD="java" 85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 86 | 87 | Please set the JAVA_HOME variable in your environment to match the 88 | location of your Java installation." 89 | fi 90 | 91 | # Increase the maximum file descriptors if we can. 92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 93 | MAX_FD_LIMIT=`ulimit -H -n` 94 | if [ $? -eq 0 ] ; then 95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 96 | MAX_FD="$MAX_FD_LIMIT" 97 | fi 98 | ulimit -n $MAX_FD 99 | if [ $? -ne 0 ] ; then 100 | warn "Could not set maximum file descriptor limit: $MAX_FD" 101 | fi 102 | else 103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 104 | fi 105 | fi 106 | 107 | # For Darwin, add options to specify how the application appears in the dock 108 | if $darwin; then 109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 110 | fi 111 | 112 | # For Cygwin, switch paths to Windows format before running java 113 | if $cygwin ; then 114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 116 | JAVACMD=`cygpath --unix "$JAVACMD"` 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 | # Escape application args 158 | save () { 159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 160 | echo " " 161 | } 162 | APP_ARGS=$(save "$@") 163 | 164 | # Collect all arguments for the java command, following the shell quoting and substitution rules 165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 166 | 167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong 168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then 169 | cd "$(dirname "$0")" 170 | fi 171 | 172 | exec "$JAVACMD" "$@" 173 | -------------------------------------------------------------------------------- /windows/RNConfigReader.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 12.00 2 | # Visual Studio 14 3 | VisualStudioVersion = 14.0.25123.0 4 | MinimumVisualStudioVersion = 10.0.40219.1 5 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RNConfigReader", "RNConfigReader\RNConfigReader.csproj", "{EE21A520-55FD-11E9-A774-C17A8327D24A}" 6 | EndProject 7 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReactNative", "..\node_modules\react-native-windows\ReactWindows\ReactNative\ReactNative.csproj", "{C7673AD5-E3AA-468C-A5FD-FA38154E205C}" 8 | EndProject 9 | Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ReactNative.Shared", "..\node_modules\react-native-windows\ReactWindows\ReactNative.Shared\ReactNative.Shared.shproj", "{EEA8B852-4D07-48E1-8294-A21AB5909FE5}" 10 | EndProject 11 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ChakraBridge", "..\node_modules\react-native-windows\ReactWindows\ChakraBridge\ChakraBridge.vcxproj", "{4B72C796-16D5-4E3A-81C0-3E36F531E578}" 12 | EndProject 13 | Global 14 | GlobalSection(SharedMSBuildProjectFiles) = preSolution 15 | ..\node_modules\react-native-windows\ReactWindows\ReactNative.Shared\ReactNative.Shared.projitems*{c7673ad5-e3aa-468c-a5fd-fa38154e205c}*SharedItemsImports = 4 16 | ..\node_modules\react-native-windows\ReactWindows\ReactNative.Shared\ReactNative.Shared.projitems*{eea8b852-4d07-48e1-8294-a21ab5909fe5}*SharedItemsImports = 13 17 | EndGlobalSection 18 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 19 | Debug|ARM = Debug|ARM 20 | Debug|x64 = Debug|x64 21 | Debug|x86 = Debug|x86 22 | Development|ARM = Development|ARM 23 | Development|x64 = Development|x64 24 | Development|x86 = Development|x86 25 | Release|ARM = Release|ARM 26 | Release|x64 = Release|x64 27 | Release|x86 = Release|x86 28 | EndGlobalSection 29 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 30 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Debug|ARM.ActiveCfg = Debug|ARM 31 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Debug|ARM.Build.0 = Debug|ARM 32 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Debug|x64.ActiveCfg = Debug|x64 33 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Debug|x64.Build.0 = Debug|x64 34 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Debug|x86.ActiveCfg = Debug|x86 35 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Debug|x86.Build.0 = Debug|x86 36 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Development|ARM.ActiveCfg = Development|ARM 37 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Development|ARM.Build.0 = Development|ARM 38 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Development|x64.ActiveCfg = Development|x64 39 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Development|x64.Build.0 = Development|x64 40 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Development|x86.ActiveCfg = Development|x86 41 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Development|x86.Build.0 = Development|x86 42 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Release|ARM.ActiveCfg = Release|ARM 43 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Release|ARM.Build.0 = Release|ARM 44 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Release|x64.ActiveCfg = Release|x64 45 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Release|x64.Build.0 = Release|x64 46 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Release|x86.ActiveCfg = Release|x86 47 | {EE21A520-55FD-11E9-A774-C17A8327D24A}.Release|x86.Build.0 = Release|x86 48 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|ARM.ActiveCfg = Debug|ARM 49 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|ARM.Build.0 = Debug|ARM 50 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|x64.ActiveCfg = Debug|x64 51 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|x64.Build.0 = Debug|x64 52 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|x86.ActiveCfg = Debug|x86 53 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|x86.Build.0 = Debug|x86 54 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Development|ARM.ActiveCfg = Debug|ARM 55 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Development|ARM.Build.0 = Debug|ARM 56 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Development|x64.ActiveCfg = Debug|x64 57 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Development|x64.Build.0 = Debug|x64 58 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Development|x86.ActiveCfg = Debug|x86 59 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Development|x86.Build.0 = Debug|x86 60 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|ARM.ActiveCfg = Release|ARM 61 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|ARM.Build.0 = Release|ARM 62 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|x64.ActiveCfg = Release|x64 63 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|x64.Build.0 = Release|x64 64 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|x86.ActiveCfg = Release|x86 65 | {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|x86.Build.0 = Release|x86 66 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Debug|ARM.ActiveCfg = Debug|ARM 67 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Debug|ARM.Build.0 = Debug|ARM 68 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Debug|x64.ActiveCfg = Debug|x64 69 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Debug|x64.Build.0 = Debug|x64 70 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Debug|x86.ActiveCfg = Debug|Win32 71 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Debug|x86.Build.0 = Debug|Win32 72 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Development|ARM.ActiveCfg = Debug|ARM 73 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Development|ARM.Build.0 = Debug|ARM 74 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Development|x64.ActiveCfg = Debug|x64 75 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Development|x64.Build.0 = Debug|x64 76 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Development|x86.ActiveCfg = Debug|Win32 77 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Development|x86.Build.0 = Debug|Win32 78 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Release|ARM.ActiveCfg = Release|ARM 79 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Release|ARM.Build.0 = Release|ARM 80 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Release|x64.ActiveCfg = Release|x64 81 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Release|x64.Build.0 = Release|x64 82 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Release|x86.ActiveCfg = Release|Win32 83 | {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Release|x86.Build.0 = Release|Win32 84 | EndGlobalSection 85 | GlobalSection(SolutionProperties) = preSolution 86 | HideSolutionNode = FALSE 87 | EndGlobalSection 88 | EndGlobal 89 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 🛠 react-native-config-reader [![npm](https://img.shields.io/npm/v/react-native-config-reader.svg)](https://npmjs.com/package/react-native-config-reader) [![npm](https://img.shields.io/npm/dm/react-native-config-reader.svg)](https://npmjs.com/package/react-native-config-reader) 2 | 3 | A native library to access all the native code's build configurations from JS. 4 | 5 | For **react-native@0.60+** versions use **react-native-config-reader@4.0+** 6 | (autolinking support enabled now). 7 | 8 | 🚨 Seeking help maintaining `react-native-windows` compatibility. See [below](#windows-beta). 9 | 10 | ## Installation 11 | 12 | For **rn 0.60+ Auto Linking** will do things for you. 13 | 14 | If not, follow these: 15 | 16 | 1. `$ npm install react-native-config-reader --save` or `$ yarn add react-native-config-reader` 17 | 18 | 2. `$ react-native link react-native-config-reader` 19 | 20 | 3. Go to **android/app/src/main/packageName/MainApplication.java** and find line 21 | 22 | `new RNConfigReaderPackage()` 23 | 24 | See [manual installation](#manual-installation) below if you have issues with `react-native link`. 25 | 26 | ## Usage 27 | 28 | ```javascript 29 | import RNConfigReader from 'react-native-config-reader'; 30 | 31 | // access any of the defined config variables in Android build gradle or iOS info.plist 32 | const configValue = RNConfigReader.ANY_DEFINED_CONFIG_FIELD; 33 | ``` 34 | 35 | ### More examples 36 | 37 | Create new build config field inside android `build.gradle` file **(android/app/build.gradle)** 38 | 39 | ```gradle 40 | android { 41 | 42 | defaultConfig { 43 | applicationId "com.react-native.react-native-config-reader" 44 | versionCode 1 45 | versionName "1.0" 46 | 47 | buildConfigField "String", "TEST_CONFIG_FIELD", "Hello I'm your test config value" 48 | } 49 | } 50 | ``` 51 | 52 | Create new field inside ios `info.plist` file 53 | 54 | ```xml 55 | 56 | 57 | 58 | 59 | 60 | CFBundleDisplayName 61 | com.react-native.react-native-config-reader 62 | 63 | TEST_CONFIG_FIELD 64 | "Hello I'm your test config value" 65 | 66 | 67 | ``` 68 | 69 | Now you can access them inside the JS code: 70 | 71 | ```javascript 72 | import { Platform } from 'react-native'; 73 | import RNConfigReader from 'react-native-config-reader'; 74 | 75 | if (Platform.OS === 'ios') { 76 | const iosBundleDisplayName = RNConfigReader.CFBundleDisplayName; 77 | const testConfigValue = RNConfigReader.TEST_CONFIG_FIELD; 78 | } 79 | 80 | if (Platform.OS === 'android') { 81 | const androidApplicationID = RNConfigReader.applicationId; 82 | const testConfigValue = RNConfigReader.TEST_CONFIG_FIELD; 83 | } 84 | ``` 85 | 86 | ## Manual installation 87 | 88 | ### iOS 89 | 90 | 1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]` 91 | 2. Go to `node_modules` ➜ `react-native-config-reader` and add `RNConfigReader.xcodeproj` 92 | 3. In XCode, in the project navigator, select your project. Add `libRNConfigReader.a` to your project's `Build Phases` ➜ `Link Binary With Libraries` 93 | 4. Run your project (`Cmd+R`) 94 | 95 | ### Android 96 | 97 | 1. Open up `android/app/src/main/java/[...]/MainApplication.java` 98 | 99 | - Add `import com.reactlibrary.RNConfigReaderPackage;` to the imports at the top of the file 100 | - Add `new RNConfigReaderPackage()` to the list returned by the `getPackages()` method 101 | 102 | 1. Append the following lines to `android/settings.gradle`: 103 | 104 | ```gradle 105 | include ':react-native-config-reader' 106 | project(':react-native-config-reader').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-config-reader/android') 107 | ``` 108 | 109 | 1. Insert the following lines inside the dependencies block in `android/app/build.gradle`: 110 | 111 | ```gradle 112 | compile project(':react-native-config-reader') 113 | ``` 114 | 115 | #### Android advanced configurations with Multiple environments 116 | 117 | If your app uses an `applicationIdSuffix` or a different `applicationId` depending on the build variants, you must append the following line inside the `buildTypes` block in your `android/app/build.gradle` file and specify your new package name. 118 | 119 | ```gradle 120 | resValue "string", "rn_config_reader_custom_package", "com.yourNewPackage" 121 | ``` 122 | 123 | Example 124 | 125 | ```gradle 126 | buildTypes { 127 | ... 128 | debug { 129 | ... 130 | applicationIdSuffix ".dev" 131 | resValue "string", "rn_config_reader_custom_package", "com.yourNewPackage" 132 | } 133 | } 134 | ``` 135 | 136 | ### Windows (Beta) 137 | 138 | 🚨 When this project was first created in early 2019, it offered support for a beta version of [React Native for Windows](https://github.com/microsoft/react-native-windows). Since this time, many updates have been published to both `react-native` and `react-native-windows`, with no active updates in this project to ensure compatibility. 139 | 140 | 🙏 If you're interested in using this library with `react-native-windows`, and can offer assistance maintaining it, please reach out to the maintainers by filing an issue. 141 | 142 | 1. In Visual Studio add the `RNConfigReader.sln` in `node_modules/react-native-config-reader/windows/RNConfigReader.sln` folder to their solution, reference from their app. 143 | 144 | 1. Open up your `MainPage.cs` app 145 | 146 | - Add `using Config.Reader.RNConfigReader;` to the usings at the top of the file 147 | - Add `new RNConfigReaderPackage()` to the `List` returned by the `Packages` method 148 | 149 | ## Troubleshooting 150 | 151 | ### Problems with Proguard 152 | 153 | When Proguard is enabled (which it is by default for Android release builds), it can rename the BuildConfig Java class in the minification process and prevent `react-native-config-reader` from referencing it. To avoid this, add an exception to android/app/proguard-rules.pro: 154 | 155 | `-keep class com.yourNewPackage.BuildConfig { *; }` 156 | 157 | com.yourNewPackage should match the package value in your app/src/main/AndroidManifest.xml file. 158 | 159 | If using Dexguard, the shrinking phase will remove resources it thinks are unused. It is necessary to add an exception to preserve the build config package name. 160 | 161 | `-keepresources string/rn_config_reader_custom_package` 162 | 163 | ## License 164 | 165 | MIT License 166 | 167 | Copyright (c) 2019 Chanaka Athurugiriya 168 | -------------------------------------------------------------------------------- /example/android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 37 | * // for example: to disable dev mode in the staging build type (if configured) 38 | * devDisabledInStaging: true, 39 | * // The configuration property can be in the following formats 40 | * // 'devDisabledIn${productFlavor}${buildType}' 41 | * // 'devDisabledIn${buildType}' 42 | * 43 | * // the root of your project, i.e. where "package.json" lives 44 | * root: "../../", 45 | * 46 | * // where to put the JS bundle asset in debug mode 47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 48 | * 49 | * // where to put the JS bundle asset in release mode 50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 51 | * 52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 53 | * // require('./image.png')), in debug mode 54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 55 | * 56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 57 | * // require('./image.png')), in release mode 58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 59 | * 60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 64 | * // for example, you might want to remove it from here. 65 | * inputExcludes: ["android/**", "ios/**"], 66 | * 67 | * // override which node gets called and with what additional arguments 68 | * nodeExecutableAndArgs: ["node"], 69 | * 70 | * // supply additional arguments to the packager 71 | * extraPackagerArgs: [] 72 | * ] 73 | */ 74 | 75 | project.ext.react = [ 76 | entryFile: "index.js" 77 | ] 78 | 79 | apply from: "../../node_modules/react-native/react.gradle" 80 | 81 | /** 82 | * Set this to true to create two separate APKs instead of one: 83 | * - An APK that only works on ARM devices 84 | * - An APK that only works on x86 devices 85 | * The advantage is the size of the APK is reduced by about 4MB. 86 | * Upload all the APKs to the Play Store and people will download 87 | * the correct one based on the CPU architecture of their device. 88 | */ 89 | def enableSeparateBuildPerCPUArchitecture = false 90 | 91 | /** 92 | * Run Proguard to shrink the Java bytecode in release builds. 93 | */ 94 | def enableProguardInReleaseBuilds = false 95 | 96 | android { 97 | compileSdkVersion rootProject.ext.compileSdkVersion 98 | 99 | compileOptions { 100 | sourceCompatibility JavaVersion.VERSION_1_8 101 | targetCompatibility JavaVersion.VERSION_1_8 102 | } 103 | 104 | defaultConfig { 105 | applicationId "com.testconfig" 106 | minSdkVersion rootProject.ext.minSdkVersion 107 | targetSdkVersion rootProject.ext.targetSdkVersion 108 | versionCode 1 109 | versionName "1.0" 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", "arm64-v8a", "x86_64" 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, "arm64-v8a": 3, "x86_64": 4] 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 | implementation project(':react-native-config-reader') 142 | implementation fileTree(dir: "libs", include: ["*.jar"]) 143 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" 144 | implementation "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 | -------------------------------------------------------------------------------- /windows/RNConfigReader/RNConfigReader.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | x86 7 | {EE21A520-55FD-11E9-A774-C17A8327D24A} 8 | Library 9 | Properties 10 | Config.Reader 11 | Config.Reader 12 | en-US 13 | UAP 14 | 10.0.10586.0 15 | 10.0.10240.0 16 | 14 17 | 512 18 | {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 19 | ..\..\node_modules 20 | 21 | 22 | ..\.. 23 | 24 | 25 | x86 26 | true 27 | bin\x86\Debug\ 28 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 29 | ;2008 30 | full 31 | x86 32 | false 33 | prompt 34 | 35 | 36 | x86 37 | bin\x86\Release\ 38 | TRACE;NETFX_CORE;WINDOWS_UWP 39 | true 40 | ;2008 41 | pdbonly 42 | x86 43 | false 44 | prompt 45 | 46 | 47 | ARM 48 | true 49 | bin\ARM\Debug\ 50 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 51 | ;2008 52 | full 53 | ARM 54 | false 55 | prompt 56 | 57 | 58 | ARM 59 | bin\ARM\Release\ 60 | TRACE;NETFX_CORE;WINDOWS_UWP 61 | true 62 | ;2008 63 | pdbonly 64 | ARM 65 | false 66 | prompt 67 | 68 | 69 | x64 70 | true 71 | bin\x64\Debug\ 72 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 73 | ;2008 74 | full 75 | x64 76 | false 77 | prompt 78 | 79 | 80 | x64 81 | bin\x64\Release\ 82 | TRACE;NETFX_CORE;WINDOWS_UWP 83 | true 84 | ;2008 85 | pdbonly 86 | x64 87 | false 88 | prompt 89 | 90 | 91 | true 92 | bin\x86\Development\ 93 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 94 | ;2008 95 | true 96 | full 97 | x86 98 | false 99 | prompt 100 | MinimumRecommendedRules.ruleset 101 | 102 | 103 | true 104 | bin\ARM\Development\ 105 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 106 | ;2008 107 | true 108 | full 109 | ARM 110 | false 111 | prompt 112 | MinimumRecommendedRules.ruleset 113 | 114 | 115 | true 116 | bin\x64\Development\ 117 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 118 | ;2008 119 | true 120 | full 121 | x64 122 | false 123 | prompt 124 | MinimumRecommendedRules.ruleset 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | {c7673ad5-e3aa-468c-a5fd-fa38154e205c} 139 | ReactNative 140 | 141 | 142 | 143 | 14.0 144 | 145 | 146 | 153 | 154 | -------------------------------------------------------------------------------- /ios/RNConfigReader.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | B3E7B58A1CC2AC0600A0062D /* RNConfigReader.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNConfigReader.m */; }; 11 | /* End PBXBuildFile section */ 12 | 13 | /* Begin PBXCopyFilesBuildPhase section */ 14 | 58B511D91A9E6C8500147676 /* CopyFiles */ = { 15 | isa = PBXCopyFilesBuildPhase; 16 | buildActionMask = 2147483647; 17 | dstPath = "include/$(PRODUCT_NAME)"; 18 | dstSubfolderSpec = 16; 19 | files = ( 20 | ); 21 | runOnlyForDeploymentPostprocessing = 0; 22 | }; 23 | /* End PBXCopyFilesBuildPhase section */ 24 | 25 | /* Begin PBXFileReference section */ 26 | 134814201AA4EA6300B7C361 /* libRNConfigReader.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNConfigReader.a; sourceTree = BUILT_PRODUCTS_DIR; }; 27 | B3E7B5881CC2AC0600A0062D /* RNConfigReader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNConfigReader.h; sourceTree = ""; }; 28 | B3E7B5891CC2AC0600A0062D /* RNConfigReader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNConfigReader.m; sourceTree = ""; }; 29 | /* End PBXFileReference section */ 30 | 31 | /* Begin PBXFrameworksBuildPhase section */ 32 | 58B511D81A9E6C8500147676 /* Frameworks */ = { 33 | isa = PBXFrameworksBuildPhase; 34 | buildActionMask = 2147483647; 35 | files = ( 36 | ); 37 | runOnlyForDeploymentPostprocessing = 0; 38 | }; 39 | /* End PBXFrameworksBuildPhase section */ 40 | 41 | /* Begin PBXGroup section */ 42 | 134814211AA4EA7D00B7C361 /* Products */ = { 43 | isa = PBXGroup; 44 | children = ( 45 | 134814201AA4EA6300B7C361 /* libRNConfigReader.a */, 46 | ); 47 | name = Products; 48 | sourceTree = ""; 49 | }; 50 | 58B511D21A9E6C8500147676 = { 51 | isa = PBXGroup; 52 | children = ( 53 | B3E7B5881CC2AC0600A0062D /* RNConfigReader.h */, 54 | B3E7B5891CC2AC0600A0062D /* RNConfigReader.m */, 55 | 134814211AA4EA7D00B7C361 /* Products */, 56 | ); 57 | sourceTree = ""; 58 | }; 59 | /* End PBXGroup section */ 60 | 61 | /* Begin PBXNativeTarget section */ 62 | 58B511DA1A9E6C8500147676 /* RNConfigReader */ = { 63 | isa = PBXNativeTarget; 64 | buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNConfigReader" */; 65 | buildPhases = ( 66 | 58B511D71A9E6C8500147676 /* Sources */, 67 | 58B511D81A9E6C8500147676 /* Frameworks */, 68 | 58B511D91A9E6C8500147676 /* CopyFiles */, 69 | ); 70 | buildRules = ( 71 | ); 72 | dependencies = ( 73 | ); 74 | name = RNConfigReader; 75 | productName = RCTDataManager; 76 | productReference = 134814201AA4EA6300B7C361 /* libRNConfigReader.a */; 77 | productType = "com.apple.product-type.library.static"; 78 | }; 79 | /* End PBXNativeTarget section */ 80 | 81 | /* Begin PBXProject section */ 82 | 58B511D31A9E6C8500147676 /* Project object */ = { 83 | isa = PBXProject; 84 | attributes = { 85 | LastUpgradeCheck = 0830; 86 | ORGANIZATIONNAME = Facebook; 87 | TargetAttributes = { 88 | 58B511DA1A9E6C8500147676 = { 89 | CreatedOnToolsVersion = 6.1.1; 90 | }; 91 | }; 92 | }; 93 | buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNConfigReader" */; 94 | compatibilityVersion = "Xcode 3.2"; 95 | developmentRegion = English; 96 | hasScannedForEncodings = 0; 97 | knownRegions = ( 98 | en, 99 | ); 100 | mainGroup = 58B511D21A9E6C8500147676; 101 | productRefGroup = 58B511D21A9E6C8500147676; 102 | projectDirPath = ""; 103 | projectRoot = ""; 104 | targets = ( 105 | 58B511DA1A9E6C8500147676 /* RNConfigReader */, 106 | ); 107 | }; 108 | /* End PBXProject section */ 109 | 110 | /* Begin PBXSourcesBuildPhase section */ 111 | 58B511D71A9E6C8500147676 /* Sources */ = { 112 | isa = PBXSourcesBuildPhase; 113 | buildActionMask = 2147483647; 114 | files = ( 115 | B3E7B58A1CC2AC0600A0062D /* RNConfigReader.m in Sources */, 116 | ); 117 | runOnlyForDeploymentPostprocessing = 0; 118 | }; 119 | /* End PBXSourcesBuildPhase section */ 120 | 121 | /* Begin XCBuildConfiguration section */ 122 | 58B511ED1A9E6C8500147676 /* Debug */ = { 123 | isa = XCBuildConfiguration; 124 | buildSettings = { 125 | ALWAYS_SEARCH_USER_PATHS = NO; 126 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 127 | CLANG_CXX_LIBRARY = "libc++"; 128 | CLANG_ENABLE_MODULES = YES; 129 | CLANG_ENABLE_OBJC_ARC = YES; 130 | CLANG_WARN_BOOL_CONVERSION = YES; 131 | CLANG_WARN_CONSTANT_CONVERSION = YES; 132 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 133 | CLANG_WARN_EMPTY_BODY = YES; 134 | CLANG_WARN_ENUM_CONVERSION = YES; 135 | CLANG_WARN_INFINITE_RECURSION = YES; 136 | CLANG_WARN_INT_CONVERSION = YES; 137 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 138 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 139 | CLANG_WARN_UNREACHABLE_CODE = YES; 140 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 141 | COPY_PHASE_STRIP = NO; 142 | ENABLE_STRICT_OBJC_MSGSEND = YES; 143 | ENABLE_TESTABILITY = YES; 144 | GCC_C_LANGUAGE_STANDARD = gnu99; 145 | GCC_DYNAMIC_NO_PIC = NO; 146 | GCC_NO_COMMON_BLOCKS = YES; 147 | GCC_OPTIMIZATION_LEVEL = 0; 148 | GCC_PREPROCESSOR_DEFINITIONS = ( 149 | "DEBUG=1", 150 | "$(inherited)", 151 | ); 152 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 153 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 154 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 155 | GCC_WARN_UNDECLARED_SELECTOR = YES; 156 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 157 | GCC_WARN_UNUSED_FUNCTION = YES; 158 | GCC_WARN_UNUSED_VARIABLE = YES; 159 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 160 | MTL_ENABLE_DEBUG_INFO = YES; 161 | ONLY_ACTIVE_ARCH = YES; 162 | SDKROOT = iphoneos; 163 | }; 164 | name = Debug; 165 | }; 166 | 58B511EE1A9E6C8500147676 /* Release */ = { 167 | isa = XCBuildConfiguration; 168 | buildSettings = { 169 | ALWAYS_SEARCH_USER_PATHS = NO; 170 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 171 | CLANG_CXX_LIBRARY = "libc++"; 172 | CLANG_ENABLE_MODULES = YES; 173 | CLANG_ENABLE_OBJC_ARC = YES; 174 | CLANG_WARN_BOOL_CONVERSION = YES; 175 | CLANG_WARN_CONSTANT_CONVERSION = YES; 176 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 177 | CLANG_WARN_EMPTY_BODY = YES; 178 | CLANG_WARN_ENUM_CONVERSION = YES; 179 | CLANG_WARN_INFINITE_RECURSION = YES; 180 | CLANG_WARN_INT_CONVERSION = YES; 181 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 182 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 183 | CLANG_WARN_UNREACHABLE_CODE = YES; 184 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 185 | COPY_PHASE_STRIP = YES; 186 | ENABLE_NS_ASSERTIONS = NO; 187 | ENABLE_STRICT_OBJC_MSGSEND = YES; 188 | GCC_C_LANGUAGE_STANDARD = gnu99; 189 | GCC_NO_COMMON_BLOCKS = YES; 190 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 191 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 192 | GCC_WARN_UNDECLARED_SELECTOR = YES; 193 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 194 | GCC_WARN_UNUSED_FUNCTION = YES; 195 | GCC_WARN_UNUSED_VARIABLE = YES; 196 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 197 | MTL_ENABLE_DEBUG_INFO = NO; 198 | SDKROOT = iphoneos; 199 | VALIDATE_PRODUCT = YES; 200 | }; 201 | name = Release; 202 | }; 203 | 58B511F01A9E6C8500147676 /* Debug */ = { 204 | isa = XCBuildConfiguration; 205 | buildSettings = { 206 | HEADER_SEARCH_PATHS = ( 207 | "$(inherited)", 208 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 209 | "$(SRCROOT)/../../../React/**", 210 | "$(SRCROOT)/../../react-native/React/**", 211 | ); 212 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 213 | OTHER_LDFLAGS = "-ObjC"; 214 | PRODUCT_NAME = RNConfigReader; 215 | SKIP_INSTALL = YES; 216 | }; 217 | name = Debug; 218 | }; 219 | 58B511F11A9E6C8500147676 /* Release */ = { 220 | isa = XCBuildConfiguration; 221 | buildSettings = { 222 | HEADER_SEARCH_PATHS = ( 223 | "$(inherited)", 224 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 225 | "$(SRCROOT)/../../../React/**", 226 | "$(SRCROOT)/../../react-native/React/**", 227 | ); 228 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 229 | OTHER_LDFLAGS = "-ObjC"; 230 | PRODUCT_NAME = RNConfigReader; 231 | SKIP_INSTALL = YES; 232 | }; 233 | name = Release; 234 | }; 235 | /* End XCBuildConfiguration section */ 236 | 237 | /* Begin XCConfigurationList section */ 238 | 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNConfigReader" */ = { 239 | isa = XCConfigurationList; 240 | buildConfigurations = ( 241 | 58B511ED1A9E6C8500147676 /* Debug */, 242 | 58B511EE1A9E6C8500147676 /* Release */, 243 | ); 244 | defaultConfigurationIsVisible = 0; 245 | defaultConfigurationName = Release; 246 | }; 247 | 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNConfigReader" */ = { 248 | isa = XCConfigurationList; 249 | buildConfigurations = ( 250 | 58B511F01A9E6C8500147676 /* Debug */, 251 | 58B511F11A9E6C8500147676 /* Release */, 252 | ); 253 | defaultConfigurationIsVisible = 0; 254 | defaultConfigurationName = Release; 255 | }; 256 | /* End XCConfigurationList section */ 257 | }; 258 | rootObject = 58B511D31A9E6C8500147676 /* Project object */; 259 | } 260 | -------------------------------------------------------------------------------- /example/ios/testConfig.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 15 | 00E356F31AD99517003FC87E /* testConfigTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* testConfigTests.m */; }; 16 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 17 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 18 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 19 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 20 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 21 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 22 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 23 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 24 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 25 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 26 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 27 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 28 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 29 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 30 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 31 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 32 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 33 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 34 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 35 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 36 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; }; 37 | 2DCD954D1E0B4F2C00145EB5 /* testConfigTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* testConfigTests.m */; }; 38 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 39 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 40 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 41 | B043CBDB46E644ECB6E04D00 /* libRNConfigReader.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C7F95F9A6D44EFA89E1C25F /* libRNConfigReader.a */; }; 42 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; }; 43 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED2971642150620600B7C4FE /* JavaScriptCore.framework */; }; 44 | /* End PBXBuildFile section */ 45 | 46 | /* Begin PBXContainerItemProxy section */ 47 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 48 | isa = PBXContainerItemProxy; 49 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 50 | proxyType = 2; 51 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 52 | remoteInfo = RCTActionSheet; 53 | }; 54 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 55 | isa = PBXContainerItemProxy; 56 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 57 | proxyType = 2; 58 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 59 | remoteInfo = RCTGeolocation; 60 | }; 61 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 62 | isa = PBXContainerItemProxy; 63 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 64 | proxyType = 2; 65 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 66 | remoteInfo = RCTImage; 67 | }; 68 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 69 | isa = PBXContainerItemProxy; 70 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 71 | proxyType = 2; 72 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 73 | remoteInfo = RCTNetwork; 74 | }; 75 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 76 | isa = PBXContainerItemProxy; 77 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 78 | proxyType = 2; 79 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 80 | remoteInfo = RCTVibration; 81 | }; 82 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 83 | isa = PBXContainerItemProxy; 84 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 85 | proxyType = 1; 86 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 87 | remoteInfo = testConfig; 88 | }; 89 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 90 | isa = PBXContainerItemProxy; 91 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 92 | proxyType = 2; 93 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 94 | remoteInfo = RCTSettings; 95 | }; 96 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 97 | isa = PBXContainerItemProxy; 98 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 99 | proxyType = 2; 100 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 101 | remoteInfo = RCTWebSocket; 102 | }; 103 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 104 | isa = PBXContainerItemProxy; 105 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 106 | proxyType = 2; 107 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 108 | remoteInfo = React; 109 | }; 110 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 111 | isa = PBXContainerItemProxy; 112 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 113 | proxyType = 1; 114 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 115 | remoteInfo = "testConfig-tvOS"; 116 | }; 117 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 118 | isa = PBXContainerItemProxy; 119 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 120 | proxyType = 2; 121 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 122 | remoteInfo = "RCTBlob-tvOS"; 123 | }; 124 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 125 | isa = PBXContainerItemProxy; 126 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 127 | proxyType = 2; 128 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 129 | remoteInfo = fishhook; 130 | }; 131 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 132 | isa = PBXContainerItemProxy; 133 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 134 | proxyType = 2; 135 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 136 | remoteInfo = "fishhook-tvOS"; 137 | }; 138 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = { 139 | isa = PBXContainerItemProxy; 140 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 141 | proxyType = 2; 142 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5; 143 | remoteInfo = jsinspector; 144 | }; 145 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = { 146 | isa = PBXContainerItemProxy; 147 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 148 | proxyType = 2; 149 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; 150 | remoteInfo = "jsinspector-tvOS"; 151 | }; 152 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = { 153 | isa = PBXContainerItemProxy; 154 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 155 | proxyType = 2; 156 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 157 | remoteInfo = "third-party"; 158 | }; 159 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = { 160 | isa = PBXContainerItemProxy; 161 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 162 | proxyType = 2; 163 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 164 | remoteInfo = "third-party-tvOS"; 165 | }; 166 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = { 167 | isa = PBXContainerItemProxy; 168 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 169 | proxyType = 2; 170 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 171 | remoteInfo = "double-conversion"; 172 | }; 173 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = { 174 | isa = PBXContainerItemProxy; 175 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 176 | proxyType = 2; 177 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 178 | remoteInfo = "double-conversion-tvOS"; 179 | }; 180 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 181 | isa = PBXContainerItemProxy; 182 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 183 | proxyType = 2; 184 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 185 | remoteInfo = "RCTImage-tvOS"; 186 | }; 187 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 188 | isa = PBXContainerItemProxy; 189 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 190 | proxyType = 2; 191 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 192 | remoteInfo = "RCTLinking-tvOS"; 193 | }; 194 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 195 | isa = PBXContainerItemProxy; 196 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 197 | proxyType = 2; 198 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 199 | remoteInfo = "RCTNetwork-tvOS"; 200 | }; 201 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 202 | isa = PBXContainerItemProxy; 203 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 204 | proxyType = 2; 205 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 206 | remoteInfo = "RCTSettings-tvOS"; 207 | }; 208 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 209 | isa = PBXContainerItemProxy; 210 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 211 | proxyType = 2; 212 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 213 | remoteInfo = "RCTText-tvOS"; 214 | }; 215 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 216 | isa = PBXContainerItemProxy; 217 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 218 | proxyType = 2; 219 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 220 | remoteInfo = "RCTWebSocket-tvOS"; 221 | }; 222 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 223 | isa = PBXContainerItemProxy; 224 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 225 | proxyType = 2; 226 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 227 | remoteInfo = "React-tvOS"; 228 | }; 229 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 230 | isa = PBXContainerItemProxy; 231 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 232 | proxyType = 2; 233 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 234 | remoteInfo = yoga; 235 | }; 236 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 237 | isa = PBXContainerItemProxy; 238 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 239 | proxyType = 2; 240 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 241 | remoteInfo = "yoga-tvOS"; 242 | }; 243 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 244 | isa = PBXContainerItemProxy; 245 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 246 | proxyType = 2; 247 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 248 | remoteInfo = cxxreact; 249 | }; 250 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 251 | isa = PBXContainerItemProxy; 252 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 253 | proxyType = 2; 254 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 255 | remoteInfo = "cxxreact-tvOS"; 256 | }; 257 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 258 | isa = PBXContainerItemProxy; 259 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 260 | proxyType = 2; 261 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 262 | remoteInfo = RCTAnimation; 263 | }; 264 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 265 | isa = PBXContainerItemProxy; 266 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 267 | proxyType = 2; 268 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 269 | remoteInfo = "RCTAnimation-tvOS"; 270 | }; 271 | 70E9447B22565354001E94C9 /* PBXContainerItemProxy */ = { 272 | isa = PBXContainerItemProxy; 273 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 274 | proxyType = 2; 275 | remoteGlobalIDString = EDEBC6D6214B3E7000DD5AC8; 276 | remoteInfo = jsi; 277 | }; 278 | 70E9447D22565354001E94C9 /* PBXContainerItemProxy */ = { 279 | isa = PBXContainerItemProxy; 280 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 281 | proxyType = 2; 282 | remoteGlobalIDString = EDEBC73B214B45A300DD5AC8; 283 | remoteInfo = jsiexecutor; 284 | }; 285 | 70E9447F22565354001E94C9 /* PBXContainerItemProxy */ = { 286 | isa = PBXContainerItemProxy; 287 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 288 | proxyType = 2; 289 | remoteGlobalIDString = ED296FB6214C9A0900B7C4FE; 290 | remoteInfo = "jsi-tvOS"; 291 | }; 292 | 70E9448122565354001E94C9 /* PBXContainerItemProxy */ = { 293 | isa = PBXContainerItemProxy; 294 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 295 | proxyType = 2; 296 | remoteGlobalIDString = ED296FEE214C9CF800B7C4FE; 297 | remoteInfo = "jsiexecutor-tvOS"; 298 | }; 299 | 70EBE38E225C9FCF0005DE55 /* PBXContainerItemProxy */ = { 300 | isa = PBXContainerItemProxy; 301 | containerPortal = 0D6F0F730C4E4874BBE23042 /* RNConfigReader.xcodeproj */; 302 | proxyType = 2; 303 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 304 | remoteInfo = RNConfigReader; 305 | }; 306 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 307 | isa = PBXContainerItemProxy; 308 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 309 | proxyType = 2; 310 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 311 | remoteInfo = RCTLinking; 312 | }; 313 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 314 | isa = PBXContainerItemProxy; 315 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 316 | proxyType = 2; 317 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 318 | remoteInfo = RCTText; 319 | }; 320 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 321 | isa = PBXContainerItemProxy; 322 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 323 | proxyType = 2; 324 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 325 | remoteInfo = RCTBlob; 326 | }; 327 | /* End PBXContainerItemProxy section */ 328 | 329 | /* Begin PBXFileReference section */ 330 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 331 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 332 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 333 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 334 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 335 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 336 | 00E356EE1AD99517003FC87E /* testConfigTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = testConfigTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 337 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 338 | 00E356F21AD99517003FC87E /* testConfigTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = testConfigTests.m; sourceTree = ""; }; 339 | 0D6F0F730C4E4874BBE23042 /* RNConfigReader.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNConfigReader.xcodeproj; path = "../node_modules/react-native-config-reader/ios/RNConfigReader.xcodeproj"; sourceTree = ""; }; 340 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 341 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 342 | 13B07F961A680F5B00A75B9A /* testConfig.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testConfig.app; sourceTree = BUILT_PRODUCTS_DIR; }; 343 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = testConfig/AppDelegate.h; sourceTree = ""; }; 344 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = testConfig/AppDelegate.m; sourceTree = ""; }; 345 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 346 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = testConfig/Images.xcassets; sourceTree = ""; }; 347 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = testConfig/Info.plist; sourceTree = ""; }; 348 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = testConfig/main.m; sourceTree = ""; }; 349 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 350 | 2D02E47B1E0B4A5D006451C7 /* testConfig-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "testConfig-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 351 | 2D02E4901E0B4A5D006451C7 /* testConfig-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "testConfig-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 352 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 353 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 354 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 355 | 7C7F95F9A6D44EFA89E1C25F /* libRNConfigReader.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNConfigReader.a; sourceTree = ""; }; 356 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 357 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 358 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 359 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; 360 | /* End PBXFileReference section */ 361 | 362 | /* Begin PBXFrameworksBuildPhase section */ 363 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 364 | isa = PBXFrameworksBuildPhase; 365 | buildActionMask = 2147483647; 366 | files = ( 367 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 368 | ); 369 | runOnlyForDeploymentPostprocessing = 0; 370 | }; 371 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 372 | isa = PBXFrameworksBuildPhase; 373 | buildActionMask = 2147483647; 374 | files = ( 375 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */, 376 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 377 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */, 378 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 379 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 380 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 381 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 382 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 383 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 384 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 385 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 386 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 387 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 388 | B043CBDB46E644ECB6E04D00 /* libRNConfigReader.a in Frameworks */, 389 | ); 390 | runOnlyForDeploymentPostprocessing = 0; 391 | }; 392 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 393 | isa = PBXFrameworksBuildPhase; 394 | buildActionMask = 2147483647; 395 | files = ( 396 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */, 397 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 398 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 399 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 400 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 401 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 402 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 403 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 404 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 405 | ); 406 | runOnlyForDeploymentPostprocessing = 0; 407 | }; 408 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 409 | isa = PBXFrameworksBuildPhase; 410 | buildActionMask = 2147483647; 411 | files = ( 412 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */, 413 | ); 414 | runOnlyForDeploymentPostprocessing = 0; 415 | }; 416 | /* End PBXFrameworksBuildPhase section */ 417 | 418 | /* Begin PBXGroup section */ 419 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 420 | isa = PBXGroup; 421 | children = ( 422 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 423 | ); 424 | name = Products; 425 | sourceTree = ""; 426 | }; 427 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 428 | isa = PBXGroup; 429 | children = ( 430 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 431 | ); 432 | name = Products; 433 | sourceTree = ""; 434 | }; 435 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 436 | isa = PBXGroup; 437 | children = ( 438 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 439 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 440 | ); 441 | name = Products; 442 | sourceTree = ""; 443 | }; 444 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 445 | isa = PBXGroup; 446 | children = ( 447 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 448 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 449 | ); 450 | name = Products; 451 | sourceTree = ""; 452 | }; 453 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 454 | isa = PBXGroup; 455 | children = ( 456 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 457 | ); 458 | name = Products; 459 | sourceTree = ""; 460 | }; 461 | 00E356EF1AD99517003FC87E /* testConfigTests */ = { 462 | isa = PBXGroup; 463 | children = ( 464 | 00E356F21AD99517003FC87E /* testConfigTests.m */, 465 | 00E356F01AD99517003FC87E /* Supporting Files */, 466 | ); 467 | path = testConfigTests; 468 | sourceTree = ""; 469 | }; 470 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 471 | isa = PBXGroup; 472 | children = ( 473 | 00E356F11AD99517003FC87E /* Info.plist */, 474 | ); 475 | name = "Supporting Files"; 476 | sourceTree = ""; 477 | }; 478 | 139105B71AF99BAD00B5F7CC /* Products */ = { 479 | isa = PBXGroup; 480 | children = ( 481 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 482 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 483 | ); 484 | name = Products; 485 | sourceTree = ""; 486 | }; 487 | 139FDEE71B06529A00C62182 /* Products */ = { 488 | isa = PBXGroup; 489 | children = ( 490 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 491 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 492 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, 493 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, 494 | ); 495 | name = Products; 496 | sourceTree = ""; 497 | }; 498 | 13B07FAE1A68108700A75B9A /* testConfig */ = { 499 | isa = PBXGroup; 500 | children = ( 501 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 502 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 503 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 504 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 505 | 13B07FB61A68108700A75B9A /* Info.plist */, 506 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 507 | 13B07FB71A68108700A75B9A /* main.m */, 508 | ); 509 | name = testConfig; 510 | sourceTree = ""; 511 | }; 512 | 146834001AC3E56700842450 /* Products */ = { 513 | isa = PBXGroup; 514 | children = ( 515 | 146834041AC3E56700842450 /* libReact.a */, 516 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 517 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 518 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 519 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 520 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 521 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */, 522 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */, 523 | 2DF0FFE32056DD460020B375 /* libthird-party.a */, 524 | 2DF0FFE52056DD460020B375 /* libthird-party.a */, 525 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */, 526 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */, 527 | 70E9447C22565354001E94C9 /* libjsi.a */, 528 | 70E9447E22565354001E94C9 /* libjsiexecutor.a */, 529 | 70E9448022565354001E94C9 /* libjsi-tvOS.a */, 530 | 70E9448222565354001E94C9 /* libjsiexecutor-tvOS.a */, 531 | ); 532 | name = Products; 533 | sourceTree = ""; 534 | }; 535 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 536 | isa = PBXGroup; 537 | children = ( 538 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 539 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */, 540 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 541 | ); 542 | name = Frameworks; 543 | sourceTree = ""; 544 | }; 545 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 546 | isa = PBXGroup; 547 | children = ( 548 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 549 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 550 | ); 551 | name = Products; 552 | sourceTree = ""; 553 | }; 554 | 70E9445522565346001E94C9 /* Recovered References */ = { 555 | isa = PBXGroup; 556 | children = ( 557 | 7C7F95F9A6D44EFA89E1C25F /* libRNConfigReader.a */, 558 | ); 559 | name = "Recovered References"; 560 | sourceTree = ""; 561 | }; 562 | 70EBE38B225C9FCF0005DE55 /* Products */ = { 563 | isa = PBXGroup; 564 | children = ( 565 | 70EBE38F225C9FCF0005DE55 /* libRNConfigReader.a */, 566 | ); 567 | name = Products; 568 | sourceTree = ""; 569 | }; 570 | 78C398B11ACF4ADC00677621 /* Products */ = { 571 | isa = PBXGroup; 572 | children = ( 573 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 574 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 575 | ); 576 | name = Products; 577 | sourceTree = ""; 578 | }; 579 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 580 | isa = PBXGroup; 581 | children = ( 582 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 583 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 584 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 585 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 586 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 587 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 588 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 589 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 590 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 591 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 592 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 593 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 594 | 0D6F0F730C4E4874BBE23042 /* RNConfigReader.xcodeproj */, 595 | ); 596 | name = Libraries; 597 | sourceTree = ""; 598 | }; 599 | 832341B11AAA6A8300B99B32 /* Products */ = { 600 | isa = PBXGroup; 601 | children = ( 602 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 603 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 604 | ); 605 | name = Products; 606 | sourceTree = ""; 607 | }; 608 | 83CBB9F61A601CBA00E9B192 = { 609 | isa = PBXGroup; 610 | children = ( 611 | 13B07FAE1A68108700A75B9A /* testConfig */, 612 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 613 | 00E356EF1AD99517003FC87E /* testConfigTests */, 614 | 83CBBA001A601CBA00E9B192 /* Products */, 615 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 616 | 70E9445522565346001E94C9 /* Recovered References */, 617 | ); 618 | indentWidth = 2; 619 | sourceTree = ""; 620 | tabWidth = 2; 621 | usesTabs = 0; 622 | }; 623 | 83CBBA001A601CBA00E9B192 /* Products */ = { 624 | isa = PBXGroup; 625 | children = ( 626 | 13B07F961A680F5B00A75B9A /* testConfig.app */, 627 | 00E356EE1AD99517003FC87E /* testConfigTests.xctest */, 628 | 2D02E47B1E0B4A5D006451C7 /* testConfig-tvOS.app */, 629 | 2D02E4901E0B4A5D006451C7 /* testConfig-tvOSTests.xctest */, 630 | ); 631 | name = Products; 632 | sourceTree = ""; 633 | }; 634 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 635 | isa = PBXGroup; 636 | children = ( 637 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 638 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, 639 | ); 640 | name = Products; 641 | sourceTree = ""; 642 | }; 643 | /* End PBXGroup section */ 644 | 645 | /* Begin PBXNativeTarget section */ 646 | 00E356ED1AD99517003FC87E /* testConfigTests */ = { 647 | isa = PBXNativeTarget; 648 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "testConfigTests" */; 649 | buildPhases = ( 650 | 00E356EA1AD99517003FC87E /* Sources */, 651 | 00E356EB1AD99517003FC87E /* Frameworks */, 652 | 00E356EC1AD99517003FC87E /* Resources */, 653 | ); 654 | buildRules = ( 655 | ); 656 | dependencies = ( 657 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 658 | ); 659 | name = testConfigTests; 660 | productName = testConfigTests; 661 | productReference = 00E356EE1AD99517003FC87E /* testConfigTests.xctest */; 662 | productType = "com.apple.product-type.bundle.unit-test"; 663 | }; 664 | 13B07F861A680F5B00A75B9A /* testConfig */ = { 665 | isa = PBXNativeTarget; 666 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "testConfig" */; 667 | buildPhases = ( 668 | 13B07F871A680F5B00A75B9A /* Sources */, 669 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 670 | 13B07F8E1A680F5B00A75B9A /* Resources */, 671 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 672 | ); 673 | buildRules = ( 674 | ); 675 | dependencies = ( 676 | ); 677 | name = testConfig; 678 | productName = "Hello World"; 679 | productReference = 13B07F961A680F5B00A75B9A /* testConfig.app */; 680 | productType = "com.apple.product-type.application"; 681 | }; 682 | 2D02E47A1E0B4A5D006451C7 /* testConfig-tvOS */ = { 683 | isa = PBXNativeTarget; 684 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "testConfig-tvOS" */; 685 | buildPhases = ( 686 | 2D02E4771E0B4A5D006451C7 /* Sources */, 687 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 688 | 2D02E4791E0B4A5D006451C7 /* Resources */, 689 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 690 | ); 691 | buildRules = ( 692 | ); 693 | dependencies = ( 694 | ); 695 | name = "testConfig-tvOS"; 696 | productName = "testConfig-tvOS"; 697 | productReference = 2D02E47B1E0B4A5D006451C7 /* testConfig-tvOS.app */; 698 | productType = "com.apple.product-type.application"; 699 | }; 700 | 2D02E48F1E0B4A5D006451C7 /* testConfig-tvOSTests */ = { 701 | isa = PBXNativeTarget; 702 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "testConfig-tvOSTests" */; 703 | buildPhases = ( 704 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 705 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 706 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 707 | ); 708 | buildRules = ( 709 | ); 710 | dependencies = ( 711 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 712 | ); 713 | name = "testConfig-tvOSTests"; 714 | productName = "testConfig-tvOSTests"; 715 | productReference = 2D02E4901E0B4A5D006451C7 /* testConfig-tvOSTests.xctest */; 716 | productType = "com.apple.product-type.bundle.unit-test"; 717 | }; 718 | /* End PBXNativeTarget section */ 719 | 720 | /* Begin PBXProject section */ 721 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 722 | isa = PBXProject; 723 | attributes = { 724 | LastUpgradeCheck = 940; 725 | ORGANIZATIONNAME = Facebook; 726 | TargetAttributes = { 727 | 00E356ED1AD99517003FC87E = { 728 | CreatedOnToolsVersion = 6.2; 729 | TestTargetID = 13B07F861A680F5B00A75B9A; 730 | }; 731 | 2D02E47A1E0B4A5D006451C7 = { 732 | CreatedOnToolsVersion = 8.2.1; 733 | ProvisioningStyle = Automatic; 734 | }; 735 | 2D02E48F1E0B4A5D006451C7 = { 736 | CreatedOnToolsVersion = 8.2.1; 737 | ProvisioningStyle = Automatic; 738 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 739 | }; 740 | }; 741 | }; 742 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "testConfig" */; 743 | compatibilityVersion = "Xcode 3.2"; 744 | developmentRegion = English; 745 | hasScannedForEncodings = 0; 746 | knownRegions = ( 747 | en, 748 | Base, 749 | ); 750 | mainGroup = 83CBB9F61A601CBA00E9B192; 751 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 752 | projectDirPath = ""; 753 | projectReferences = ( 754 | { 755 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 756 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 757 | }, 758 | { 759 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 760 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 761 | }, 762 | { 763 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 764 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 765 | }, 766 | { 767 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 768 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 769 | }, 770 | { 771 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 772 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 773 | }, 774 | { 775 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 776 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 777 | }, 778 | { 779 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 780 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 781 | }, 782 | { 783 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 784 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 785 | }, 786 | { 787 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 788 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 789 | }, 790 | { 791 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 792 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 793 | }, 794 | { 795 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 796 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 797 | }, 798 | { 799 | ProductGroup = 146834001AC3E56700842450 /* Products */; 800 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 801 | }, 802 | { 803 | ProductGroup = 70EBE38B225C9FCF0005DE55 /* Products */; 804 | ProjectRef = 0D6F0F730C4E4874BBE23042 /* RNConfigReader.xcodeproj */; 805 | }, 806 | ); 807 | projectRoot = ""; 808 | targets = ( 809 | 13B07F861A680F5B00A75B9A /* testConfig */, 810 | 00E356ED1AD99517003FC87E /* testConfigTests */, 811 | 2D02E47A1E0B4A5D006451C7 /* testConfig-tvOS */, 812 | 2D02E48F1E0B4A5D006451C7 /* testConfig-tvOSTests */, 813 | ); 814 | }; 815 | /* End PBXProject section */ 816 | 817 | /* Begin PBXReferenceProxy section */ 818 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 819 | isa = PBXReferenceProxy; 820 | fileType = archive.ar; 821 | path = libRCTActionSheet.a; 822 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 823 | sourceTree = BUILT_PRODUCTS_DIR; 824 | }; 825 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 826 | isa = PBXReferenceProxy; 827 | fileType = archive.ar; 828 | path = libRCTGeolocation.a; 829 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 830 | sourceTree = BUILT_PRODUCTS_DIR; 831 | }; 832 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 833 | isa = PBXReferenceProxy; 834 | fileType = archive.ar; 835 | path = libRCTImage.a; 836 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 837 | sourceTree = BUILT_PRODUCTS_DIR; 838 | }; 839 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 840 | isa = PBXReferenceProxy; 841 | fileType = archive.ar; 842 | path = libRCTNetwork.a; 843 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 844 | sourceTree = BUILT_PRODUCTS_DIR; 845 | }; 846 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 847 | isa = PBXReferenceProxy; 848 | fileType = archive.ar; 849 | path = libRCTVibration.a; 850 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 851 | sourceTree = BUILT_PRODUCTS_DIR; 852 | }; 853 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 854 | isa = PBXReferenceProxy; 855 | fileType = archive.ar; 856 | path = libRCTSettings.a; 857 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 858 | sourceTree = BUILT_PRODUCTS_DIR; 859 | }; 860 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 861 | isa = PBXReferenceProxy; 862 | fileType = archive.ar; 863 | path = libRCTWebSocket.a; 864 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 865 | sourceTree = BUILT_PRODUCTS_DIR; 866 | }; 867 | 146834041AC3E56700842450 /* libReact.a */ = { 868 | isa = PBXReferenceProxy; 869 | fileType = archive.ar; 870 | path = libReact.a; 871 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 872 | sourceTree = BUILT_PRODUCTS_DIR; 873 | }; 874 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { 875 | isa = PBXReferenceProxy; 876 | fileType = archive.ar; 877 | path = "libRCTBlob-tvOS.a"; 878 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; 879 | sourceTree = BUILT_PRODUCTS_DIR; 880 | }; 881 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { 882 | isa = PBXReferenceProxy; 883 | fileType = archive.ar; 884 | path = libfishhook.a; 885 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; 886 | sourceTree = BUILT_PRODUCTS_DIR; 887 | }; 888 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { 889 | isa = PBXReferenceProxy; 890 | fileType = archive.ar; 891 | path = "libfishhook-tvOS.a"; 892 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; 893 | sourceTree = BUILT_PRODUCTS_DIR; 894 | }; 895 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = { 896 | isa = PBXReferenceProxy; 897 | fileType = archive.ar; 898 | path = libjsinspector.a; 899 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */; 900 | sourceTree = BUILT_PRODUCTS_DIR; 901 | }; 902 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = { 903 | isa = PBXReferenceProxy; 904 | fileType = archive.ar; 905 | path = "libjsinspector-tvOS.a"; 906 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */; 907 | sourceTree = BUILT_PRODUCTS_DIR; 908 | }; 909 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = { 910 | isa = PBXReferenceProxy; 911 | fileType = archive.ar; 912 | path = "libthird-party.a"; 913 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */; 914 | sourceTree = BUILT_PRODUCTS_DIR; 915 | }; 916 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = { 917 | isa = PBXReferenceProxy; 918 | fileType = archive.ar; 919 | path = "libthird-party.a"; 920 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */; 921 | sourceTree = BUILT_PRODUCTS_DIR; 922 | }; 923 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = { 924 | isa = PBXReferenceProxy; 925 | fileType = archive.ar; 926 | path = "libdouble-conversion.a"; 927 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */; 928 | sourceTree = BUILT_PRODUCTS_DIR; 929 | }; 930 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = { 931 | isa = PBXReferenceProxy; 932 | fileType = archive.ar; 933 | path = "libdouble-conversion.a"; 934 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */; 935 | sourceTree = BUILT_PRODUCTS_DIR; 936 | }; 937 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 938 | isa = PBXReferenceProxy; 939 | fileType = archive.ar; 940 | path = "libRCTImage-tvOS.a"; 941 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 942 | sourceTree = BUILT_PRODUCTS_DIR; 943 | }; 944 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 945 | isa = PBXReferenceProxy; 946 | fileType = archive.ar; 947 | path = "libRCTLinking-tvOS.a"; 948 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 949 | sourceTree = BUILT_PRODUCTS_DIR; 950 | }; 951 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 952 | isa = PBXReferenceProxy; 953 | fileType = archive.ar; 954 | path = "libRCTNetwork-tvOS.a"; 955 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 956 | sourceTree = BUILT_PRODUCTS_DIR; 957 | }; 958 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 959 | isa = PBXReferenceProxy; 960 | fileType = archive.ar; 961 | path = "libRCTSettings-tvOS.a"; 962 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 963 | sourceTree = BUILT_PRODUCTS_DIR; 964 | }; 965 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 966 | isa = PBXReferenceProxy; 967 | fileType = archive.ar; 968 | path = "libRCTText-tvOS.a"; 969 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 970 | sourceTree = BUILT_PRODUCTS_DIR; 971 | }; 972 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 973 | isa = PBXReferenceProxy; 974 | fileType = archive.ar; 975 | path = "libRCTWebSocket-tvOS.a"; 976 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 977 | sourceTree = BUILT_PRODUCTS_DIR; 978 | }; 979 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 980 | isa = PBXReferenceProxy; 981 | fileType = archive.ar; 982 | path = libReact.a; 983 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 984 | sourceTree = BUILT_PRODUCTS_DIR; 985 | }; 986 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 987 | isa = PBXReferenceProxy; 988 | fileType = archive.ar; 989 | path = libyoga.a; 990 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 991 | sourceTree = BUILT_PRODUCTS_DIR; 992 | }; 993 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 994 | isa = PBXReferenceProxy; 995 | fileType = archive.ar; 996 | path = libyoga.a; 997 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 998 | sourceTree = BUILT_PRODUCTS_DIR; 999 | }; 1000 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 1001 | isa = PBXReferenceProxy; 1002 | fileType = archive.ar; 1003 | path = libcxxreact.a; 1004 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 1005 | sourceTree = BUILT_PRODUCTS_DIR; 1006 | }; 1007 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 1008 | isa = PBXReferenceProxy; 1009 | fileType = archive.ar; 1010 | path = libcxxreact.a; 1011 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 1012 | sourceTree = BUILT_PRODUCTS_DIR; 1013 | }; 1014 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1015 | isa = PBXReferenceProxy; 1016 | fileType = archive.ar; 1017 | path = libRCTAnimation.a; 1018 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1019 | sourceTree = BUILT_PRODUCTS_DIR; 1020 | }; 1021 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1022 | isa = PBXReferenceProxy; 1023 | fileType = archive.ar; 1024 | path = libRCTAnimation.a; 1025 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1026 | sourceTree = BUILT_PRODUCTS_DIR; 1027 | }; 1028 | 70E9447C22565354001E94C9 /* libjsi.a */ = { 1029 | isa = PBXReferenceProxy; 1030 | fileType = archive.ar; 1031 | path = libjsi.a; 1032 | remoteRef = 70E9447B22565354001E94C9 /* PBXContainerItemProxy */; 1033 | sourceTree = BUILT_PRODUCTS_DIR; 1034 | }; 1035 | 70E9447E22565354001E94C9 /* libjsiexecutor.a */ = { 1036 | isa = PBXReferenceProxy; 1037 | fileType = archive.ar; 1038 | path = libjsiexecutor.a; 1039 | remoteRef = 70E9447D22565354001E94C9 /* PBXContainerItemProxy */; 1040 | sourceTree = BUILT_PRODUCTS_DIR; 1041 | }; 1042 | 70E9448022565354001E94C9 /* libjsi-tvOS.a */ = { 1043 | isa = PBXReferenceProxy; 1044 | fileType = archive.ar; 1045 | path = "libjsi-tvOS.a"; 1046 | remoteRef = 70E9447F22565354001E94C9 /* PBXContainerItemProxy */; 1047 | sourceTree = BUILT_PRODUCTS_DIR; 1048 | }; 1049 | 70E9448222565354001E94C9 /* libjsiexecutor-tvOS.a */ = { 1050 | isa = PBXReferenceProxy; 1051 | fileType = archive.ar; 1052 | path = "libjsiexecutor-tvOS.a"; 1053 | remoteRef = 70E9448122565354001E94C9 /* PBXContainerItemProxy */; 1054 | sourceTree = BUILT_PRODUCTS_DIR; 1055 | }; 1056 | 70EBE38F225C9FCF0005DE55 /* libRNConfigReader.a */ = { 1057 | isa = PBXReferenceProxy; 1058 | fileType = archive.ar; 1059 | path = libRNConfigReader.a; 1060 | remoteRef = 70EBE38E225C9FCF0005DE55 /* PBXContainerItemProxy */; 1061 | sourceTree = BUILT_PRODUCTS_DIR; 1062 | }; 1063 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 1064 | isa = PBXReferenceProxy; 1065 | fileType = archive.ar; 1066 | path = libRCTLinking.a; 1067 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 1068 | sourceTree = BUILT_PRODUCTS_DIR; 1069 | }; 1070 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 1071 | isa = PBXReferenceProxy; 1072 | fileType = archive.ar; 1073 | path = libRCTText.a; 1074 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 1075 | sourceTree = BUILT_PRODUCTS_DIR; 1076 | }; 1077 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 1078 | isa = PBXReferenceProxy; 1079 | fileType = archive.ar; 1080 | path = libRCTBlob.a; 1081 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 1082 | sourceTree = BUILT_PRODUCTS_DIR; 1083 | }; 1084 | /* End PBXReferenceProxy section */ 1085 | 1086 | /* Begin PBXResourcesBuildPhase section */ 1087 | 00E356EC1AD99517003FC87E /* Resources */ = { 1088 | isa = PBXResourcesBuildPhase; 1089 | buildActionMask = 2147483647; 1090 | files = ( 1091 | ); 1092 | runOnlyForDeploymentPostprocessing = 0; 1093 | }; 1094 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1095 | isa = PBXResourcesBuildPhase; 1096 | buildActionMask = 2147483647; 1097 | files = ( 1098 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1099 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1100 | ); 1101 | runOnlyForDeploymentPostprocessing = 0; 1102 | }; 1103 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1104 | isa = PBXResourcesBuildPhase; 1105 | buildActionMask = 2147483647; 1106 | files = ( 1107 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1108 | ); 1109 | runOnlyForDeploymentPostprocessing = 0; 1110 | }; 1111 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1112 | isa = PBXResourcesBuildPhase; 1113 | buildActionMask = 2147483647; 1114 | files = ( 1115 | ); 1116 | runOnlyForDeploymentPostprocessing = 0; 1117 | }; 1118 | /* End PBXResourcesBuildPhase section */ 1119 | 1120 | /* Begin PBXShellScriptBuildPhase section */ 1121 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1122 | isa = PBXShellScriptBuildPhase; 1123 | buildActionMask = 2147483647; 1124 | files = ( 1125 | ); 1126 | inputPaths = ( 1127 | ); 1128 | name = "Bundle React Native code and images"; 1129 | outputPaths = ( 1130 | ); 1131 | runOnlyForDeploymentPostprocessing = 0; 1132 | shellPath = /bin/sh; 1133 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1134 | }; 1135 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1136 | isa = PBXShellScriptBuildPhase; 1137 | buildActionMask = 2147483647; 1138 | files = ( 1139 | ); 1140 | inputPaths = ( 1141 | ); 1142 | name = "Bundle React Native Code And Images"; 1143 | outputPaths = ( 1144 | ); 1145 | runOnlyForDeploymentPostprocessing = 0; 1146 | shellPath = /bin/sh; 1147 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1148 | }; 1149 | /* End PBXShellScriptBuildPhase section */ 1150 | 1151 | /* Begin PBXSourcesBuildPhase section */ 1152 | 00E356EA1AD99517003FC87E /* Sources */ = { 1153 | isa = PBXSourcesBuildPhase; 1154 | buildActionMask = 2147483647; 1155 | files = ( 1156 | 00E356F31AD99517003FC87E /* testConfigTests.m in Sources */, 1157 | ); 1158 | runOnlyForDeploymentPostprocessing = 0; 1159 | }; 1160 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1161 | isa = PBXSourcesBuildPhase; 1162 | buildActionMask = 2147483647; 1163 | files = ( 1164 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1165 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1166 | ); 1167 | runOnlyForDeploymentPostprocessing = 0; 1168 | }; 1169 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1170 | isa = PBXSourcesBuildPhase; 1171 | buildActionMask = 2147483647; 1172 | files = ( 1173 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1174 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1175 | ); 1176 | runOnlyForDeploymentPostprocessing = 0; 1177 | }; 1178 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1179 | isa = PBXSourcesBuildPhase; 1180 | buildActionMask = 2147483647; 1181 | files = ( 1182 | 2DCD954D1E0B4F2C00145EB5 /* testConfigTests.m in Sources */, 1183 | ); 1184 | runOnlyForDeploymentPostprocessing = 0; 1185 | }; 1186 | /* End PBXSourcesBuildPhase section */ 1187 | 1188 | /* Begin PBXTargetDependency section */ 1189 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1190 | isa = PBXTargetDependency; 1191 | target = 13B07F861A680F5B00A75B9A /* testConfig */; 1192 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1193 | }; 1194 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1195 | isa = PBXTargetDependency; 1196 | target = 2D02E47A1E0B4A5D006451C7 /* testConfig-tvOS */; 1197 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1198 | }; 1199 | /* End PBXTargetDependency section */ 1200 | 1201 | /* Begin PBXVariantGroup section */ 1202 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1203 | isa = PBXVariantGroup; 1204 | children = ( 1205 | 13B07FB21A68108700A75B9A /* Base */, 1206 | ); 1207 | name = LaunchScreen.xib; 1208 | path = testConfig; 1209 | sourceTree = ""; 1210 | }; 1211 | /* End PBXVariantGroup section */ 1212 | 1213 | /* Begin XCBuildConfiguration section */ 1214 | 00E356F61AD99517003FC87E /* Debug */ = { 1215 | isa = XCBuildConfiguration; 1216 | buildSettings = { 1217 | BUNDLE_LOADER = "$(TEST_HOST)"; 1218 | GCC_PREPROCESSOR_DEFINITIONS = ( 1219 | "DEBUG=1", 1220 | "$(inherited)", 1221 | ); 1222 | HEADER_SEARCH_PATHS = ( 1223 | "$(inherited)", 1224 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios", 1225 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios/**", 1226 | ); 1227 | INFOPLIST_FILE = testConfigTests/Info.plist; 1228 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1229 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1230 | LIBRARY_SEARCH_PATHS = ( 1231 | "$(inherited)", 1232 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1233 | ); 1234 | OTHER_LDFLAGS = ( 1235 | "-ObjC", 1236 | "-lc++", 1237 | ); 1238 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1239 | PRODUCT_NAME = "$(TARGET_NAME)"; 1240 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/testConfig.app/testConfig"; 1241 | }; 1242 | name = Debug; 1243 | }; 1244 | 00E356F71AD99517003FC87E /* Release */ = { 1245 | isa = XCBuildConfiguration; 1246 | buildSettings = { 1247 | BUNDLE_LOADER = "$(TEST_HOST)"; 1248 | COPY_PHASE_STRIP = NO; 1249 | HEADER_SEARCH_PATHS = ( 1250 | "$(inherited)", 1251 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios", 1252 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios/**", 1253 | ); 1254 | INFOPLIST_FILE = testConfigTests/Info.plist; 1255 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1256 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1257 | LIBRARY_SEARCH_PATHS = ( 1258 | "$(inherited)", 1259 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1260 | ); 1261 | OTHER_LDFLAGS = ( 1262 | "-ObjC", 1263 | "-lc++", 1264 | ); 1265 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1266 | PRODUCT_NAME = "$(TARGET_NAME)"; 1267 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/testConfig.app/testConfig"; 1268 | }; 1269 | name = Release; 1270 | }; 1271 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1272 | isa = XCBuildConfiguration; 1273 | buildSettings = { 1274 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1275 | CURRENT_PROJECT_VERSION = 1; 1276 | DEAD_CODE_STRIPPING = NO; 1277 | HEADER_SEARCH_PATHS = ( 1278 | "$(inherited)", 1279 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios", 1280 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios/**", 1281 | ); 1282 | INFOPLIST_FILE = testConfig/Info.plist; 1283 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1284 | OTHER_LDFLAGS = ( 1285 | "$(inherited)", 1286 | "-ObjC", 1287 | "-lc++", 1288 | ); 1289 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1290 | PRODUCT_NAME = testConfig; 1291 | VERSIONING_SYSTEM = "apple-generic"; 1292 | }; 1293 | name = Debug; 1294 | }; 1295 | 13B07F951A680F5B00A75B9A /* Release */ = { 1296 | isa = XCBuildConfiguration; 1297 | buildSettings = { 1298 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1299 | CURRENT_PROJECT_VERSION = 1; 1300 | HEADER_SEARCH_PATHS = ( 1301 | "$(inherited)", 1302 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios", 1303 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios/**", 1304 | ); 1305 | INFOPLIST_FILE = testConfig/Info.plist; 1306 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1307 | OTHER_LDFLAGS = ( 1308 | "$(inherited)", 1309 | "-ObjC", 1310 | "-lc++", 1311 | ); 1312 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1313 | PRODUCT_NAME = testConfig; 1314 | VERSIONING_SYSTEM = "apple-generic"; 1315 | }; 1316 | name = Release; 1317 | }; 1318 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1319 | isa = XCBuildConfiguration; 1320 | buildSettings = { 1321 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1322 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1323 | CLANG_ANALYZER_NONNULL = YES; 1324 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1325 | CLANG_WARN_INFINITE_RECURSION = YES; 1326 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1327 | DEBUG_INFORMATION_FORMAT = dwarf; 1328 | ENABLE_TESTABILITY = YES; 1329 | GCC_NO_COMMON_BLOCKS = YES; 1330 | HEADER_SEARCH_PATHS = ( 1331 | "$(inherited)", 1332 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios", 1333 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios/**", 1334 | ); 1335 | INFOPLIST_FILE = "testConfig-tvOS/Info.plist"; 1336 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1337 | LIBRARY_SEARCH_PATHS = ( 1338 | "$(inherited)", 1339 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1340 | ); 1341 | OTHER_LDFLAGS = ( 1342 | "-ObjC", 1343 | "-lc++", 1344 | ); 1345 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.testConfig-tvOS"; 1346 | PRODUCT_NAME = "$(TARGET_NAME)"; 1347 | SDKROOT = appletvos; 1348 | TARGETED_DEVICE_FAMILY = 3; 1349 | TVOS_DEPLOYMENT_TARGET = 9.2; 1350 | }; 1351 | name = Debug; 1352 | }; 1353 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1354 | isa = XCBuildConfiguration; 1355 | buildSettings = { 1356 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1357 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1358 | CLANG_ANALYZER_NONNULL = YES; 1359 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1360 | CLANG_WARN_INFINITE_RECURSION = YES; 1361 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1362 | COPY_PHASE_STRIP = NO; 1363 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1364 | GCC_NO_COMMON_BLOCKS = YES; 1365 | HEADER_SEARCH_PATHS = ( 1366 | "$(inherited)", 1367 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios", 1368 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios/**", 1369 | ); 1370 | INFOPLIST_FILE = "testConfig-tvOS/Info.plist"; 1371 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1372 | LIBRARY_SEARCH_PATHS = ( 1373 | "$(inherited)", 1374 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1375 | ); 1376 | OTHER_LDFLAGS = ( 1377 | "-ObjC", 1378 | "-lc++", 1379 | ); 1380 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.testConfig-tvOS"; 1381 | PRODUCT_NAME = "$(TARGET_NAME)"; 1382 | SDKROOT = appletvos; 1383 | TARGETED_DEVICE_FAMILY = 3; 1384 | TVOS_DEPLOYMENT_TARGET = 9.2; 1385 | }; 1386 | name = Release; 1387 | }; 1388 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1389 | isa = XCBuildConfiguration; 1390 | buildSettings = { 1391 | BUNDLE_LOADER = "$(TEST_HOST)"; 1392 | CLANG_ANALYZER_NONNULL = YES; 1393 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1394 | CLANG_WARN_INFINITE_RECURSION = YES; 1395 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1396 | DEBUG_INFORMATION_FORMAT = dwarf; 1397 | ENABLE_TESTABILITY = YES; 1398 | GCC_NO_COMMON_BLOCKS = YES; 1399 | HEADER_SEARCH_PATHS = ( 1400 | "$(inherited)", 1401 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios", 1402 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios/**", 1403 | ); 1404 | INFOPLIST_FILE = "testConfig-tvOSTests/Info.plist"; 1405 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1406 | LIBRARY_SEARCH_PATHS = ( 1407 | "$(inherited)", 1408 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1409 | ); 1410 | OTHER_LDFLAGS = ( 1411 | "-ObjC", 1412 | "-lc++", 1413 | ); 1414 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.testConfig-tvOSTests"; 1415 | PRODUCT_NAME = "$(TARGET_NAME)"; 1416 | SDKROOT = appletvos; 1417 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/testConfig-tvOS.app/testConfig-tvOS"; 1418 | TVOS_DEPLOYMENT_TARGET = 10.1; 1419 | }; 1420 | name = Debug; 1421 | }; 1422 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1423 | isa = XCBuildConfiguration; 1424 | buildSettings = { 1425 | BUNDLE_LOADER = "$(TEST_HOST)"; 1426 | CLANG_ANALYZER_NONNULL = YES; 1427 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1428 | CLANG_WARN_INFINITE_RECURSION = YES; 1429 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1430 | COPY_PHASE_STRIP = NO; 1431 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1432 | GCC_NO_COMMON_BLOCKS = YES; 1433 | HEADER_SEARCH_PATHS = ( 1434 | "$(inherited)", 1435 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios", 1436 | "$(SRCROOT)/../node_modules/react-native-config-reader/ios/**", 1437 | ); 1438 | INFOPLIST_FILE = "testConfig-tvOSTests/Info.plist"; 1439 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1440 | LIBRARY_SEARCH_PATHS = ( 1441 | "$(inherited)", 1442 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1443 | ); 1444 | OTHER_LDFLAGS = ( 1445 | "-ObjC", 1446 | "-lc++", 1447 | ); 1448 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.testConfig-tvOSTests"; 1449 | PRODUCT_NAME = "$(TARGET_NAME)"; 1450 | SDKROOT = appletvos; 1451 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/testConfig-tvOS.app/testConfig-tvOS"; 1452 | TVOS_DEPLOYMENT_TARGET = 10.1; 1453 | }; 1454 | name = Release; 1455 | }; 1456 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1457 | isa = XCBuildConfiguration; 1458 | buildSettings = { 1459 | ALWAYS_SEARCH_USER_PATHS = NO; 1460 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1461 | CLANG_CXX_LIBRARY = "libc++"; 1462 | CLANG_ENABLE_MODULES = YES; 1463 | CLANG_ENABLE_OBJC_ARC = YES; 1464 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1465 | CLANG_WARN_BOOL_CONVERSION = YES; 1466 | CLANG_WARN_COMMA = YES; 1467 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1468 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1469 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1470 | CLANG_WARN_EMPTY_BODY = YES; 1471 | CLANG_WARN_ENUM_CONVERSION = YES; 1472 | CLANG_WARN_INFINITE_RECURSION = YES; 1473 | CLANG_WARN_INT_CONVERSION = YES; 1474 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1475 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1476 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1477 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1478 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1479 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1480 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1481 | CLANG_WARN_UNREACHABLE_CODE = YES; 1482 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1483 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1484 | COPY_PHASE_STRIP = NO; 1485 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1486 | ENABLE_TESTABILITY = YES; 1487 | GCC_C_LANGUAGE_STANDARD = gnu99; 1488 | GCC_DYNAMIC_NO_PIC = NO; 1489 | GCC_NO_COMMON_BLOCKS = YES; 1490 | GCC_OPTIMIZATION_LEVEL = 0; 1491 | GCC_PREPROCESSOR_DEFINITIONS = ( 1492 | "DEBUG=1", 1493 | "$(inherited)", 1494 | ); 1495 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1496 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1497 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1498 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1499 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1500 | GCC_WARN_UNUSED_FUNCTION = YES; 1501 | GCC_WARN_UNUSED_VARIABLE = YES; 1502 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1503 | MTL_ENABLE_DEBUG_INFO = YES; 1504 | ONLY_ACTIVE_ARCH = YES; 1505 | SDKROOT = iphoneos; 1506 | }; 1507 | name = Debug; 1508 | }; 1509 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1510 | isa = XCBuildConfiguration; 1511 | buildSettings = { 1512 | ALWAYS_SEARCH_USER_PATHS = NO; 1513 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1514 | CLANG_CXX_LIBRARY = "libc++"; 1515 | CLANG_ENABLE_MODULES = YES; 1516 | CLANG_ENABLE_OBJC_ARC = YES; 1517 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1518 | CLANG_WARN_BOOL_CONVERSION = YES; 1519 | CLANG_WARN_COMMA = YES; 1520 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1521 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1522 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1523 | CLANG_WARN_EMPTY_BODY = YES; 1524 | CLANG_WARN_ENUM_CONVERSION = YES; 1525 | CLANG_WARN_INFINITE_RECURSION = YES; 1526 | CLANG_WARN_INT_CONVERSION = YES; 1527 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1528 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1529 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1530 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1531 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1532 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1533 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1534 | CLANG_WARN_UNREACHABLE_CODE = YES; 1535 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1536 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1537 | COPY_PHASE_STRIP = YES; 1538 | ENABLE_NS_ASSERTIONS = NO; 1539 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1540 | GCC_C_LANGUAGE_STANDARD = gnu99; 1541 | GCC_NO_COMMON_BLOCKS = YES; 1542 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1543 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1544 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1545 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1546 | GCC_WARN_UNUSED_FUNCTION = YES; 1547 | GCC_WARN_UNUSED_VARIABLE = YES; 1548 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1549 | MTL_ENABLE_DEBUG_INFO = NO; 1550 | SDKROOT = iphoneos; 1551 | VALIDATE_PRODUCT = YES; 1552 | }; 1553 | name = Release; 1554 | }; 1555 | /* End XCBuildConfiguration section */ 1556 | 1557 | /* Begin XCConfigurationList section */ 1558 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "testConfigTests" */ = { 1559 | isa = XCConfigurationList; 1560 | buildConfigurations = ( 1561 | 00E356F61AD99517003FC87E /* Debug */, 1562 | 00E356F71AD99517003FC87E /* Release */, 1563 | ); 1564 | defaultConfigurationIsVisible = 0; 1565 | defaultConfigurationName = Release; 1566 | }; 1567 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "testConfig" */ = { 1568 | isa = XCConfigurationList; 1569 | buildConfigurations = ( 1570 | 13B07F941A680F5B00A75B9A /* Debug */, 1571 | 13B07F951A680F5B00A75B9A /* Release */, 1572 | ); 1573 | defaultConfigurationIsVisible = 0; 1574 | defaultConfigurationName = Release; 1575 | }; 1576 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "testConfig-tvOS" */ = { 1577 | isa = XCConfigurationList; 1578 | buildConfigurations = ( 1579 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1580 | 2D02E4981E0B4A5E006451C7 /* Release */, 1581 | ); 1582 | defaultConfigurationIsVisible = 0; 1583 | defaultConfigurationName = Release; 1584 | }; 1585 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "testConfig-tvOSTests" */ = { 1586 | isa = XCConfigurationList; 1587 | buildConfigurations = ( 1588 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1589 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1590 | ); 1591 | defaultConfigurationIsVisible = 0; 1592 | defaultConfigurationName = Release; 1593 | }; 1594 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "testConfig" */ = { 1595 | isa = XCConfigurationList; 1596 | buildConfigurations = ( 1597 | 83CBBA201A601CBA00E9B192 /* Debug */, 1598 | 83CBBA211A601CBA00E9B192 /* Release */, 1599 | ); 1600 | defaultConfigurationIsVisible = 0; 1601 | defaultConfigurationName = Release; 1602 | }; 1603 | /* End XCConfigurationList section */ 1604 | }; 1605 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1606 | } 1607 | --------------------------------------------------------------------------------