├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── App.js ├── README.md ├── __tests__ └── App-test.js ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── build_defs.bzl │ ├── proguard-rules.pro │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── testmodule │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── 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 │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── keystores │ ├── BUCK │ └── debug.keystore.properties └── settings.gradle ├── app.json ├── babel.config.js ├── index.js ├── ios ├── Test.cpp ├── Test.h ├── TestBinding.cpp ├── TestBinding.h ├── TestModule-tvOS │ └── Info.plist ├── TestModule-tvOSTests │ └── Info.plist ├── TestModule.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── TestModule-tvOS.xcscheme │ │ └── TestModule.xcscheme ├── TestModule │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── TestModuleTests │ ├── Info.plist │ └── TestModuleTests.m ├── metro.config.js ├── package.json └── yarn.lock /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | ; Ignore metro 20 | .*/node_modules/metro/.* 21 | 22 | [include] 23 | 24 | [libs] 25 | node_modules/react-native/Libraries/react-native/react-native-interface.js 26 | node_modules/react-native/flow/ 27 | 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 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | 55 | # Bundle artifact 56 | *.jsbundle 57 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /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 | 12 | const instructions = Platform.select({ 13 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 14 | android: 15 | 'Double tap R on your keyboard to reload,\n' + 16 | 'Shake or press menu button for dev menu', 17 | }); 18 | 19 | type Props = {}; 20 | export default class App extends Component { 21 | render() { 22 | console.warn(global.nativeTest.runTest()); 23 | return ( 24 | 25 | Welcome to React Native! 26 | To get started, edit App.js 27 | {instructions} 28 | 29 | ); 30 | } 31 | } 32 | 33 | const styles = StyleSheet.create({ 34 | container: { 35 | flex: 1, 36 | justifyContent: 'center', 37 | alignItems: 'center', 38 | backgroundColor: '#F5FCFF', 39 | }, 40 | welcome: { 41 | fontSize: 20, 42 | textAlign: 'center', 43 | margin: 10, 44 | }, 45 | instructions: { 46 | textAlign: 'center', 47 | color: '#333333', 48 | marginBottom: 5, 49 | }, 50 | }); 51 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # react-native-hostobject-demo 2 | 3 | ## don't actually use this 4 | It's just a demonstration, TurboModules makes all of this cleaner & easier. 5 | 6 | This is a demonstration of how to use the new JavaScript Interface in React Native for creating native modules (HostObjects) that can be called directly from JavaScript without going through the React Native Bridge. 7 | 8 | For an in-depth explanation please read this story on Medium: 9 | 10 | 11 | -------------------------------------------------------------------------------- /__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 | -------------------------------------------------------------------------------- /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.testmodule", 39 | ) 40 | 41 | android_resource( 42 | name = "res", 43 | package = "com.testmodule", 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 | -------------------------------------------------------------------------------- /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.testmodule" 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 fileTree(dir: "libs", include: ["*.jar"]) 142 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" 143 | implementation "com.facebook.react:react-native:+" // From node_modules 144 | } 145 | 146 | // Run this once to be able to run the application with BUCK 147 | // puts all compile dependencies into folder libs for BUCK to use 148 | task copyDownloadableDepsToLibs(type: Copy) { 149 | from configurations.compile 150 | into 'libs' 151 | } 152 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 13 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/testmodule/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.testmodule; 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 "TestModule"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/testmodule/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.testmodule; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.facebook.react.ReactNativeHost; 7 | import com.facebook.react.ReactPackage; 8 | import com.facebook.react.shell.MainReactPackage; 9 | import com.facebook.soloader.SoLoader; 10 | 11 | import java.util.Arrays; 12 | import java.util.List; 13 | 14 | public class MainApplication extends Application implements ReactApplication { 15 | 16 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 17 | @Override 18 | public boolean getUseDeveloperSupport() { 19 | return BuildConfig.DEBUG; 20 | } 21 | 22 | @Override 23 | protected List getPackages() { 24 | return Arrays.asList( 25 | new MainReactPackage() 26 | ); 27 | } 28 | 29 | @Override 30 | protected String getJSMainModuleName() { 31 | return "index"; 32 | } 33 | }; 34 | 35 | @Override 36 | public ReactNativeHost getReactNativeHost() { 37 | return mReactNativeHost; 38 | } 39 | 40 | @Override 41 | public void onCreate() { 42 | super.onCreate(); 43 | SoLoader.init(this, /* native exopackage */ false); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericlewis/react-native-hostobject-demo/90066543dffd2126018beaac70010e7ff81b4faf/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericlewis/react-native-hostobject-demo/90066543dffd2126018beaac70010e7ff81b4faf/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericlewis/react-native-hostobject-demo/90066543dffd2126018beaac70010e7ff81b4faf/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericlewis/react-native-hostobject-demo/90066543dffd2126018beaac70010e7ff81b4faf/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericlewis/react-native-hostobject-demo/90066543dffd2126018beaac70010e7ff81b4faf/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericlewis/react-native-hostobject-demo/90066543dffd2126018beaac70010e7ff81b4faf/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericlewis/react-native-hostobject-demo/90066543dffd2126018beaac70010e7ff81b4faf/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericlewis/react-native-hostobject-demo/90066543dffd2126018beaac70010e7ff81b4faf/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericlewis/react-native-hostobject-demo/90066543dffd2126018beaac70010e7ff81b4faf/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericlewis/react-native-hostobject-demo/90066543dffd2126018beaac70010e7ff81b4faf/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | TestModule 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | 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/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/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericlewis/react-native-hostobject-demo/90066543dffd2126018beaac70010e7ff81b4faf/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'TestModule' 2 | 3 | include ':app' 4 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TestModule", 3 | "displayName": "TestModule" 4 | } -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /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/Test.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2004-present Facebook. All Rights Reserved. 2 | 3 | #include "Test.h" 4 | 5 | namespace example { 6 | int Test::runTest() const { 7 | return 1337; 8 | } 9 | } // namespace facebook 10 | -------------------------------------------------------------------------------- /ios/Test.h: -------------------------------------------------------------------------------- 1 | // Copyright 2004-present Facebook. All Rights Reserved. 2 | 3 | #pragma once 4 | 5 | #include 6 | 7 | namespace example { 8 | 9 | class Test { 10 | private: 11 | friend class TestBinding; 12 | 13 | int runTest() const; 14 | }; 15 | 16 | } // namespace example 17 | -------------------------------------------------------------------------------- /ios/TestBinding.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2004-present Facebook. All Rights Reserved. 2 | 3 | #include "TestBinding.h" 4 | 5 | #include "Test.h" 6 | #include 7 | 8 | namespace example { 9 | 10 | static jsi::Object getModule( 11 | jsi::Runtime &runtime, 12 | const std::string &moduleName) { 13 | auto batchedBridge = 14 | runtime.global().getPropertyAsObject(runtime, "__fbBatchedBridge"); 15 | auto getCallableModule = 16 | batchedBridge.getPropertyAsFunction(runtime, "getCallableModule"); 17 | auto module = getCallableModule 18 | .callWithThis( 19 | runtime, 20 | batchedBridge, 21 | {jsi::String::createFromUtf8(runtime, moduleName)}) 22 | .asObject(runtime); 23 | return module; 24 | } 25 | 26 | void TestBinding::install( 27 | jsi::Runtime &runtime, 28 | std::shared_ptr testBinding) { 29 | auto testModuleName = "nativeTest"; 30 | auto object = jsi::Object::createFromHostObject(runtime, testBinding); 31 | runtime.global().setProperty(runtime, testModuleName, std::move(object)); 32 | } 33 | 34 | TestBinding::TestBinding(std::unique_ptr test) 35 | : test_(std::move(test)) {} 36 | 37 | jsi::Value TestBinding::get( 38 | jsi::Runtime &runtime, 39 | const jsi::PropNameID &name) { 40 | auto methodName = name.utf8(runtime); 41 | auto &test = *test_; 42 | 43 | if (methodName == "runTest") { 44 | return jsi::Function::createFromHostFunction(runtime, name, 0, [&test]( 45 | jsi::Runtime &runtime, 46 | const jsi::Value &thisValue, 47 | const jsi::Value *arguments, 48 | size_t count) -> jsi::Value { 49 | return test.runTest(); 50 | }); 51 | } 52 | 53 | return jsi::Value::undefined(); 54 | } 55 | 56 | } // namespace example 57 | -------------------------------------------------------------------------------- /ios/TestBinding.h: -------------------------------------------------------------------------------- 1 | // Copyright 2004-present Facebook. All Rights Reserved. 2 | 3 | #pragma once 4 | 5 | #include "Test.h" 6 | #include 7 | 8 | using namespace facebook; 9 | 10 | namespace example { 11 | 12 | /* 13 | * Exposes Test to JavaScript realm. 14 | */ 15 | class TestBinding : public jsi::HostObject { 16 | public: 17 | /* 18 | * Installs TestBinding into JavaSctipt runtime. 19 | * Thread synchronization must be enforced externally. 20 | */ 21 | static void install( 22 | jsi::Runtime &runtime, 23 | std::shared_ptr testBinding); 24 | 25 | TestBinding(std::unique_ptr test); 26 | 27 | /* 28 | * `jsi::HostObject` specific overloads. 29 | */ 30 | jsi::Value get(jsi::Runtime &runtime, const jsi::PropNameID &name) override; 31 | 32 | private: 33 | std::unique_ptr test_; 34 | }; 35 | 36 | } // namespace example 37 | -------------------------------------------------------------------------------- /ios/TestModule-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /ios/TestModule-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/TestModule.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 /* TestModuleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* TestModuleTests.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 /* TestModuleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* TestModuleTests.m */; }; 38 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 39 | 68E307DC2262762A00B130DF /* TestBinding.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 68E307DA2262762A00B130DF /* TestBinding.cpp */; }; 40 | 68E3080C2262781F00B130DF /* Test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 68E3080A2262781F00B130DF /* Test.cpp */; }; 41 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 42 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 43 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; }; 44 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED2971642150620600B7C4FE /* JavaScriptCore.framework */; }; 45 | /* End PBXBuildFile section */ 46 | 47 | /* Begin PBXContainerItemProxy section */ 48 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 49 | isa = PBXContainerItemProxy; 50 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 51 | proxyType = 2; 52 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 53 | remoteInfo = RCTActionSheet; 54 | }; 55 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 56 | isa = PBXContainerItemProxy; 57 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 58 | proxyType = 2; 59 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 60 | remoteInfo = RCTGeolocation; 61 | }; 62 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 63 | isa = PBXContainerItemProxy; 64 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 65 | proxyType = 2; 66 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 67 | remoteInfo = RCTImage; 68 | }; 69 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 70 | isa = PBXContainerItemProxy; 71 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 72 | proxyType = 2; 73 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 74 | remoteInfo = RCTNetwork; 75 | }; 76 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 77 | isa = PBXContainerItemProxy; 78 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 79 | proxyType = 2; 80 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 81 | remoteInfo = RCTVibration; 82 | }; 83 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 84 | isa = PBXContainerItemProxy; 85 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 86 | proxyType = 1; 87 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 88 | remoteInfo = TestModule; 89 | }; 90 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 91 | isa = PBXContainerItemProxy; 92 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 93 | proxyType = 2; 94 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 95 | remoteInfo = RCTSettings; 96 | }; 97 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 98 | isa = PBXContainerItemProxy; 99 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 100 | proxyType = 2; 101 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 102 | remoteInfo = RCTWebSocket; 103 | }; 104 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 105 | isa = PBXContainerItemProxy; 106 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 107 | proxyType = 2; 108 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 109 | remoteInfo = React; 110 | }; 111 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 112 | isa = PBXContainerItemProxy; 113 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 114 | proxyType = 1; 115 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 116 | remoteInfo = "TestModule-tvOS"; 117 | }; 118 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 119 | isa = PBXContainerItemProxy; 120 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 121 | proxyType = 2; 122 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 123 | remoteInfo = "RCTBlob-tvOS"; 124 | }; 125 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 126 | isa = PBXContainerItemProxy; 127 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 128 | proxyType = 2; 129 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 130 | remoteInfo = fishhook; 131 | }; 132 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 133 | isa = PBXContainerItemProxy; 134 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 135 | proxyType = 2; 136 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 137 | remoteInfo = "fishhook-tvOS"; 138 | }; 139 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = { 140 | isa = PBXContainerItemProxy; 141 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 142 | proxyType = 2; 143 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5; 144 | remoteInfo = jsinspector; 145 | }; 146 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = { 147 | isa = PBXContainerItemProxy; 148 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 149 | proxyType = 2; 150 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; 151 | remoteInfo = "jsinspector-tvOS"; 152 | }; 153 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = { 154 | isa = PBXContainerItemProxy; 155 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 156 | proxyType = 2; 157 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 158 | remoteInfo = "third-party"; 159 | }; 160 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = { 161 | isa = PBXContainerItemProxy; 162 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 163 | proxyType = 2; 164 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 165 | remoteInfo = "third-party-tvOS"; 166 | }; 167 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = { 168 | isa = PBXContainerItemProxy; 169 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 170 | proxyType = 2; 171 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 172 | remoteInfo = "double-conversion"; 173 | }; 174 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = { 175 | isa = PBXContainerItemProxy; 176 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 177 | proxyType = 2; 178 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 179 | remoteInfo = "double-conversion-tvOS"; 180 | }; 181 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 182 | isa = PBXContainerItemProxy; 183 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 184 | proxyType = 2; 185 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 186 | remoteInfo = "RCTImage-tvOS"; 187 | }; 188 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 189 | isa = PBXContainerItemProxy; 190 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 191 | proxyType = 2; 192 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 193 | remoteInfo = "RCTLinking-tvOS"; 194 | }; 195 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 196 | isa = PBXContainerItemProxy; 197 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 198 | proxyType = 2; 199 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 200 | remoteInfo = "RCTNetwork-tvOS"; 201 | }; 202 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 203 | isa = PBXContainerItemProxy; 204 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 205 | proxyType = 2; 206 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 207 | remoteInfo = "RCTSettings-tvOS"; 208 | }; 209 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 210 | isa = PBXContainerItemProxy; 211 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 212 | proxyType = 2; 213 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 214 | remoteInfo = "RCTText-tvOS"; 215 | }; 216 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 217 | isa = PBXContainerItemProxy; 218 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 219 | proxyType = 2; 220 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 221 | remoteInfo = "RCTWebSocket-tvOS"; 222 | }; 223 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 224 | isa = PBXContainerItemProxy; 225 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 226 | proxyType = 2; 227 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 228 | remoteInfo = "React-tvOS"; 229 | }; 230 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 231 | isa = PBXContainerItemProxy; 232 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 233 | proxyType = 2; 234 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 235 | remoteInfo = yoga; 236 | }; 237 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 238 | isa = PBXContainerItemProxy; 239 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 240 | proxyType = 2; 241 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 242 | remoteInfo = "yoga-tvOS"; 243 | }; 244 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 245 | isa = PBXContainerItemProxy; 246 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 247 | proxyType = 2; 248 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 249 | remoteInfo = cxxreact; 250 | }; 251 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 252 | isa = PBXContainerItemProxy; 253 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 254 | proxyType = 2; 255 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 256 | remoteInfo = "cxxreact-tvOS"; 257 | }; 258 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 259 | isa = PBXContainerItemProxy; 260 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 261 | proxyType = 2; 262 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 263 | remoteInfo = RCTAnimation; 264 | }; 265 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 266 | isa = PBXContainerItemProxy; 267 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 268 | proxyType = 2; 269 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 270 | remoteInfo = "RCTAnimation-tvOS"; 271 | }; 272 | 68E308022262762D00B130DF /* PBXContainerItemProxy */ = { 273 | isa = PBXContainerItemProxy; 274 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 275 | proxyType = 2; 276 | remoteGlobalIDString = EDEBC6D6214B3E7000DD5AC8; 277 | remoteInfo = jsi; 278 | }; 279 | 68E308042262762D00B130DF /* PBXContainerItemProxy */ = { 280 | isa = PBXContainerItemProxy; 281 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 282 | proxyType = 2; 283 | remoteGlobalIDString = EDEBC73B214B45A300DD5AC8; 284 | remoteInfo = jsiexecutor; 285 | }; 286 | 68E308062262762D00B130DF /* PBXContainerItemProxy */ = { 287 | isa = PBXContainerItemProxy; 288 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 289 | proxyType = 2; 290 | remoteGlobalIDString = ED296FB6214C9A0900B7C4FE; 291 | remoteInfo = "jsi-tvOS"; 292 | }; 293 | 68E308082262762D00B130DF /* PBXContainerItemProxy */ = { 294 | isa = PBXContainerItemProxy; 295 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 296 | proxyType = 2; 297 | remoteGlobalIDString = ED296FEE214C9CF800B7C4FE; 298 | remoteInfo = "jsiexecutor-tvOS"; 299 | }; 300 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 301 | isa = PBXContainerItemProxy; 302 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 303 | proxyType = 2; 304 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 305 | remoteInfo = RCTLinking; 306 | }; 307 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 308 | isa = PBXContainerItemProxy; 309 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 310 | proxyType = 2; 311 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 312 | remoteInfo = RCTText; 313 | }; 314 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 315 | isa = PBXContainerItemProxy; 316 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 317 | proxyType = 2; 318 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 319 | remoteInfo = RCTBlob; 320 | }; 321 | /* End PBXContainerItemProxy section */ 322 | 323 | /* Begin PBXFileReference section */ 324 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 325 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 326 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 327 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 328 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 329 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 330 | 00E356EE1AD99517003FC87E /* TestModuleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TestModuleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 331 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 332 | 00E356F21AD99517003FC87E /* TestModuleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TestModuleTests.m; sourceTree = ""; }; 333 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 334 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 335 | 13B07F961A680F5B00A75B9A /* TestModule.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TestModule.app; sourceTree = BUILT_PRODUCTS_DIR; }; 336 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = TestModule/AppDelegate.h; sourceTree = ""; }; 337 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; fileEncoding = 4; name = AppDelegate.m; path = TestModule/AppDelegate.m; sourceTree = ""; }; 338 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 339 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = TestModule/Images.xcassets; sourceTree = ""; }; 340 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = TestModule/Info.plist; sourceTree = ""; }; 341 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = TestModule/main.m; sourceTree = ""; }; 342 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 343 | 2D02E47B1E0B4A5D006451C7 /* TestModule-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "TestModule-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 344 | 2D02E4901E0B4A5D006451C7 /* TestModule-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "TestModule-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 345 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 346 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 347 | 68E307DA2262762A00B130DF /* TestBinding.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TestBinding.cpp; sourceTree = ""; }; 348 | 68E307DB2262762A00B130DF /* TestBinding.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TestBinding.h; sourceTree = ""; }; 349 | 68E3080A2262781F00B130DF /* Test.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = Test.cpp; sourceTree = ""; }; 350 | 68E3080B2262781F00B130DF /* Test.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Test.h; sourceTree = ""; }; 351 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 352 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 353 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 354 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 355 | 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; }; 356 | /* End PBXFileReference section */ 357 | 358 | /* Begin PBXFrameworksBuildPhase section */ 359 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 360 | isa = PBXFrameworksBuildPhase; 361 | buildActionMask = 2147483647; 362 | files = ( 363 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 364 | ); 365 | runOnlyForDeploymentPostprocessing = 0; 366 | }; 367 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 368 | isa = PBXFrameworksBuildPhase; 369 | buildActionMask = 2147483647; 370 | files = ( 371 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */, 372 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 373 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */, 374 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 375 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 376 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 377 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 378 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 379 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 380 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 381 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 382 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 383 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 384 | ); 385 | runOnlyForDeploymentPostprocessing = 0; 386 | }; 387 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 388 | isa = PBXFrameworksBuildPhase; 389 | buildActionMask = 2147483647; 390 | files = ( 391 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */, 392 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 393 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 394 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 395 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 396 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 397 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 398 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 399 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 400 | ); 401 | runOnlyForDeploymentPostprocessing = 0; 402 | }; 403 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 404 | isa = PBXFrameworksBuildPhase; 405 | buildActionMask = 2147483647; 406 | files = ( 407 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */, 408 | ); 409 | runOnlyForDeploymentPostprocessing = 0; 410 | }; 411 | /* End PBXFrameworksBuildPhase section */ 412 | 413 | /* Begin PBXGroup section */ 414 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 415 | isa = PBXGroup; 416 | children = ( 417 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 418 | ); 419 | name = Products; 420 | sourceTree = ""; 421 | }; 422 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 423 | isa = PBXGroup; 424 | children = ( 425 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 426 | ); 427 | name = Products; 428 | sourceTree = ""; 429 | }; 430 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 431 | isa = PBXGroup; 432 | children = ( 433 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 434 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 435 | ); 436 | name = Products; 437 | sourceTree = ""; 438 | }; 439 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 440 | isa = PBXGroup; 441 | children = ( 442 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 443 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 444 | ); 445 | name = Products; 446 | sourceTree = ""; 447 | }; 448 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 449 | isa = PBXGroup; 450 | children = ( 451 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 452 | ); 453 | name = Products; 454 | sourceTree = ""; 455 | }; 456 | 00E356EF1AD99517003FC87E /* TestModuleTests */ = { 457 | isa = PBXGroup; 458 | children = ( 459 | 00E356F21AD99517003FC87E /* TestModuleTests.m */, 460 | 00E356F01AD99517003FC87E /* Supporting Files */, 461 | ); 462 | path = TestModuleTests; 463 | sourceTree = ""; 464 | }; 465 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 466 | isa = PBXGroup; 467 | children = ( 468 | 00E356F11AD99517003FC87E /* Info.plist */, 469 | ); 470 | name = "Supporting Files"; 471 | sourceTree = ""; 472 | }; 473 | 139105B71AF99BAD00B5F7CC /* Products */ = { 474 | isa = PBXGroup; 475 | children = ( 476 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 477 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 478 | ); 479 | name = Products; 480 | sourceTree = ""; 481 | }; 482 | 139FDEE71B06529A00C62182 /* Products */ = { 483 | isa = PBXGroup; 484 | children = ( 485 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 486 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 487 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, 488 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, 489 | ); 490 | name = Products; 491 | sourceTree = ""; 492 | }; 493 | 13B07FAE1A68108700A75B9A /* TestModule */ = { 494 | isa = PBXGroup; 495 | children = ( 496 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 497 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 498 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 499 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 500 | 13B07FB61A68108700A75B9A /* Info.plist */, 501 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 502 | 13B07FB71A68108700A75B9A /* main.m */, 503 | 68E307DA2262762A00B130DF /* TestBinding.cpp */, 504 | 68E307DB2262762A00B130DF /* TestBinding.h */, 505 | 68E3080A2262781F00B130DF /* Test.cpp */, 506 | 68E3080B2262781F00B130DF /* Test.h */, 507 | ); 508 | name = TestModule; 509 | sourceTree = ""; 510 | }; 511 | 146834001AC3E56700842450 /* Products */ = { 512 | isa = PBXGroup; 513 | children = ( 514 | 146834041AC3E56700842450 /* libReact.a */, 515 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 516 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 517 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 518 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 519 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 520 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */, 521 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */, 522 | 2DF0FFE32056DD460020B375 /* libthird-party.a */, 523 | 2DF0FFE52056DD460020B375 /* libthird-party.a */, 524 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */, 525 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */, 526 | 68E308032262762D00B130DF /* libjsi.a */, 527 | 68E308052262762D00B130DF /* libjsiexecutor.a */, 528 | 68E308072262762D00B130DF /* libjsi-tvOS.a */, 529 | 68E308092262762D00B130DF /* libjsiexecutor-tvOS.a */, 530 | ); 531 | name = Products; 532 | sourceTree = ""; 533 | }; 534 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 535 | isa = PBXGroup; 536 | children = ( 537 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 538 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */, 539 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 540 | ); 541 | name = Frameworks; 542 | sourceTree = ""; 543 | }; 544 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 545 | isa = PBXGroup; 546 | children = ( 547 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 548 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 549 | ); 550 | name = Products; 551 | sourceTree = ""; 552 | }; 553 | 78C398B11ACF4ADC00677621 /* Products */ = { 554 | isa = PBXGroup; 555 | children = ( 556 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 557 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 558 | ); 559 | name = Products; 560 | sourceTree = ""; 561 | }; 562 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 563 | isa = PBXGroup; 564 | children = ( 565 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 566 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 567 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 568 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 569 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 570 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 571 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 572 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 573 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 574 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 575 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 576 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 577 | ); 578 | name = Libraries; 579 | sourceTree = ""; 580 | }; 581 | 832341B11AAA6A8300B99B32 /* Products */ = { 582 | isa = PBXGroup; 583 | children = ( 584 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 585 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 586 | ); 587 | name = Products; 588 | sourceTree = ""; 589 | }; 590 | 83CBB9F61A601CBA00E9B192 = { 591 | isa = PBXGroup; 592 | children = ( 593 | 13B07FAE1A68108700A75B9A /* TestModule */, 594 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 595 | 00E356EF1AD99517003FC87E /* TestModuleTests */, 596 | 83CBBA001A601CBA00E9B192 /* Products */, 597 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 598 | ); 599 | indentWidth = 2; 600 | sourceTree = ""; 601 | tabWidth = 2; 602 | usesTabs = 0; 603 | }; 604 | 83CBBA001A601CBA00E9B192 /* Products */ = { 605 | isa = PBXGroup; 606 | children = ( 607 | 13B07F961A680F5B00A75B9A /* TestModule.app */, 608 | 00E356EE1AD99517003FC87E /* TestModuleTests.xctest */, 609 | 2D02E47B1E0B4A5D006451C7 /* TestModule-tvOS.app */, 610 | 2D02E4901E0B4A5D006451C7 /* TestModule-tvOSTests.xctest */, 611 | ); 612 | name = Products; 613 | sourceTree = ""; 614 | }; 615 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 616 | isa = PBXGroup; 617 | children = ( 618 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 619 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, 620 | ); 621 | name = Products; 622 | sourceTree = ""; 623 | }; 624 | /* End PBXGroup section */ 625 | 626 | /* Begin PBXNativeTarget section */ 627 | 00E356ED1AD99517003FC87E /* TestModuleTests */ = { 628 | isa = PBXNativeTarget; 629 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "TestModuleTests" */; 630 | buildPhases = ( 631 | 00E356EA1AD99517003FC87E /* Sources */, 632 | 00E356EB1AD99517003FC87E /* Frameworks */, 633 | 00E356EC1AD99517003FC87E /* Resources */, 634 | ); 635 | buildRules = ( 636 | ); 637 | dependencies = ( 638 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 639 | ); 640 | name = TestModuleTests; 641 | productName = TestModuleTests; 642 | productReference = 00E356EE1AD99517003FC87E /* TestModuleTests.xctest */; 643 | productType = "com.apple.product-type.bundle.unit-test"; 644 | }; 645 | 13B07F861A680F5B00A75B9A /* TestModule */ = { 646 | isa = PBXNativeTarget; 647 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "TestModule" */; 648 | buildPhases = ( 649 | 13B07F871A680F5B00A75B9A /* Sources */, 650 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 651 | 13B07F8E1A680F5B00A75B9A /* Resources */, 652 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 653 | ); 654 | buildRules = ( 655 | ); 656 | dependencies = ( 657 | ); 658 | name = TestModule; 659 | productName = "Hello World"; 660 | productReference = 13B07F961A680F5B00A75B9A /* TestModule.app */; 661 | productType = "com.apple.product-type.application"; 662 | }; 663 | 2D02E47A1E0B4A5D006451C7 /* TestModule-tvOS */ = { 664 | isa = PBXNativeTarget; 665 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "TestModule-tvOS" */; 666 | buildPhases = ( 667 | 2D02E4771E0B4A5D006451C7 /* Sources */, 668 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 669 | 2D02E4791E0B4A5D006451C7 /* Resources */, 670 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 671 | ); 672 | buildRules = ( 673 | ); 674 | dependencies = ( 675 | ); 676 | name = "TestModule-tvOS"; 677 | productName = "TestModule-tvOS"; 678 | productReference = 2D02E47B1E0B4A5D006451C7 /* TestModule-tvOS.app */; 679 | productType = "com.apple.product-type.application"; 680 | }; 681 | 2D02E48F1E0B4A5D006451C7 /* TestModule-tvOSTests */ = { 682 | isa = PBXNativeTarget; 683 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "TestModule-tvOSTests" */; 684 | buildPhases = ( 685 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 686 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 687 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 688 | ); 689 | buildRules = ( 690 | ); 691 | dependencies = ( 692 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 693 | ); 694 | name = "TestModule-tvOSTests"; 695 | productName = "TestModule-tvOSTests"; 696 | productReference = 2D02E4901E0B4A5D006451C7 /* TestModule-tvOSTests.xctest */; 697 | productType = "com.apple.product-type.bundle.unit-test"; 698 | }; 699 | /* End PBXNativeTarget section */ 700 | 701 | /* Begin PBXProject section */ 702 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 703 | isa = PBXProject; 704 | attributes = { 705 | LastUpgradeCheck = 0940; 706 | ORGANIZATIONNAME = Facebook; 707 | TargetAttributes = { 708 | 00E356ED1AD99517003FC87E = { 709 | CreatedOnToolsVersion = 6.2; 710 | TestTargetID = 13B07F861A680F5B00A75B9A; 711 | }; 712 | 2D02E47A1E0B4A5D006451C7 = { 713 | CreatedOnToolsVersion = 8.2.1; 714 | ProvisioningStyle = Automatic; 715 | }; 716 | 2D02E48F1E0B4A5D006451C7 = { 717 | CreatedOnToolsVersion = 8.2.1; 718 | ProvisioningStyle = Automatic; 719 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 720 | }; 721 | }; 722 | }; 723 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "TestModule" */; 724 | compatibilityVersion = "Xcode 3.2"; 725 | developmentRegion = English; 726 | hasScannedForEncodings = 0; 727 | knownRegions = ( 728 | English, 729 | en, 730 | Base, 731 | ); 732 | mainGroup = 83CBB9F61A601CBA00E9B192; 733 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 734 | projectDirPath = ""; 735 | projectReferences = ( 736 | { 737 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 738 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 739 | }, 740 | { 741 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 742 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 743 | }, 744 | { 745 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 746 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 747 | }, 748 | { 749 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 750 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 751 | }, 752 | { 753 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 754 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 755 | }, 756 | { 757 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 758 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 759 | }, 760 | { 761 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 762 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 763 | }, 764 | { 765 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 766 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 767 | }, 768 | { 769 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 770 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 771 | }, 772 | { 773 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 774 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 775 | }, 776 | { 777 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 778 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 779 | }, 780 | { 781 | ProductGroup = 146834001AC3E56700842450 /* Products */; 782 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 783 | }, 784 | ); 785 | projectRoot = ""; 786 | targets = ( 787 | 13B07F861A680F5B00A75B9A /* TestModule */, 788 | 00E356ED1AD99517003FC87E /* TestModuleTests */, 789 | 2D02E47A1E0B4A5D006451C7 /* TestModule-tvOS */, 790 | 2D02E48F1E0B4A5D006451C7 /* TestModule-tvOSTests */, 791 | ); 792 | }; 793 | /* End PBXProject section */ 794 | 795 | /* Begin PBXReferenceProxy section */ 796 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 797 | isa = PBXReferenceProxy; 798 | fileType = archive.ar; 799 | path = libRCTActionSheet.a; 800 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 801 | sourceTree = BUILT_PRODUCTS_DIR; 802 | }; 803 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 804 | isa = PBXReferenceProxy; 805 | fileType = archive.ar; 806 | path = libRCTGeolocation.a; 807 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 808 | sourceTree = BUILT_PRODUCTS_DIR; 809 | }; 810 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 811 | isa = PBXReferenceProxy; 812 | fileType = archive.ar; 813 | path = libRCTImage.a; 814 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 815 | sourceTree = BUILT_PRODUCTS_DIR; 816 | }; 817 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 818 | isa = PBXReferenceProxy; 819 | fileType = archive.ar; 820 | path = libRCTNetwork.a; 821 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 822 | sourceTree = BUILT_PRODUCTS_DIR; 823 | }; 824 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 825 | isa = PBXReferenceProxy; 826 | fileType = archive.ar; 827 | path = libRCTVibration.a; 828 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 829 | sourceTree = BUILT_PRODUCTS_DIR; 830 | }; 831 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 832 | isa = PBXReferenceProxy; 833 | fileType = archive.ar; 834 | path = libRCTSettings.a; 835 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 836 | sourceTree = BUILT_PRODUCTS_DIR; 837 | }; 838 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 839 | isa = PBXReferenceProxy; 840 | fileType = archive.ar; 841 | path = libRCTWebSocket.a; 842 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 843 | sourceTree = BUILT_PRODUCTS_DIR; 844 | }; 845 | 146834041AC3E56700842450 /* libReact.a */ = { 846 | isa = PBXReferenceProxy; 847 | fileType = archive.ar; 848 | path = libReact.a; 849 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 850 | sourceTree = BUILT_PRODUCTS_DIR; 851 | }; 852 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { 853 | isa = PBXReferenceProxy; 854 | fileType = archive.ar; 855 | path = "libRCTBlob-tvOS.a"; 856 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; 857 | sourceTree = BUILT_PRODUCTS_DIR; 858 | }; 859 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { 860 | isa = PBXReferenceProxy; 861 | fileType = archive.ar; 862 | path = libfishhook.a; 863 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; 864 | sourceTree = BUILT_PRODUCTS_DIR; 865 | }; 866 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { 867 | isa = PBXReferenceProxy; 868 | fileType = archive.ar; 869 | path = "libfishhook-tvOS.a"; 870 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; 871 | sourceTree = BUILT_PRODUCTS_DIR; 872 | }; 873 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = { 874 | isa = PBXReferenceProxy; 875 | fileType = archive.ar; 876 | path = libjsinspector.a; 877 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */; 878 | sourceTree = BUILT_PRODUCTS_DIR; 879 | }; 880 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = { 881 | isa = PBXReferenceProxy; 882 | fileType = archive.ar; 883 | path = "libjsinspector-tvOS.a"; 884 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */; 885 | sourceTree = BUILT_PRODUCTS_DIR; 886 | }; 887 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = { 888 | isa = PBXReferenceProxy; 889 | fileType = archive.ar; 890 | path = "libthird-party.a"; 891 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */; 892 | sourceTree = BUILT_PRODUCTS_DIR; 893 | }; 894 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = { 895 | isa = PBXReferenceProxy; 896 | fileType = archive.ar; 897 | path = "libthird-party.a"; 898 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */; 899 | sourceTree = BUILT_PRODUCTS_DIR; 900 | }; 901 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = { 902 | isa = PBXReferenceProxy; 903 | fileType = archive.ar; 904 | path = "libdouble-conversion.a"; 905 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */; 906 | sourceTree = BUILT_PRODUCTS_DIR; 907 | }; 908 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = { 909 | isa = PBXReferenceProxy; 910 | fileType = archive.ar; 911 | path = "libdouble-conversion.a"; 912 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */; 913 | sourceTree = BUILT_PRODUCTS_DIR; 914 | }; 915 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 916 | isa = PBXReferenceProxy; 917 | fileType = archive.ar; 918 | path = "libRCTImage-tvOS.a"; 919 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 920 | sourceTree = BUILT_PRODUCTS_DIR; 921 | }; 922 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 923 | isa = PBXReferenceProxy; 924 | fileType = archive.ar; 925 | path = "libRCTLinking-tvOS.a"; 926 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 927 | sourceTree = BUILT_PRODUCTS_DIR; 928 | }; 929 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 930 | isa = PBXReferenceProxy; 931 | fileType = archive.ar; 932 | path = "libRCTNetwork-tvOS.a"; 933 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 934 | sourceTree = BUILT_PRODUCTS_DIR; 935 | }; 936 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 937 | isa = PBXReferenceProxy; 938 | fileType = archive.ar; 939 | path = "libRCTSettings-tvOS.a"; 940 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 941 | sourceTree = BUILT_PRODUCTS_DIR; 942 | }; 943 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 944 | isa = PBXReferenceProxy; 945 | fileType = archive.ar; 946 | path = "libRCTText-tvOS.a"; 947 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 948 | sourceTree = BUILT_PRODUCTS_DIR; 949 | }; 950 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 951 | isa = PBXReferenceProxy; 952 | fileType = archive.ar; 953 | path = "libRCTWebSocket-tvOS.a"; 954 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 955 | sourceTree = BUILT_PRODUCTS_DIR; 956 | }; 957 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 958 | isa = PBXReferenceProxy; 959 | fileType = archive.ar; 960 | path = libReact.a; 961 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 962 | sourceTree = BUILT_PRODUCTS_DIR; 963 | }; 964 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 965 | isa = PBXReferenceProxy; 966 | fileType = archive.ar; 967 | path = libyoga.a; 968 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 969 | sourceTree = BUILT_PRODUCTS_DIR; 970 | }; 971 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 972 | isa = PBXReferenceProxy; 973 | fileType = archive.ar; 974 | path = libyoga.a; 975 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 976 | sourceTree = BUILT_PRODUCTS_DIR; 977 | }; 978 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 979 | isa = PBXReferenceProxy; 980 | fileType = archive.ar; 981 | path = libcxxreact.a; 982 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 983 | sourceTree = BUILT_PRODUCTS_DIR; 984 | }; 985 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 986 | isa = PBXReferenceProxy; 987 | fileType = archive.ar; 988 | path = libcxxreact.a; 989 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 990 | sourceTree = BUILT_PRODUCTS_DIR; 991 | }; 992 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 993 | isa = PBXReferenceProxy; 994 | fileType = archive.ar; 995 | path = libRCTAnimation.a; 996 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 997 | sourceTree = BUILT_PRODUCTS_DIR; 998 | }; 999 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1000 | isa = PBXReferenceProxy; 1001 | fileType = archive.ar; 1002 | path = libRCTAnimation.a; 1003 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1004 | sourceTree = BUILT_PRODUCTS_DIR; 1005 | }; 1006 | 68E308032262762D00B130DF /* libjsi.a */ = { 1007 | isa = PBXReferenceProxy; 1008 | fileType = archive.ar; 1009 | path = libjsi.a; 1010 | remoteRef = 68E308022262762D00B130DF /* PBXContainerItemProxy */; 1011 | sourceTree = BUILT_PRODUCTS_DIR; 1012 | }; 1013 | 68E308052262762D00B130DF /* libjsiexecutor.a */ = { 1014 | isa = PBXReferenceProxy; 1015 | fileType = archive.ar; 1016 | path = libjsiexecutor.a; 1017 | remoteRef = 68E308042262762D00B130DF /* PBXContainerItemProxy */; 1018 | sourceTree = BUILT_PRODUCTS_DIR; 1019 | }; 1020 | 68E308072262762D00B130DF /* libjsi-tvOS.a */ = { 1021 | isa = PBXReferenceProxy; 1022 | fileType = archive.ar; 1023 | path = "libjsi-tvOS.a"; 1024 | remoteRef = 68E308062262762D00B130DF /* PBXContainerItemProxy */; 1025 | sourceTree = BUILT_PRODUCTS_DIR; 1026 | }; 1027 | 68E308092262762D00B130DF /* libjsiexecutor-tvOS.a */ = { 1028 | isa = PBXReferenceProxy; 1029 | fileType = archive.ar; 1030 | path = "libjsiexecutor-tvOS.a"; 1031 | remoteRef = 68E308082262762D00B130DF /* PBXContainerItemProxy */; 1032 | sourceTree = BUILT_PRODUCTS_DIR; 1033 | }; 1034 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 1035 | isa = PBXReferenceProxy; 1036 | fileType = archive.ar; 1037 | path = libRCTLinking.a; 1038 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 1039 | sourceTree = BUILT_PRODUCTS_DIR; 1040 | }; 1041 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 1042 | isa = PBXReferenceProxy; 1043 | fileType = archive.ar; 1044 | path = libRCTText.a; 1045 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 1046 | sourceTree = BUILT_PRODUCTS_DIR; 1047 | }; 1048 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 1049 | isa = PBXReferenceProxy; 1050 | fileType = archive.ar; 1051 | path = libRCTBlob.a; 1052 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 1053 | sourceTree = BUILT_PRODUCTS_DIR; 1054 | }; 1055 | /* End PBXReferenceProxy section */ 1056 | 1057 | /* Begin PBXResourcesBuildPhase section */ 1058 | 00E356EC1AD99517003FC87E /* Resources */ = { 1059 | isa = PBXResourcesBuildPhase; 1060 | buildActionMask = 2147483647; 1061 | files = ( 1062 | ); 1063 | runOnlyForDeploymentPostprocessing = 0; 1064 | }; 1065 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1066 | isa = PBXResourcesBuildPhase; 1067 | buildActionMask = 2147483647; 1068 | files = ( 1069 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1070 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1071 | ); 1072 | runOnlyForDeploymentPostprocessing = 0; 1073 | }; 1074 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1075 | isa = PBXResourcesBuildPhase; 1076 | buildActionMask = 2147483647; 1077 | files = ( 1078 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1079 | ); 1080 | runOnlyForDeploymentPostprocessing = 0; 1081 | }; 1082 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1083 | isa = PBXResourcesBuildPhase; 1084 | buildActionMask = 2147483647; 1085 | files = ( 1086 | ); 1087 | runOnlyForDeploymentPostprocessing = 0; 1088 | }; 1089 | /* End PBXResourcesBuildPhase section */ 1090 | 1091 | /* Begin PBXShellScriptBuildPhase section */ 1092 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1093 | isa = PBXShellScriptBuildPhase; 1094 | buildActionMask = 2147483647; 1095 | files = ( 1096 | ); 1097 | inputPaths = ( 1098 | ); 1099 | name = "Bundle React Native code and images"; 1100 | outputPaths = ( 1101 | ); 1102 | runOnlyForDeploymentPostprocessing = 0; 1103 | shellPath = /bin/sh; 1104 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1105 | }; 1106 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1107 | isa = PBXShellScriptBuildPhase; 1108 | buildActionMask = 2147483647; 1109 | files = ( 1110 | ); 1111 | inputPaths = ( 1112 | ); 1113 | name = "Bundle React Native Code And Images"; 1114 | outputPaths = ( 1115 | ); 1116 | runOnlyForDeploymentPostprocessing = 0; 1117 | shellPath = /bin/sh; 1118 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1119 | }; 1120 | /* End PBXShellScriptBuildPhase section */ 1121 | 1122 | /* Begin PBXSourcesBuildPhase section */ 1123 | 00E356EA1AD99517003FC87E /* Sources */ = { 1124 | isa = PBXSourcesBuildPhase; 1125 | buildActionMask = 2147483647; 1126 | files = ( 1127 | 00E356F31AD99517003FC87E /* TestModuleTests.m in Sources */, 1128 | ); 1129 | runOnlyForDeploymentPostprocessing = 0; 1130 | }; 1131 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1132 | isa = PBXSourcesBuildPhase; 1133 | buildActionMask = 2147483647; 1134 | files = ( 1135 | 68E307DC2262762A00B130DF /* TestBinding.cpp in Sources */, 1136 | 68E3080C2262781F00B130DF /* Test.cpp in Sources */, 1137 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1138 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1139 | ); 1140 | runOnlyForDeploymentPostprocessing = 0; 1141 | }; 1142 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1143 | isa = PBXSourcesBuildPhase; 1144 | buildActionMask = 2147483647; 1145 | files = ( 1146 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1147 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1148 | ); 1149 | runOnlyForDeploymentPostprocessing = 0; 1150 | }; 1151 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1152 | isa = PBXSourcesBuildPhase; 1153 | buildActionMask = 2147483647; 1154 | files = ( 1155 | 2DCD954D1E0B4F2C00145EB5 /* TestModuleTests.m in Sources */, 1156 | ); 1157 | runOnlyForDeploymentPostprocessing = 0; 1158 | }; 1159 | /* End PBXSourcesBuildPhase section */ 1160 | 1161 | /* Begin PBXTargetDependency section */ 1162 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1163 | isa = PBXTargetDependency; 1164 | target = 13B07F861A680F5B00A75B9A /* TestModule */; 1165 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1166 | }; 1167 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1168 | isa = PBXTargetDependency; 1169 | target = 2D02E47A1E0B4A5D006451C7 /* TestModule-tvOS */; 1170 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1171 | }; 1172 | /* End PBXTargetDependency section */ 1173 | 1174 | /* Begin PBXVariantGroup section */ 1175 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1176 | isa = PBXVariantGroup; 1177 | children = ( 1178 | 13B07FB21A68108700A75B9A /* Base */, 1179 | ); 1180 | name = LaunchScreen.xib; 1181 | path = TestModule; 1182 | sourceTree = ""; 1183 | }; 1184 | /* End PBXVariantGroup section */ 1185 | 1186 | /* Begin XCBuildConfiguration section */ 1187 | 00E356F61AD99517003FC87E /* Debug */ = { 1188 | isa = XCBuildConfiguration; 1189 | buildSettings = { 1190 | BUNDLE_LOADER = "$(TEST_HOST)"; 1191 | GCC_PREPROCESSOR_DEFINITIONS = ( 1192 | "DEBUG=1", 1193 | "$(inherited)", 1194 | ); 1195 | INFOPLIST_FILE = TestModuleTests/Info.plist; 1196 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1197 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1198 | OTHER_LDFLAGS = ( 1199 | "-ObjC", 1200 | "-lc++", 1201 | ); 1202 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1203 | PRODUCT_NAME = "$(TARGET_NAME)"; 1204 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TestModule.app/TestModule"; 1205 | }; 1206 | name = Debug; 1207 | }; 1208 | 00E356F71AD99517003FC87E /* Release */ = { 1209 | isa = XCBuildConfiguration; 1210 | buildSettings = { 1211 | BUNDLE_LOADER = "$(TEST_HOST)"; 1212 | COPY_PHASE_STRIP = NO; 1213 | INFOPLIST_FILE = TestModuleTests/Info.plist; 1214 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1215 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1216 | OTHER_LDFLAGS = ( 1217 | "-ObjC", 1218 | "-lc++", 1219 | ); 1220 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1221 | PRODUCT_NAME = "$(TARGET_NAME)"; 1222 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TestModule.app/TestModule"; 1223 | }; 1224 | name = Release; 1225 | }; 1226 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1227 | isa = XCBuildConfiguration; 1228 | buildSettings = { 1229 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1230 | CLANG_CXX_LANGUAGE_STANDARD = "c++14"; 1231 | CURRENT_PROJECT_VERSION = 1; 1232 | DEAD_CODE_STRIPPING = NO; 1233 | HEADER_SEARCH_PATHS = ( 1234 | "$(SRCROOT)/../node_modules/react-native/third-party/folly-2018.10.22.00", 1235 | "$(SRCROOT)/../node_modules/react-native/third-party/boost_1_63_0", 1236 | "$(SRCROOT)/../node_modules/react-native/third-party/glog-0.3.5/src", 1237 | ); 1238 | INFOPLIST_FILE = TestModule/Info.plist; 1239 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1240 | OTHER_CFLAGS = ( 1241 | "-DFOLLY_NO_CONFIG", 1242 | "-DFOLLY_MOBILE=1", 1243 | "-DFOLLY_USE_LIBCPP=1", 1244 | ); 1245 | OTHER_LDFLAGS = ( 1246 | "$(inherited)", 1247 | "-ObjC", 1248 | "-lc++", 1249 | ); 1250 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1251 | PRODUCT_NAME = TestModule; 1252 | VERSIONING_SYSTEM = "apple-generic"; 1253 | }; 1254 | name = Debug; 1255 | }; 1256 | 13B07F951A680F5B00A75B9A /* Release */ = { 1257 | isa = XCBuildConfiguration; 1258 | buildSettings = { 1259 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1260 | CLANG_CXX_LANGUAGE_STANDARD = "c++14"; 1261 | CURRENT_PROJECT_VERSION = 1; 1262 | HEADER_SEARCH_PATHS = ( 1263 | "$(SRCROOT)/../node_modules/react-native/third-party/folly-2018.10.22.00", 1264 | "$(SRCROOT)/../node_modules/react-native/third-party/boost_1_63_0", 1265 | "$(SRCROOT)/../node_modules/react-native/third-party/glog-0.3.5/src", 1266 | ); 1267 | INFOPLIST_FILE = TestModule/Info.plist; 1268 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1269 | OTHER_CFLAGS = ( 1270 | "-DFOLLY_NO_CONFIG", 1271 | "-DFOLLY_MOBILE=1", 1272 | "-DFOLLY_USE_LIBCPP=1", 1273 | ); 1274 | OTHER_LDFLAGS = ( 1275 | "$(inherited)", 1276 | "-ObjC", 1277 | "-lc++", 1278 | ); 1279 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1280 | PRODUCT_NAME = TestModule; 1281 | VERSIONING_SYSTEM = "apple-generic"; 1282 | }; 1283 | name = Release; 1284 | }; 1285 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1286 | isa = XCBuildConfiguration; 1287 | buildSettings = { 1288 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1289 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1290 | CLANG_ANALYZER_NONNULL = YES; 1291 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1292 | CLANG_WARN_INFINITE_RECURSION = YES; 1293 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1294 | DEBUG_INFORMATION_FORMAT = dwarf; 1295 | ENABLE_TESTABILITY = YES; 1296 | GCC_NO_COMMON_BLOCKS = YES; 1297 | INFOPLIST_FILE = "TestModule-tvOS/Info.plist"; 1298 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1299 | OTHER_LDFLAGS = ( 1300 | "-ObjC", 1301 | "-lc++", 1302 | ); 1303 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.TestModule-tvOS"; 1304 | PRODUCT_NAME = "$(TARGET_NAME)"; 1305 | SDKROOT = appletvos; 1306 | TARGETED_DEVICE_FAMILY = 3; 1307 | TVOS_DEPLOYMENT_TARGET = 9.2; 1308 | }; 1309 | name = Debug; 1310 | }; 1311 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1312 | isa = XCBuildConfiguration; 1313 | buildSettings = { 1314 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1315 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1316 | CLANG_ANALYZER_NONNULL = YES; 1317 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1318 | CLANG_WARN_INFINITE_RECURSION = YES; 1319 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1320 | COPY_PHASE_STRIP = NO; 1321 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1322 | GCC_NO_COMMON_BLOCKS = YES; 1323 | INFOPLIST_FILE = "TestModule-tvOS/Info.plist"; 1324 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1325 | OTHER_LDFLAGS = ( 1326 | "-ObjC", 1327 | "-lc++", 1328 | ); 1329 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.TestModule-tvOS"; 1330 | PRODUCT_NAME = "$(TARGET_NAME)"; 1331 | SDKROOT = appletvos; 1332 | TARGETED_DEVICE_FAMILY = 3; 1333 | TVOS_DEPLOYMENT_TARGET = 9.2; 1334 | }; 1335 | name = Release; 1336 | }; 1337 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1338 | isa = XCBuildConfiguration; 1339 | buildSettings = { 1340 | BUNDLE_LOADER = "$(TEST_HOST)"; 1341 | CLANG_ANALYZER_NONNULL = YES; 1342 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1343 | CLANG_WARN_INFINITE_RECURSION = YES; 1344 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1345 | DEBUG_INFORMATION_FORMAT = dwarf; 1346 | ENABLE_TESTABILITY = YES; 1347 | GCC_NO_COMMON_BLOCKS = YES; 1348 | INFOPLIST_FILE = "TestModule-tvOSTests/Info.plist"; 1349 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1350 | OTHER_LDFLAGS = ( 1351 | "-ObjC", 1352 | "-lc++", 1353 | ); 1354 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.TestModule-tvOSTests"; 1355 | PRODUCT_NAME = "$(TARGET_NAME)"; 1356 | SDKROOT = appletvos; 1357 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TestModule-tvOS.app/TestModule-tvOS"; 1358 | TVOS_DEPLOYMENT_TARGET = 10.1; 1359 | }; 1360 | name = Debug; 1361 | }; 1362 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1363 | isa = XCBuildConfiguration; 1364 | buildSettings = { 1365 | BUNDLE_LOADER = "$(TEST_HOST)"; 1366 | CLANG_ANALYZER_NONNULL = YES; 1367 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1368 | CLANG_WARN_INFINITE_RECURSION = YES; 1369 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1370 | COPY_PHASE_STRIP = NO; 1371 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1372 | GCC_NO_COMMON_BLOCKS = YES; 1373 | INFOPLIST_FILE = "TestModule-tvOSTests/Info.plist"; 1374 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1375 | OTHER_LDFLAGS = ( 1376 | "-ObjC", 1377 | "-lc++", 1378 | ); 1379 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.TestModule-tvOSTests"; 1380 | PRODUCT_NAME = "$(TARGET_NAME)"; 1381 | SDKROOT = appletvos; 1382 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TestModule-tvOS.app/TestModule-tvOS"; 1383 | TVOS_DEPLOYMENT_TARGET = 10.1; 1384 | }; 1385 | name = Release; 1386 | }; 1387 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1388 | isa = XCBuildConfiguration; 1389 | buildSettings = { 1390 | ALWAYS_SEARCH_USER_PATHS = NO; 1391 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1392 | CLANG_CXX_LIBRARY = "libc++"; 1393 | CLANG_ENABLE_MODULES = YES; 1394 | CLANG_ENABLE_OBJC_ARC = YES; 1395 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1396 | CLANG_WARN_BOOL_CONVERSION = YES; 1397 | CLANG_WARN_COMMA = YES; 1398 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1399 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1400 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1401 | CLANG_WARN_EMPTY_BODY = YES; 1402 | CLANG_WARN_ENUM_CONVERSION = YES; 1403 | CLANG_WARN_INFINITE_RECURSION = YES; 1404 | CLANG_WARN_INT_CONVERSION = YES; 1405 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1406 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1407 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1408 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1409 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1410 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1411 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1412 | CLANG_WARN_UNREACHABLE_CODE = YES; 1413 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1414 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1415 | COPY_PHASE_STRIP = NO; 1416 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1417 | ENABLE_TESTABILITY = YES; 1418 | GCC_C_LANGUAGE_STANDARD = gnu99; 1419 | GCC_DYNAMIC_NO_PIC = NO; 1420 | GCC_NO_COMMON_BLOCKS = YES; 1421 | GCC_OPTIMIZATION_LEVEL = 0; 1422 | GCC_PREPROCESSOR_DEFINITIONS = ( 1423 | "DEBUG=1", 1424 | "$(inherited)", 1425 | ); 1426 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1427 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1428 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1429 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1430 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1431 | GCC_WARN_UNUSED_FUNCTION = YES; 1432 | GCC_WARN_UNUSED_VARIABLE = YES; 1433 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1434 | MTL_ENABLE_DEBUG_INFO = YES; 1435 | ONLY_ACTIVE_ARCH = YES; 1436 | SDKROOT = iphoneos; 1437 | }; 1438 | name = Debug; 1439 | }; 1440 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1441 | isa = XCBuildConfiguration; 1442 | buildSettings = { 1443 | ALWAYS_SEARCH_USER_PATHS = NO; 1444 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1445 | CLANG_CXX_LIBRARY = "libc++"; 1446 | CLANG_ENABLE_MODULES = YES; 1447 | CLANG_ENABLE_OBJC_ARC = YES; 1448 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1449 | CLANG_WARN_BOOL_CONVERSION = YES; 1450 | CLANG_WARN_COMMA = YES; 1451 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1452 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1453 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1454 | CLANG_WARN_EMPTY_BODY = YES; 1455 | CLANG_WARN_ENUM_CONVERSION = YES; 1456 | CLANG_WARN_INFINITE_RECURSION = YES; 1457 | CLANG_WARN_INT_CONVERSION = YES; 1458 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1459 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1460 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1461 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1462 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1463 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1464 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1465 | CLANG_WARN_UNREACHABLE_CODE = YES; 1466 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1467 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1468 | COPY_PHASE_STRIP = YES; 1469 | ENABLE_NS_ASSERTIONS = NO; 1470 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1471 | GCC_C_LANGUAGE_STANDARD = gnu99; 1472 | GCC_NO_COMMON_BLOCKS = YES; 1473 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1474 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1475 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1476 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1477 | GCC_WARN_UNUSED_FUNCTION = YES; 1478 | GCC_WARN_UNUSED_VARIABLE = YES; 1479 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1480 | MTL_ENABLE_DEBUG_INFO = NO; 1481 | SDKROOT = iphoneos; 1482 | VALIDATE_PRODUCT = YES; 1483 | }; 1484 | name = Release; 1485 | }; 1486 | /* End XCBuildConfiguration section */ 1487 | 1488 | /* Begin XCConfigurationList section */ 1489 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "TestModuleTests" */ = { 1490 | isa = XCConfigurationList; 1491 | buildConfigurations = ( 1492 | 00E356F61AD99517003FC87E /* Debug */, 1493 | 00E356F71AD99517003FC87E /* Release */, 1494 | ); 1495 | defaultConfigurationIsVisible = 0; 1496 | defaultConfigurationName = Release; 1497 | }; 1498 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "TestModule" */ = { 1499 | isa = XCConfigurationList; 1500 | buildConfigurations = ( 1501 | 13B07F941A680F5B00A75B9A /* Debug */, 1502 | 13B07F951A680F5B00A75B9A /* Release */, 1503 | ); 1504 | defaultConfigurationIsVisible = 0; 1505 | defaultConfigurationName = Release; 1506 | }; 1507 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "TestModule-tvOS" */ = { 1508 | isa = XCConfigurationList; 1509 | buildConfigurations = ( 1510 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1511 | 2D02E4981E0B4A5E006451C7 /* Release */, 1512 | ); 1513 | defaultConfigurationIsVisible = 0; 1514 | defaultConfigurationName = Release; 1515 | }; 1516 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "TestModule-tvOSTests" */ = { 1517 | isa = XCConfigurationList; 1518 | buildConfigurations = ( 1519 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1520 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1521 | ); 1522 | defaultConfigurationIsVisible = 0; 1523 | defaultConfigurationName = Release; 1524 | }; 1525 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "TestModule" */ = { 1526 | isa = XCConfigurationList; 1527 | buildConfigurations = ( 1528 | 83CBBA201A601CBA00E9B192 /* Debug */, 1529 | 83CBBA211A601CBA00E9B192 /* Release */, 1530 | ); 1531 | defaultConfigurationIsVisible = 0; 1532 | defaultConfigurationName = Release; 1533 | }; 1534 | /* End XCConfigurationList section */ 1535 | }; 1536 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1537 | } 1538 | -------------------------------------------------------------------------------- /ios/TestModule.xcodeproj/xcshareddata/xcschemes/TestModule-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/TestModule.xcodeproj/xcshareddata/xcschemes/TestModule.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/TestModule/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 | -------------------------------------------------------------------------------- /ios/TestModule/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 | #import "Test.h" 15 | #import "TestBinding.h" 16 | 17 | @implementation AppDelegate 18 | 19 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 20 | { 21 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; 22 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge 23 | moduleName:@"TestModule" 24 | initialProperties:nil]; 25 | 26 | [[NSNotificationCenter defaultCenter] addObserver:self 27 | selector:@selector(handleJavaScriptDidLoadNotification:) 28 | name:RCTJavaScriptDidLoadNotification 29 | object:bridge]; 30 | 31 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 32 | 33 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 34 | UIViewController *rootViewController = [UIViewController new]; 35 | rootViewController.view = rootView; 36 | self.window.rootViewController = rootViewController; 37 | [self.window makeKeyAndVisible]; 38 | return YES; 39 | } 40 | 41 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge 42 | { 43 | #if DEBUG 44 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 45 | #else 46 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 47 | #endif 48 | } 49 | 50 | - (void)handleJavaScriptDidLoadNotification:(__unused NSNotification*)notification { 51 | RCTCxxBridge* bridge = notification.userInfo[@"bridge"]; 52 | facebook::jsi::Runtime* runtime = (facebook::jsi::Runtime*)bridge.runtime; 53 | auto test = std::make_unique(); 54 | std::shared_ptr testBinding_ = std::make_shared(std::move(test)); 55 | example::TestBinding::install((*runtime), testBinding_); 56 | } 57 | 58 | @end 59 | -------------------------------------------------------------------------------- /ios/TestModule/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /ios/TestModule/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /ios/TestModule/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ios/TestModule/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | TestModule 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 | -------------------------------------------------------------------------------- /ios/TestModule/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 | -------------------------------------------------------------------------------- /ios/TestModuleTests/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 | -------------------------------------------------------------------------------- /ios/TestModuleTests/TestModuleTests.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 TestModuleTests : XCTestCase 18 | 19 | @end 20 | 21 | @implementation TestModuleTests 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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TestModule", 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.4" 12 | }, 13 | "devDependencies": { 14 | "@babel/core": "^7.4.3", 15 | "@babel/runtime": "^7.4.3", 16 | "babel-jest": "^24.7.1", 17 | "jest": "^24.7.1", 18 | "metro-react-native-babel-preset": "^0.53.1", 19 | "react-test-renderer": "16.8.3" 20 | }, 21 | "jest": { 22 | "preset": "react-native" 23 | } 24 | } 25 | --------------------------------------------------------------------------------