├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── App.js ├── README.md ├── __tests__ └── App.js ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── build_defs.bzl │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── rndat │ │ │ ├── MainActivity.java │ │ │ ├── MainApplication.java │ │ │ └── dnslookup │ │ │ ├── DnsLookupModule.java │ │ │ └── DnsLookupPackage.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 ├── rndat-tvOS │ └── Info.plist ├── rndat-tvOSTests │ └── Info.plist ├── rndat.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── rndat-tvOS.xcscheme │ │ └── rndat.xcscheme ├── rndat │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── rndatTests │ ├── Info.plist │ └── rndatTests.m ├── node.js ├── package.json ├── scripts └── remove-browser-field.js ├── shim.js ├── shims ├── dns.js └── utp-native.js ├── src ├── for-each-chunk.js └── hypercore.js └── 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 | node_modules/react-native/flow-github/ 28 | 29 | [options] 30 | emoji=true 31 | 32 | esproposal.optional_chaining=enable 33 | esproposal.nullish_coalescing=enable 34 | 35 | module.system=haste 36 | module.system.haste.use_name_reducers=true 37 | # get basename 38 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1' 39 | # strip .js or .js.flow suffix 40 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1' 41 | # strip .ios suffix 42 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1' 43 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1' 44 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1' 45 | module.system.haste.paths.blacklist=.*/__tests__/.* 46 | module.system.haste.paths.blacklist=.*/__mocks__/.* 47 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.* 48 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.* 49 | 50 | munge_underscores=true 51 | 52 | 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' 53 | 54 | module.file_ext=.js 55 | module.file_ext=.jsx 56 | module.file_ext=.json 57 | module.file_ext=.native.js 58 | 59 | suppress_type=$FlowIssue 60 | suppress_type=$FlowFixMe 61 | suppress_type=$FlowFixMeProps 62 | suppress_type=$FlowFixMeState 63 | 64 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 65 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 66 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 67 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 68 | 69 | [version] 70 | ^0.86.0 71 | -------------------------------------------------------------------------------- /.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 | * @lint-ignore-every XPLATJSCOPYRIGHT1 8 | */ 9 | 10 | import React, {Component} from 'react'; 11 | import {Platform, StyleSheet, Text, View} from 'react-native'; 12 | 13 | const instructions = Platform.select({ 14 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 15 | android: 16 | 'Double tap R on your keyboard to reload,\n' + 17 | 'Shake or press menu button for dev menu', 18 | }); 19 | 20 | type Props = {}; 21 | export default class App extends Component { 22 | componentDidMount() { 23 | require('./src/hypercore.js') 24 | } 25 | 26 | render() { 27 | return ( 28 | 29 | Welcome to React Native! 30 | To get started, edit App.js 31 | {instructions} 32 | 33 | ); 34 | } 35 | } 36 | 37 | const styles = StyleSheet.create({ 38 | container: { 39 | flex: 1, 40 | justifyContent: 'center', 41 | alignItems: 'center', 42 | backgroundColor: '#F5FCFF', 43 | }, 44 | welcome: { 45 | fontSize: 20, 46 | textAlign: 'center', 47 | margin: 10, 48 | }, 49 | instructions: { 50 | textAlign: 'center', 51 | color: '#333333', 52 | marginBottom: 5, 53 | }, 54 | }); 55 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # dat-react-native 2 | > React native app using Dat 3 | 4 | The idea is to get it working a react native app connected to Dat. 5 | 6 | ## Stage 0 (completed) 7 | - Find each missing required dependency of Dat for nodejs and create a fix using react native modules. 8 | 9 | ## Stage 1 (completed) 10 | - Run an Hypercore feed in react native and store the data in memory or `realm` for a real case. 11 | - Create a swarm using native TCP/UDP connections and make a discovery of the feed through the network. 12 | - Replicate feeds through the network. 13 | 14 | ## Stage 2 (working) 15 | - Create a demo on top of Dat to show a p2p app working. 16 | -------------------------------------------------------------------------------- /__tests__/App.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | * @lint-ignore-every XPLATJSCOPYRIGHT1 4 | */ 5 | 6 | import 'react-native'; 7 | import React from 'react'; 8 | import App from '../App'; 9 | 10 | // Note: test renderer must be required after react-native. 11 | import renderer from 'react-test-renderer'; 12 | 13 | it('renders correctly', () => { 14 | renderer.create(); 15 | }); 16 | -------------------------------------------------------------------------------- /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.rndat", 39 | ) 40 | 41 | android_resource( 42 | name = "res", 43 | package = "com.rndat", 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 | buildToolsVersion rootProject.ext.buildToolsVersion 99 | 100 | defaultConfig { 101 | applicationId "com.rndat" 102 | minSdkVersion rootProject.ext.minSdkVersion 103 | targetSdkVersion rootProject.ext.targetSdkVersion 104 | versionCode 1 105 | versionName "1.0" 106 | } 107 | splits { 108 | abi { 109 | reset() 110 | enable enableSeparateBuildPerCPUArchitecture 111 | universalApk false // If true, also generate a universal APK 112 | include "armeabi-v7a", "x86", "arm64-v8a" 113 | } 114 | } 115 | buildTypes { 116 | release { 117 | minifyEnabled enableProguardInReleaseBuilds 118 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 119 | } 120 | } 121 | // applicationVariants are e.g. debug, release 122 | applicationVariants.all { variant -> 123 | variant.outputs.each { output -> 124 | // For each separate APK per architecture, set a unique version code as described here: 125 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 126 | def versionCodes = ["armeabi-v7a":1, "x86":2, "arm64-v8a": 3] 127 | def abi = output.getFilter(OutputFile.ABI) 128 | if (abi != null) { // null for the universal-debug, universal-release variants 129 | output.versionCodeOverride = 130 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 131 | } 132 | } 133 | } 134 | } 135 | 136 | dependencies { 137 | implementation project(':react-native-os') 138 | implementation project(':react-native-udp') 139 | implementation project(':react-native-tcp') 140 | implementation project(':realm') 141 | implementation project(':react-native-randombytes') 142 | implementation fileTree(dir: "libs", include: ["*.jar"]) 143 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" 144 | implementation "com.facebook.react:react-native:+" // From node_modules 145 | } 146 | 147 | // Run this once to be able to run the application with BUCK 148 | // puts all compile dependencies into folder libs for BUCK to use 149 | task copyDownloadableDepsToLibs(type: Copy) { 150 | from configurations.compile 151 | into 'libs' 152 | } 153 | -------------------------------------------------------------------------------- /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/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 14 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/rndat/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.rndat; 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 "rndat"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/rndat/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.rndat; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.peel.react.rnos.RNOSModule; 7 | import com.tradle.react.UdpSocketsModule; 8 | import com.peel.react.TcpSocketsModule; 9 | import io.realm.react.RealmReactPackage; 10 | import com.bitgo.randombytes.RandomBytesPackage; 11 | import com.facebook.react.ReactNativeHost; 12 | import com.facebook.react.ReactPackage; 13 | import com.facebook.react.shell.MainReactPackage; 14 | import com.facebook.soloader.SoLoader; 15 | 16 | import com.rndat.dnslookup.DnsLookupPackage; 17 | 18 | import java.util.Arrays; 19 | import java.util.List; 20 | 21 | public class MainApplication extends Application implements ReactApplication { 22 | 23 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 24 | @Override 25 | public boolean getUseDeveloperSupport() { 26 | return BuildConfig.DEBUG; 27 | } 28 | 29 | @Override 30 | protected List getPackages() { 31 | return Arrays.asList( 32 | new MainReactPackage(), 33 | new RNOSModule(), 34 | new UdpSocketsModule(), 35 | new TcpSocketsModule(), 36 | new RealmReactPackage(), 37 | new RandomBytesPackage(), 38 | new DnsLookupPackage() 39 | ); 40 | } 41 | 42 | @Override 43 | protected String getJSMainModuleName() { 44 | return "index"; 45 | } 46 | }; 47 | 48 | @Override 49 | public ReactNativeHost getReactNativeHost() { 50 | return mReactNativeHost; 51 | } 52 | 53 | @Override 54 | public void onCreate() { 55 | super.onCreate(); 56 | SoLoader.init(this, /* native exopackage */ false); 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/rndat/dnslookup/DnsLookupModule.java: -------------------------------------------------------------------------------- 1 | // Created by react-native-create-bridge 2 | 3 | package com.rndat.dnslookup; 4 | 5 | import android.support.annotation.Nullable; 6 | 7 | import com.facebook.react.bridge.ReactApplicationContext; 8 | import com.facebook.react.bridge.ReactContextBaseJavaModule; 9 | import com.facebook.react.bridge.ReactMethod; 10 | import com.facebook.react.bridge.WritableMap; 11 | import com.facebook.react.modules.core.DeviceEventManagerModule; 12 | import com.facebook.react.bridge.Callback; 13 | 14 | import java.util.HashMap; 15 | import java.util.Map; 16 | import java.net.InetAddress; 17 | import java.net.UnknownHostException; 18 | 19 | import android.util.Log; 20 | 21 | public class DnsLookupModule extends ReactContextBaseJavaModule { 22 | public static final String REACT_CLASS = "DnsLookup"; 23 | private static ReactApplicationContext reactContext = null; 24 | 25 | public DnsLookupModule(ReactApplicationContext context) { 26 | // Pass in the context to the constructor and save it so you can emit events 27 | // https://facebook.github.io/react-native/docs/native-modules-android.html#the-toast-module 28 | super(context); 29 | 30 | reactContext = context; 31 | } 32 | 33 | @Override 34 | public String getName() { 35 | // Tell React the name of the module 36 | // https://facebook.github.io/react-native/docs/native-modules-android.html#the-toast-module 37 | return REACT_CLASS; 38 | } 39 | 40 | @ReactMethod 41 | public void lookup(String domain, final Callback callback) { 42 | String ipAddressString; 43 | String error; 44 | try { 45 | ipAddressString = InetAddress.getByName(domain).getHostAddress(); 46 | error = null; 47 | } catch (UnknownHostException ex) { 48 | Log.e(REACT_CLASS, "Unable to determine IP address."); 49 | ipAddressString = null; 50 | error = ex.getMessage(); 51 | } 52 | 53 | callback.invoke(error, ipAddressString); 54 | } 55 | 56 | private static void emitDeviceEvent(String eventName, @Nullable WritableMap eventData) { 57 | // A method for emitting from the native side to JS 58 | // https://facebook.github.io/react-native/docs/native-modules-android.html#sending-events-to-javascript 59 | reactContext.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class).emit(eventName, eventData); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/rndat/dnslookup/DnsLookupPackage.java: -------------------------------------------------------------------------------- 1 | // Created by react-native-create-bridge 2 | 3 | package com.rndat.dnslookup; 4 | 5 | import com.facebook.react.ReactPackage; 6 | import com.facebook.react.bridge.JavaScriptModule; 7 | import com.facebook.react.bridge.NativeModule; 8 | import com.facebook.react.bridge.ReactApplicationContext; 9 | import com.facebook.react.uimanager.ViewManager; 10 | 11 | import java.util.Arrays; 12 | import java.util.Collections; 13 | import java.util.List; 14 | 15 | public class DnsLookupPackage implements ReactPackage { 16 | @Override 17 | public List createNativeModules(ReactApplicationContext reactContext) { 18 | // Register your native module 19 | // https://facebook.github.io/react-native/docs/native-modules-android.html#register-the-module 20 | return Arrays.asList( 21 | new DnsLookupModule(reactContext) 22 | ); 23 | } 24 | 25 | 26 | public List createViewManagers(ReactApplicationContext reactContext) { 27 | return Collections.emptyList(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geut/rn-dat/bf7fb405cfca8cff4b37a842e75162cd23c969e1/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/geut/rn-dat/bf7fb405cfca8cff4b37a842e75162cd23c969e1/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/geut/rn-dat/bf7fb405cfca8cff4b37a842e75162cd23c969e1/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/geut/rn-dat/bf7fb405cfca8cff4b37a842e75162cd23c969e1/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/geut/rn-dat/bf7fb405cfca8cff4b37a842e75162cd23c969e1/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/geut/rn-dat/bf7fb405cfca8cff4b37a842e75162cd23c969e1/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/geut/rn-dat/bf7fb405cfca8cff4b37a842e75162cd23c969e1/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/geut/rn-dat/bf7fb405cfca8cff4b37a842e75162cd23c969e1/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/geut/rn-dat/bf7fb405cfca8cff4b37a842e75162cd23c969e1/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/geut/rn-dat/bf7fb405cfca8cff4b37a842e75162cd23c969e1/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | rndat 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.2" 6 | minSdkVersion = 16 7 | compileSdkVersion = 28 8 | targetSdkVersion = 27 9 | supportLibVersion = "28.0.0" 10 | } 11 | repositories { 12 | google() 13 | jcenter() 14 | } 15 | dependencies { 16 | classpath 'com.android.tools.build:gradle:3.2.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 | 35 | 36 | task wrapper(type: Wrapper) { 37 | gradleVersion = '4.7' 38 | distributionUrl = distributionUrl.replace("bin", "all") 39 | } 40 | -------------------------------------------------------------------------------- /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/geut/rn-dat/bf7fb405cfca8cff4b37a842e75162cd23c969e1/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.7-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 = 'rndat' 2 | include ':react-native-os' 3 | project(':react-native-os').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-os/android') 4 | include ':react-native-udp' 5 | project(':react-native-udp').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-udp/android') 6 | include ':react-native-tcp' 7 | project(':react-native-tcp').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-tcp/android') 8 | include ':realm' 9 | project(':realm').projectDir = new File(rootProject.projectDir, '../node_modules/realm/android') 10 | include ':react-native-randombytes' 11 | project(':react-native-randombytes').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-randombytes/android') 12 | 13 | include ':app' 14 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "rndat", 3 | "displayName": "rndat" 4 | } -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ["module:metro-react-native-babel-preset"], 3 | plugins: [ 4 | ["module-resolver", { 5 | "extensions": [".ios.js", ".android.js", ".js", ".json"], 6 | "alias": { 7 | "utp-native": "./shims/utp-native.js", 8 | "dns": "./shims/dns.js" 9 | } 10 | }] 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | * @lint-ignore-every XPLATJSCOPYRIGHT1 4 | */ 5 | import './shim'; 6 | import 'es6-symbol/implement'; 7 | import {AppRegistry} from 'react-native'; 8 | import App from './App'; 9 | import {name as appName} from './app.json'; 10 | 11 | AppRegistry.registerComponent(appName, () => App); 12 | -------------------------------------------------------------------------------- /ios/rndat-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/rndat-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/rndat.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | /* Begin PBXBuildFile section */ 9 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 10 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 11 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 12 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 13 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 14 | 00E356F31AD99517003FC87E /* rndatTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* rndatTests.m */; }; 15 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 23 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 25 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 26 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 27 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 28 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 29 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 30 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 31 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 32 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 33 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 34 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 35 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; }; 36 | 2DCD954D1E0B4F2C00145EB5 /* rndatTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* rndatTests.m */; }; 37 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 38 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 39 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 40 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; }; 41 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED2971642150620600B7C4FE /* JavaScriptCore.framework */; }; 42 | DCC4A2F7DDB04F7DACBA0ABB /* libRNRandomBytes.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 813E5D72314C4AA7B37AADCD /* libRNRandomBytes.a */; }; 43 | 73DD2F3AFE564664801C106D /* libRNRandomBytes-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A320128AD3934C78BD84B17A /* libRNRandomBytes-tvOS.a */; }; 44 | 0A4DB8D513F642A1B2FA39AF /* libRealmReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 106C69FC03B1448EB128538E /* libRealmReact.a */; }; 45 | 8F76BF59F2C04BD0AE22AD88 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 9F9B995FF5254F61BEE7F491 /* libc++.tbd */; }; 46 | 8253543E3FCD4567BEA22706 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = AE493A344FBC4976BD616EE0 /* libz.tbd */; }; 47 | 66C7C72702714348BDB805C6 /* libTcpSockets.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E0B28E9F315A4641AC65B394 /* libTcpSockets.a */; }; 48 | A282026894964CEFB50C84FF /* libUdpSockets.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D43CFF2910F40D6A02660DB /* libUdpSockets.a */; }; 49 | C846A8B9D20E441389FADB26 /* libRNOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 986966ABFFCC415D9754B92E /* libRNOS.a */; }; 50 | /* End PBXBuildFile section */ 51 | 52 | /* Begin PBXContainerItemProxy section */ 53 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 54 | isa = PBXContainerItemProxy; 55 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 56 | proxyType = 2; 57 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 58 | remoteInfo = RCTActionSheet; 59 | }; 60 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 61 | isa = PBXContainerItemProxy; 62 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 63 | proxyType = 2; 64 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 65 | remoteInfo = RCTGeolocation; 66 | }; 67 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 68 | isa = PBXContainerItemProxy; 69 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 70 | proxyType = 2; 71 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 72 | remoteInfo = RCTImage; 73 | }; 74 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 75 | isa = PBXContainerItemProxy; 76 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 77 | proxyType = 2; 78 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 79 | remoteInfo = RCTNetwork; 80 | }; 81 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 82 | isa = PBXContainerItemProxy; 83 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 84 | proxyType = 2; 85 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 86 | remoteInfo = RCTVibration; 87 | }; 88 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 89 | isa = PBXContainerItemProxy; 90 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 91 | proxyType = 1; 92 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 93 | remoteInfo = rndat; 94 | }; 95 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 96 | isa = PBXContainerItemProxy; 97 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 98 | proxyType = 2; 99 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 100 | remoteInfo = RCTSettings; 101 | }; 102 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 103 | isa = PBXContainerItemProxy; 104 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 105 | proxyType = 2; 106 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 107 | remoteInfo = RCTWebSocket; 108 | }; 109 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 110 | isa = PBXContainerItemProxy; 111 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 112 | proxyType = 2; 113 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 114 | remoteInfo = React; 115 | }; 116 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 117 | isa = PBXContainerItemProxy; 118 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 119 | proxyType = 1; 120 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 121 | remoteInfo = "rndat-tvOS"; 122 | }; 123 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 124 | isa = PBXContainerItemProxy; 125 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 126 | proxyType = 2; 127 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 128 | remoteInfo = "RCTBlob-tvOS"; 129 | }; 130 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 131 | isa = PBXContainerItemProxy; 132 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 133 | proxyType = 2; 134 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 135 | remoteInfo = fishhook; 136 | }; 137 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 138 | isa = PBXContainerItemProxy; 139 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 140 | proxyType = 2; 141 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 142 | remoteInfo = "fishhook-tvOS"; 143 | }; 144 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = { 145 | isa = PBXContainerItemProxy; 146 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 147 | proxyType = 2; 148 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5; 149 | remoteInfo = jsinspector; 150 | }; 151 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = { 152 | isa = PBXContainerItemProxy; 153 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 154 | proxyType = 2; 155 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; 156 | remoteInfo = "jsinspector-tvOS"; 157 | }; 158 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = { 159 | isa = PBXContainerItemProxy; 160 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 161 | proxyType = 2; 162 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 163 | remoteInfo = "third-party"; 164 | }; 165 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = { 166 | isa = PBXContainerItemProxy; 167 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 168 | proxyType = 2; 169 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 170 | remoteInfo = "third-party-tvOS"; 171 | }; 172 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = { 173 | isa = PBXContainerItemProxy; 174 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 175 | proxyType = 2; 176 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 177 | remoteInfo = "double-conversion"; 178 | }; 179 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = { 180 | isa = PBXContainerItemProxy; 181 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 182 | proxyType = 2; 183 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 184 | remoteInfo = "double-conversion-tvOS"; 185 | }; 186 | 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */ = { 187 | isa = PBXContainerItemProxy; 188 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 189 | proxyType = 2; 190 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04; 191 | remoteInfo = privatedata; 192 | }; 193 | 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */ = { 194 | isa = PBXContainerItemProxy; 195 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 196 | proxyType = 2; 197 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04; 198 | remoteInfo = "privatedata-tvOS"; 199 | }; 200 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 201 | isa = PBXContainerItemProxy; 202 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 203 | proxyType = 2; 204 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 205 | remoteInfo = "RCTImage-tvOS"; 206 | }; 207 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 208 | isa = PBXContainerItemProxy; 209 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 210 | proxyType = 2; 211 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 212 | remoteInfo = "RCTLinking-tvOS"; 213 | }; 214 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 215 | isa = PBXContainerItemProxy; 216 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 217 | proxyType = 2; 218 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 219 | remoteInfo = "RCTNetwork-tvOS"; 220 | }; 221 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 222 | isa = PBXContainerItemProxy; 223 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 224 | proxyType = 2; 225 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 226 | remoteInfo = "RCTSettings-tvOS"; 227 | }; 228 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 229 | isa = PBXContainerItemProxy; 230 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 231 | proxyType = 2; 232 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 233 | remoteInfo = "RCTText-tvOS"; 234 | }; 235 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 236 | isa = PBXContainerItemProxy; 237 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 238 | proxyType = 2; 239 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 240 | remoteInfo = "RCTWebSocket-tvOS"; 241 | }; 242 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 243 | isa = PBXContainerItemProxy; 244 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 245 | proxyType = 2; 246 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 247 | remoteInfo = "React-tvOS"; 248 | }; 249 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 250 | isa = PBXContainerItemProxy; 251 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 252 | proxyType = 2; 253 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 254 | remoteInfo = yoga; 255 | }; 256 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 257 | isa = PBXContainerItemProxy; 258 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 259 | proxyType = 2; 260 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 261 | remoteInfo = "yoga-tvOS"; 262 | }; 263 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 264 | isa = PBXContainerItemProxy; 265 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 266 | proxyType = 2; 267 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 268 | remoteInfo = cxxreact; 269 | }; 270 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 271 | isa = PBXContainerItemProxy; 272 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 273 | proxyType = 2; 274 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 275 | remoteInfo = "cxxreact-tvOS"; 276 | }; 277 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 278 | isa = PBXContainerItemProxy; 279 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 280 | proxyType = 2; 281 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 282 | remoteInfo = jschelpers; 283 | }; 284 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 285 | isa = PBXContainerItemProxy; 286 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 287 | proxyType = 2; 288 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 289 | remoteInfo = "jschelpers-tvOS"; 290 | }; 291 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 292 | isa = PBXContainerItemProxy; 293 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 294 | proxyType = 2; 295 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 296 | remoteInfo = RCTAnimation; 297 | }; 298 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 299 | isa = PBXContainerItemProxy; 300 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 301 | proxyType = 2; 302 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 303 | remoteInfo = "RCTAnimation-tvOS"; 304 | }; 305 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 306 | isa = PBXContainerItemProxy; 307 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 308 | proxyType = 2; 309 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 310 | remoteInfo = RCTLinking; 311 | }; 312 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 313 | isa = PBXContainerItemProxy; 314 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 315 | proxyType = 2; 316 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 317 | remoteInfo = RCTText; 318 | }; 319 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 320 | isa = PBXContainerItemProxy; 321 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 322 | proxyType = 2; 323 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 324 | remoteInfo = RCTBlob; 325 | }; 326 | /* End PBXContainerItemProxy section */ 327 | 328 | /* Begin PBXFileReference section */ 329 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 330 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 331 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 332 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 333 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 334 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 335 | 00E356EE1AD99517003FC87E /* rndatTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = rndatTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 336 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 337 | 00E356F21AD99517003FC87E /* rndatTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = rndatTests.m; sourceTree = ""; }; 338 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 339 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 340 | 13B07F961A680F5B00A75B9A /* rndat.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = rndat.app; sourceTree = BUILT_PRODUCTS_DIR; }; 341 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = rndat/AppDelegate.h; sourceTree = ""; }; 342 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = rndat/AppDelegate.m; sourceTree = ""; }; 343 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 344 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = rndat/Images.xcassets; sourceTree = ""; }; 345 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = rndat/Info.plist; sourceTree = ""; }; 346 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = rndat/main.m; sourceTree = ""; }; 347 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 348 | 2D02E47B1E0B4A5D006451C7 /* rndat-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "rndat-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 349 | 2D02E4901E0B4A5D006451C7 /* rndat-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "rndat-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 350 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 351 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 352 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 353 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 354 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 355 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 356 | 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; }; 357 | A47F47F79A814A2D80C6D900 /* RNRandomBytes.xcodeproj */ = {isa = PBXFileReference; name = "RNRandomBytes.xcodeproj"; path = "../node_modules/react-native-randombytes/RNRandomBytes.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 358 | 813E5D72314C4AA7B37AADCD /* libRNRandomBytes.a */ = {isa = PBXFileReference; name = "libRNRandomBytes.a"; path = "libRNRandomBytes.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 359 | A320128AD3934C78BD84B17A /* libRNRandomBytes-tvOS.a */ = {isa = PBXFileReference; name = "libRNRandomBytes-tvOS.a"; path = "libRNRandomBytes-tvOS.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 360 | 4F9FBCC4E5E6464DA7F68046 /* RealmReact.xcodeproj */ = {isa = PBXFileReference; name = "RealmReact.xcodeproj"; path = "../node_modules/realm/react-native/ios/RealmReact.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 361 | 106C69FC03B1448EB128538E /* libRealmReact.a */ = {isa = PBXFileReference; name = "libRealmReact.a"; path = "libRealmReact.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 362 | 9F9B995FF5254F61BEE7F491 /* libc++.tbd */ = {isa = PBXFileReference; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; fileEncoding = undefined; lastKnownFileType = sourcecode.text-based-dylib-definition; explicitFileType = undefined; includeInIndex = 0; }; 363 | AE493A344FBC4976BD616EE0 /* libz.tbd */ = {isa = PBXFileReference; name = "libz.tbd"; path = "usr/lib/libz.tbd"; sourceTree = SDKROOT; fileEncoding = undefined; lastKnownFileType = sourcecode.text-based-dylib-definition; explicitFileType = undefined; includeInIndex = 0; }; 364 | 5D8C8CE84BA14AB1953F8413 /* TcpSockets.xcodeproj */ = {isa = PBXFileReference; name = "TcpSockets.xcodeproj"; path = "../node_modules/react-native-tcp/ios/TcpSockets.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 365 | E0B28E9F315A4641AC65B394 /* libTcpSockets.a */ = {isa = PBXFileReference; name = "libTcpSockets.a"; path = "libTcpSockets.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 366 | 367DD92C0F834A8D8615E731 /* UdpSockets.xcodeproj */ = {isa = PBXFileReference; name = "UdpSockets.xcodeproj"; path = "../node_modules/react-native-udp/ios/UdpSockets.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 367 | 1D43CFF2910F40D6A02660DB /* libUdpSockets.a */ = {isa = PBXFileReference; name = "libUdpSockets.a"; path = "libUdpSockets.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 368 | DC42D096AEBE47A8BE234511 /* RNOS.xcodeproj */ = {isa = PBXFileReference; name = "RNOS.xcodeproj"; path = "../node_modules/react-native-os/ios/RNOS.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 369 | 986966ABFFCC415D9754B92E /* libRNOS.a */ = {isa = PBXFileReference; name = "libRNOS.a"; path = "libRNOS.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 370 | /* End PBXFileReference section */ 371 | 372 | /* Begin PBXFrameworksBuildPhase section */ 373 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 374 | isa = PBXFrameworksBuildPhase; 375 | buildActionMask = 2147483647; 376 | files = ( 377 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 378 | ); 379 | runOnlyForDeploymentPostprocessing = 0; 380 | }; 381 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 382 | isa = PBXFrameworksBuildPhase; 383 | buildActionMask = 2147483647; 384 | files = ( 385 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */, 386 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 387 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */, 388 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 389 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 390 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 391 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 392 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 393 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 394 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 395 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 396 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 397 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 398 | DCC4A2F7DDB04F7DACBA0ABB /* libRNRandomBytes.a in Frameworks */, 399 | 0A4DB8D513F642A1B2FA39AF /* libRealmReact.a in Frameworks */, 400 | 8F76BF59F2C04BD0AE22AD88 /* libc++.tbd in Frameworks */, 401 | 8253543E3FCD4567BEA22706 /* libz.tbd in Frameworks */, 402 | 66C7C72702714348BDB805C6 /* libTcpSockets.a in Frameworks */, 403 | A282026894964CEFB50C84FF /* libUdpSockets.a in Frameworks */, 404 | C846A8B9D20E441389FADB26 /* libRNOS.a in Frameworks */, 405 | ); 406 | runOnlyForDeploymentPostprocessing = 0; 407 | }; 408 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 409 | isa = PBXFrameworksBuildPhase; 410 | buildActionMask = 2147483647; 411 | files = ( 412 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */, 413 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 414 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 415 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 416 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 417 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 418 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 419 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 420 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 421 | 73DD2F3AFE564664801C106D /* libRNRandomBytes-tvOS.a in Frameworks */, 422 | ); 423 | runOnlyForDeploymentPostprocessing = 0; 424 | }; 425 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 426 | isa = PBXFrameworksBuildPhase; 427 | buildActionMask = 2147483647; 428 | files = ( 429 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */, 430 | ); 431 | runOnlyForDeploymentPostprocessing = 0; 432 | }; 433 | /* End PBXFrameworksBuildPhase section */ 434 | 435 | /* Begin PBXGroup section */ 436 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 437 | isa = PBXGroup; 438 | children = ( 439 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 440 | ); 441 | name = Products; 442 | sourceTree = ""; 443 | }; 444 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 445 | isa = PBXGroup; 446 | children = ( 447 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 448 | ); 449 | name = Products; 450 | sourceTree = ""; 451 | }; 452 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 453 | isa = PBXGroup; 454 | children = ( 455 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 456 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 457 | ); 458 | name = Products; 459 | sourceTree = ""; 460 | }; 461 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 462 | isa = PBXGroup; 463 | children = ( 464 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 465 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 466 | ); 467 | name = Products; 468 | sourceTree = ""; 469 | }; 470 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 471 | isa = PBXGroup; 472 | children = ( 473 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 474 | ); 475 | name = Products; 476 | sourceTree = ""; 477 | }; 478 | 00E356EF1AD99517003FC87E /* rndatTests */ = { 479 | isa = PBXGroup; 480 | children = ( 481 | 00E356F21AD99517003FC87E /* rndatTests.m */, 482 | 00E356F01AD99517003FC87E /* Supporting Files */, 483 | ); 484 | path = rndatTests; 485 | sourceTree = ""; 486 | }; 487 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 488 | isa = PBXGroup; 489 | children = ( 490 | 00E356F11AD99517003FC87E /* Info.plist */, 491 | ); 492 | name = "Supporting Files"; 493 | sourceTree = ""; 494 | }; 495 | 139105B71AF99BAD00B5F7CC /* Products */ = { 496 | isa = PBXGroup; 497 | children = ( 498 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 499 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 500 | ); 501 | name = Products; 502 | sourceTree = ""; 503 | }; 504 | 139FDEE71B06529A00C62182 /* Products */ = { 505 | isa = PBXGroup; 506 | children = ( 507 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 508 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 509 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, 510 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, 511 | ); 512 | name = Products; 513 | sourceTree = ""; 514 | }; 515 | 13B07FAE1A68108700A75B9A /* rndat */ = { 516 | isa = PBXGroup; 517 | children = ( 518 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 519 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 520 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 521 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 522 | 13B07FB61A68108700A75B9A /* Info.plist */, 523 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 524 | 13B07FB71A68108700A75B9A /* main.m */, 525 | ); 526 | name = rndat; 527 | sourceTree = ""; 528 | }; 529 | 146834001AC3E56700842450 /* Products */ = { 530 | isa = PBXGroup; 531 | children = ( 532 | 146834041AC3E56700842450 /* libReact.a */, 533 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 534 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 535 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 536 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 537 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 538 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 539 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 540 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */, 541 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */, 542 | 2DF0FFE32056DD460020B375 /* libthird-party.a */, 543 | 2DF0FFE52056DD460020B375 /* libthird-party.a */, 544 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */, 545 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */, 546 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */, 547 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */, 548 | ); 549 | name = Products; 550 | sourceTree = ""; 551 | }; 552 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 553 | isa = PBXGroup; 554 | children = ( 555 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 556 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */, 557 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 558 | 9F9B995FF5254F61BEE7F491 /* libc++.tbd */, 559 | AE493A344FBC4976BD616EE0 /* libz.tbd */, 560 | ); 561 | name = Frameworks; 562 | sourceTree = ""; 563 | }; 564 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 565 | isa = PBXGroup; 566 | children = ( 567 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 568 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 569 | ); 570 | name = Products; 571 | sourceTree = ""; 572 | }; 573 | 78C398B11ACF4ADC00677621 /* Products */ = { 574 | isa = PBXGroup; 575 | children = ( 576 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 577 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 578 | ); 579 | name = Products; 580 | sourceTree = ""; 581 | }; 582 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 583 | isa = PBXGroup; 584 | children = ( 585 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 586 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 587 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 588 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 589 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 590 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 591 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 592 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 593 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 594 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 595 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 596 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 597 | A47F47F79A814A2D80C6D900 /* RNRandomBytes.xcodeproj */, 598 | 4F9FBCC4E5E6464DA7F68046 /* RealmReact.xcodeproj */, 599 | 5D8C8CE84BA14AB1953F8413 /* TcpSockets.xcodeproj */, 600 | 367DD92C0F834A8D8615E731 /* UdpSockets.xcodeproj */, 601 | DC42D096AEBE47A8BE234511 /* RNOS.xcodeproj */, 602 | ); 603 | name = Libraries; 604 | sourceTree = ""; 605 | }; 606 | 832341B11AAA6A8300B99B32 /* Products */ = { 607 | isa = PBXGroup; 608 | children = ( 609 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 610 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 611 | ); 612 | name = Products; 613 | sourceTree = ""; 614 | }; 615 | 83CBB9F61A601CBA00E9B192 = { 616 | isa = PBXGroup; 617 | children = ( 618 | 13B07FAE1A68108700A75B9A /* rndat */, 619 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 620 | 00E356EF1AD99517003FC87E /* rndatTests */, 621 | 83CBBA001A601CBA00E9B192 /* Products */, 622 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 623 | ); 624 | indentWidth = 2; 625 | sourceTree = ""; 626 | tabWidth = 2; 627 | usesTabs = 0; 628 | }; 629 | 83CBBA001A601CBA00E9B192 /* Products */ = { 630 | isa = PBXGroup; 631 | children = ( 632 | 13B07F961A680F5B00A75B9A /* rndat.app */, 633 | 00E356EE1AD99517003FC87E /* rndatTests.xctest */, 634 | 2D02E47B1E0B4A5D006451C7 /* rndat-tvOS.app */, 635 | 2D02E4901E0B4A5D006451C7 /* rndat-tvOSTests.xctest */, 636 | ); 637 | name = Products; 638 | sourceTree = ""; 639 | }; 640 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 641 | isa = PBXGroup; 642 | children = ( 643 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 644 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, 645 | ); 646 | name = Products; 647 | sourceTree = ""; 648 | }; 649 | /* End PBXGroup section */ 650 | 651 | /* Begin PBXNativeTarget section */ 652 | 00E356ED1AD99517003FC87E /* rndatTests */ = { 653 | isa = PBXNativeTarget; 654 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "rndatTests" */; 655 | buildPhases = ( 656 | 00E356EA1AD99517003FC87E /* Sources */, 657 | 00E356EB1AD99517003FC87E /* Frameworks */, 658 | 00E356EC1AD99517003FC87E /* Resources */, 659 | ); 660 | buildRules = ( 661 | ); 662 | dependencies = ( 663 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 664 | ); 665 | name = rndatTests; 666 | productName = rndatTests; 667 | productReference = 00E356EE1AD99517003FC87E /* rndatTests.xctest */; 668 | productType = "com.apple.product-type.bundle.unit-test"; 669 | }; 670 | 13B07F861A680F5B00A75B9A /* rndat */ = { 671 | isa = PBXNativeTarget; 672 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "rndat" */; 673 | buildPhases = ( 674 | 13B07F871A680F5B00A75B9A /* Sources */, 675 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 676 | 13B07F8E1A680F5B00A75B9A /* Resources */, 677 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 678 | ); 679 | buildRules = ( 680 | ); 681 | dependencies = ( 682 | ); 683 | name = rndat; 684 | productName = "Hello World"; 685 | productReference = 13B07F961A680F5B00A75B9A /* rndat.app */; 686 | productType = "com.apple.product-type.application"; 687 | }; 688 | 2D02E47A1E0B4A5D006451C7 /* rndat-tvOS */ = { 689 | isa = PBXNativeTarget; 690 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "rndat-tvOS" */; 691 | buildPhases = ( 692 | 2D02E4771E0B4A5D006451C7 /* Sources */, 693 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 694 | 2D02E4791E0B4A5D006451C7 /* Resources */, 695 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 696 | ); 697 | buildRules = ( 698 | ); 699 | dependencies = ( 700 | ); 701 | name = "rndat-tvOS"; 702 | productName = "rndat-tvOS"; 703 | productReference = 2D02E47B1E0B4A5D006451C7 /* rndat-tvOS.app */; 704 | productType = "com.apple.product-type.application"; 705 | }; 706 | 2D02E48F1E0B4A5D006451C7 /* rndat-tvOSTests */ = { 707 | isa = PBXNativeTarget; 708 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "rndat-tvOSTests" */; 709 | buildPhases = ( 710 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 711 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 712 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 713 | ); 714 | buildRules = ( 715 | ); 716 | dependencies = ( 717 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 718 | ); 719 | name = "rndat-tvOSTests"; 720 | productName = "rndat-tvOSTests"; 721 | productReference = 2D02E4901E0B4A5D006451C7 /* rndat-tvOSTests.xctest */; 722 | productType = "com.apple.product-type.bundle.unit-test"; 723 | }; 724 | /* End PBXNativeTarget section */ 725 | 726 | /* Begin PBXProject section */ 727 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 728 | isa = PBXProject; 729 | attributes = { 730 | LastUpgradeCheck = 940; 731 | ORGANIZATIONNAME = Facebook; 732 | TargetAttributes = { 733 | 00E356ED1AD99517003FC87E = { 734 | CreatedOnToolsVersion = 6.2; 735 | TestTargetID = 13B07F861A680F5B00A75B9A; 736 | }; 737 | 2D02E47A1E0B4A5D006451C7 = { 738 | CreatedOnToolsVersion = 8.2.1; 739 | ProvisioningStyle = Automatic; 740 | }; 741 | 2D02E48F1E0B4A5D006451C7 = { 742 | CreatedOnToolsVersion = 8.2.1; 743 | ProvisioningStyle = Automatic; 744 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 745 | }; 746 | }; 747 | }; 748 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "rndat" */; 749 | compatibilityVersion = "Xcode 3.2"; 750 | developmentRegion = English; 751 | hasScannedForEncodings = 0; 752 | knownRegions = ( 753 | en, 754 | Base, 755 | ); 756 | mainGroup = 83CBB9F61A601CBA00E9B192; 757 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 758 | projectDirPath = ""; 759 | projectReferences = ( 760 | { 761 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 762 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 763 | }, 764 | { 765 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 766 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 767 | }, 768 | { 769 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 770 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 771 | }, 772 | { 773 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 774 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 775 | }, 776 | { 777 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 778 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 779 | }, 780 | { 781 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 782 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 783 | }, 784 | { 785 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 786 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 787 | }, 788 | { 789 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 790 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 791 | }, 792 | { 793 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 794 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 795 | }, 796 | { 797 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 798 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 799 | }, 800 | { 801 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 802 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 803 | }, 804 | { 805 | ProductGroup = 146834001AC3E56700842450 /* Products */; 806 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 807 | }, 808 | ); 809 | projectRoot = ""; 810 | targets = ( 811 | 13B07F861A680F5B00A75B9A /* rndat */, 812 | 00E356ED1AD99517003FC87E /* rndatTests */, 813 | 2D02E47A1E0B4A5D006451C7 /* rndat-tvOS */, 814 | 2D02E48F1E0B4A5D006451C7 /* rndat-tvOSTests */, 815 | ); 816 | }; 817 | /* End PBXProject section */ 818 | 819 | /* Begin PBXReferenceProxy section */ 820 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 821 | isa = PBXReferenceProxy; 822 | fileType = archive.ar; 823 | path = libRCTActionSheet.a; 824 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 825 | sourceTree = BUILT_PRODUCTS_DIR; 826 | }; 827 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 828 | isa = PBXReferenceProxy; 829 | fileType = archive.ar; 830 | path = libRCTGeolocation.a; 831 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 832 | sourceTree = BUILT_PRODUCTS_DIR; 833 | }; 834 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 835 | isa = PBXReferenceProxy; 836 | fileType = archive.ar; 837 | path = libRCTImage.a; 838 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 839 | sourceTree = BUILT_PRODUCTS_DIR; 840 | }; 841 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 842 | isa = PBXReferenceProxy; 843 | fileType = archive.ar; 844 | path = libRCTNetwork.a; 845 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 846 | sourceTree = BUILT_PRODUCTS_DIR; 847 | }; 848 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 849 | isa = PBXReferenceProxy; 850 | fileType = archive.ar; 851 | path = libRCTVibration.a; 852 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 853 | sourceTree = BUILT_PRODUCTS_DIR; 854 | }; 855 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 856 | isa = PBXReferenceProxy; 857 | fileType = archive.ar; 858 | path = libRCTSettings.a; 859 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 860 | sourceTree = BUILT_PRODUCTS_DIR; 861 | }; 862 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 863 | isa = PBXReferenceProxy; 864 | fileType = archive.ar; 865 | path = libRCTWebSocket.a; 866 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 867 | sourceTree = BUILT_PRODUCTS_DIR; 868 | }; 869 | 146834041AC3E56700842450 /* libReact.a */ = { 870 | isa = PBXReferenceProxy; 871 | fileType = archive.ar; 872 | path = libReact.a; 873 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 874 | sourceTree = BUILT_PRODUCTS_DIR; 875 | }; 876 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { 877 | isa = PBXReferenceProxy; 878 | fileType = archive.ar; 879 | path = "libRCTBlob-tvOS.a"; 880 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; 881 | sourceTree = BUILT_PRODUCTS_DIR; 882 | }; 883 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { 884 | isa = PBXReferenceProxy; 885 | fileType = archive.ar; 886 | path = libfishhook.a; 887 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; 888 | sourceTree = BUILT_PRODUCTS_DIR; 889 | }; 890 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { 891 | isa = PBXReferenceProxy; 892 | fileType = archive.ar; 893 | path = "libfishhook-tvOS.a"; 894 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; 895 | sourceTree = BUILT_PRODUCTS_DIR; 896 | }; 897 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = { 898 | isa = PBXReferenceProxy; 899 | fileType = archive.ar; 900 | path = libjsinspector.a; 901 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */; 902 | sourceTree = BUILT_PRODUCTS_DIR; 903 | }; 904 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = { 905 | isa = PBXReferenceProxy; 906 | fileType = archive.ar; 907 | path = "libjsinspector-tvOS.a"; 908 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */; 909 | sourceTree = BUILT_PRODUCTS_DIR; 910 | }; 911 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = { 912 | isa = PBXReferenceProxy; 913 | fileType = archive.ar; 914 | path = "libthird-party.a"; 915 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */; 916 | sourceTree = BUILT_PRODUCTS_DIR; 917 | }; 918 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = { 919 | isa = PBXReferenceProxy; 920 | fileType = archive.ar; 921 | path = "libthird-party.a"; 922 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */; 923 | sourceTree = BUILT_PRODUCTS_DIR; 924 | }; 925 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = { 926 | isa = PBXReferenceProxy; 927 | fileType = archive.ar; 928 | path = "libdouble-conversion.a"; 929 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */; 930 | sourceTree = BUILT_PRODUCTS_DIR; 931 | }; 932 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = { 933 | isa = PBXReferenceProxy; 934 | fileType = archive.ar; 935 | path = "libdouble-conversion.a"; 936 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */; 937 | sourceTree = BUILT_PRODUCTS_DIR; 938 | }; 939 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */ = { 940 | isa = PBXReferenceProxy; 941 | fileType = archive.ar; 942 | path = libprivatedata.a; 943 | remoteRef = 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */; 944 | sourceTree = BUILT_PRODUCTS_DIR; 945 | }; 946 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */ = { 947 | isa = PBXReferenceProxy; 948 | fileType = archive.ar; 949 | path = "libprivatedata-tvOS.a"; 950 | remoteRef = 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */; 951 | sourceTree = BUILT_PRODUCTS_DIR; 952 | }; 953 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 954 | isa = PBXReferenceProxy; 955 | fileType = archive.ar; 956 | path = "libRCTImage-tvOS.a"; 957 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 958 | sourceTree = BUILT_PRODUCTS_DIR; 959 | }; 960 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 961 | isa = PBXReferenceProxy; 962 | fileType = archive.ar; 963 | path = "libRCTLinking-tvOS.a"; 964 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 965 | sourceTree = BUILT_PRODUCTS_DIR; 966 | }; 967 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 968 | isa = PBXReferenceProxy; 969 | fileType = archive.ar; 970 | path = "libRCTNetwork-tvOS.a"; 971 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 972 | sourceTree = BUILT_PRODUCTS_DIR; 973 | }; 974 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 975 | isa = PBXReferenceProxy; 976 | fileType = archive.ar; 977 | path = "libRCTSettings-tvOS.a"; 978 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 979 | sourceTree = BUILT_PRODUCTS_DIR; 980 | }; 981 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 982 | isa = PBXReferenceProxy; 983 | fileType = archive.ar; 984 | path = "libRCTText-tvOS.a"; 985 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 986 | sourceTree = BUILT_PRODUCTS_DIR; 987 | }; 988 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 989 | isa = PBXReferenceProxy; 990 | fileType = archive.ar; 991 | path = "libRCTWebSocket-tvOS.a"; 992 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 993 | sourceTree = BUILT_PRODUCTS_DIR; 994 | }; 995 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 996 | isa = PBXReferenceProxy; 997 | fileType = archive.ar; 998 | path = libReact.a; 999 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 1000 | sourceTree = BUILT_PRODUCTS_DIR; 1001 | }; 1002 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 1003 | isa = PBXReferenceProxy; 1004 | fileType = archive.ar; 1005 | path = libyoga.a; 1006 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 1007 | sourceTree = BUILT_PRODUCTS_DIR; 1008 | }; 1009 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 1010 | isa = PBXReferenceProxy; 1011 | fileType = archive.ar; 1012 | path = libyoga.a; 1013 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 1014 | sourceTree = BUILT_PRODUCTS_DIR; 1015 | }; 1016 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 1017 | isa = PBXReferenceProxy; 1018 | fileType = archive.ar; 1019 | path = libcxxreact.a; 1020 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 1021 | sourceTree = BUILT_PRODUCTS_DIR; 1022 | }; 1023 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 1024 | isa = PBXReferenceProxy; 1025 | fileType = archive.ar; 1026 | path = libcxxreact.a; 1027 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 1028 | sourceTree = BUILT_PRODUCTS_DIR; 1029 | }; 1030 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 1031 | isa = PBXReferenceProxy; 1032 | fileType = archive.ar; 1033 | path = libjschelpers.a; 1034 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 1035 | sourceTree = BUILT_PRODUCTS_DIR; 1036 | }; 1037 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 1038 | isa = PBXReferenceProxy; 1039 | fileType = archive.ar; 1040 | path = libjschelpers.a; 1041 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 1042 | sourceTree = BUILT_PRODUCTS_DIR; 1043 | }; 1044 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1045 | isa = PBXReferenceProxy; 1046 | fileType = archive.ar; 1047 | path = libRCTAnimation.a; 1048 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1049 | sourceTree = BUILT_PRODUCTS_DIR; 1050 | }; 1051 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1052 | isa = PBXReferenceProxy; 1053 | fileType = archive.ar; 1054 | path = libRCTAnimation.a; 1055 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1056 | sourceTree = BUILT_PRODUCTS_DIR; 1057 | }; 1058 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 1059 | isa = PBXReferenceProxy; 1060 | fileType = archive.ar; 1061 | path = libRCTLinking.a; 1062 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 1063 | sourceTree = BUILT_PRODUCTS_DIR; 1064 | }; 1065 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 1066 | isa = PBXReferenceProxy; 1067 | fileType = archive.ar; 1068 | path = libRCTText.a; 1069 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 1070 | sourceTree = BUILT_PRODUCTS_DIR; 1071 | }; 1072 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 1073 | isa = PBXReferenceProxy; 1074 | fileType = archive.ar; 1075 | path = libRCTBlob.a; 1076 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 1077 | sourceTree = BUILT_PRODUCTS_DIR; 1078 | }; 1079 | /* End PBXReferenceProxy section */ 1080 | 1081 | /* Begin PBXResourcesBuildPhase section */ 1082 | 00E356EC1AD99517003FC87E /* Resources */ = { 1083 | isa = PBXResourcesBuildPhase; 1084 | buildActionMask = 2147483647; 1085 | files = ( 1086 | ); 1087 | runOnlyForDeploymentPostprocessing = 0; 1088 | }; 1089 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1090 | isa = PBXResourcesBuildPhase; 1091 | buildActionMask = 2147483647; 1092 | files = ( 1093 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1094 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1095 | ); 1096 | runOnlyForDeploymentPostprocessing = 0; 1097 | }; 1098 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1099 | isa = PBXResourcesBuildPhase; 1100 | buildActionMask = 2147483647; 1101 | files = ( 1102 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1103 | ); 1104 | runOnlyForDeploymentPostprocessing = 0; 1105 | }; 1106 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1107 | isa = PBXResourcesBuildPhase; 1108 | buildActionMask = 2147483647; 1109 | files = ( 1110 | ); 1111 | runOnlyForDeploymentPostprocessing = 0; 1112 | }; 1113 | /* End PBXResourcesBuildPhase section */ 1114 | 1115 | /* Begin PBXShellScriptBuildPhase section */ 1116 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1117 | isa = PBXShellScriptBuildPhase; 1118 | buildActionMask = 2147483647; 1119 | files = ( 1120 | ); 1121 | inputPaths = ( 1122 | ); 1123 | name = "Bundle React Native code and images"; 1124 | outputPaths = ( 1125 | ); 1126 | runOnlyForDeploymentPostprocessing = 0; 1127 | shellPath = /bin/sh; 1128 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1129 | }; 1130 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1131 | isa = PBXShellScriptBuildPhase; 1132 | buildActionMask = 2147483647; 1133 | files = ( 1134 | ); 1135 | inputPaths = ( 1136 | ); 1137 | name = "Bundle React Native Code And Images"; 1138 | outputPaths = ( 1139 | ); 1140 | runOnlyForDeploymentPostprocessing = 0; 1141 | shellPath = /bin/sh; 1142 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1143 | }; 1144 | /* End PBXShellScriptBuildPhase section */ 1145 | 1146 | /* Begin PBXSourcesBuildPhase section */ 1147 | 00E356EA1AD99517003FC87E /* Sources */ = { 1148 | isa = PBXSourcesBuildPhase; 1149 | buildActionMask = 2147483647; 1150 | files = ( 1151 | 00E356F31AD99517003FC87E /* rndatTests.m in Sources */, 1152 | ); 1153 | runOnlyForDeploymentPostprocessing = 0; 1154 | }; 1155 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1156 | isa = PBXSourcesBuildPhase; 1157 | buildActionMask = 2147483647; 1158 | files = ( 1159 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1160 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1161 | ); 1162 | runOnlyForDeploymentPostprocessing = 0; 1163 | }; 1164 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1165 | isa = PBXSourcesBuildPhase; 1166 | buildActionMask = 2147483647; 1167 | files = ( 1168 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1169 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1170 | ); 1171 | runOnlyForDeploymentPostprocessing = 0; 1172 | }; 1173 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1174 | isa = PBXSourcesBuildPhase; 1175 | buildActionMask = 2147483647; 1176 | files = ( 1177 | 2DCD954D1E0B4F2C00145EB5 /* rndatTests.m in Sources */, 1178 | ); 1179 | runOnlyForDeploymentPostprocessing = 0; 1180 | }; 1181 | /* End PBXSourcesBuildPhase section */ 1182 | 1183 | /* Begin PBXTargetDependency section */ 1184 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1185 | isa = PBXTargetDependency; 1186 | target = 13B07F861A680F5B00A75B9A /* rndat */; 1187 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1188 | }; 1189 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1190 | isa = PBXTargetDependency; 1191 | target = 2D02E47A1E0B4A5D006451C7 /* rndat-tvOS */; 1192 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1193 | }; 1194 | /* End PBXTargetDependency section */ 1195 | 1196 | /* Begin PBXVariantGroup section */ 1197 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1198 | isa = PBXVariantGroup; 1199 | children = ( 1200 | 13B07FB21A68108700A75B9A /* Base */, 1201 | ); 1202 | name = LaunchScreen.xib; 1203 | path = rndat; 1204 | sourceTree = ""; 1205 | }; 1206 | /* End PBXVariantGroup section */ 1207 | 1208 | /* Begin XCBuildConfiguration section */ 1209 | 00E356F61AD99517003FC87E /* Debug */ = { 1210 | isa = XCBuildConfiguration; 1211 | buildSettings = { 1212 | BUNDLE_LOADER = "$(TEST_HOST)"; 1213 | GCC_PREPROCESSOR_DEFINITIONS = ( 1214 | "DEBUG=1", 1215 | "$(inherited)", 1216 | ); 1217 | INFOPLIST_FILE = rndatTests/Info.plist; 1218 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1219 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1220 | OTHER_LDFLAGS = ( 1221 | "-ObjC", 1222 | "-lc++", 1223 | ); 1224 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1225 | PRODUCT_NAME = "$(TARGET_NAME)"; 1226 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/rndat.app/rndat"; 1227 | LIBRARY_SEARCH_PATHS = ( 1228 | "$(inherited)", 1229 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1230 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1231 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1232 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1233 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1234 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1235 | ); 1236 | HEADER_SEARCH_PATHS = ( 1237 | "$(inherited)", 1238 | "$(SRCROOT)/../node_modules/react-native-randombytes", 1239 | "$(SRCROOT)/../node_modules/realm/src/**", 1240 | "$(SRCROOT)/../node_modules/react-native-tcp/ios/**", 1241 | "$(SRCROOT)/../node_modules/react-native-udp/ios/**", 1242 | "$(SRCROOT)/../node_modules/react-native-os/ios", 1243 | ); 1244 | }; 1245 | name = Debug; 1246 | }; 1247 | 00E356F71AD99517003FC87E /* Release */ = { 1248 | isa = XCBuildConfiguration; 1249 | buildSettings = { 1250 | BUNDLE_LOADER = "$(TEST_HOST)"; 1251 | COPY_PHASE_STRIP = NO; 1252 | INFOPLIST_FILE = rndatTests/Info.plist; 1253 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1254 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1255 | OTHER_LDFLAGS = ( 1256 | "-ObjC", 1257 | "-lc++", 1258 | ); 1259 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1260 | PRODUCT_NAME = "$(TARGET_NAME)"; 1261 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/rndat.app/rndat"; 1262 | LIBRARY_SEARCH_PATHS = ( 1263 | "$(inherited)", 1264 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1265 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1266 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1267 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1268 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1269 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1270 | ); 1271 | HEADER_SEARCH_PATHS = ( 1272 | "$(inherited)", 1273 | "$(SRCROOT)/../node_modules/react-native-randombytes", 1274 | "$(SRCROOT)/../node_modules/realm/src/**", 1275 | "$(SRCROOT)/../node_modules/react-native-tcp/ios/**", 1276 | "$(SRCROOT)/../node_modules/react-native-udp/ios/**", 1277 | "$(SRCROOT)/../node_modules/react-native-os/ios", 1278 | ); 1279 | }; 1280 | name = Release; 1281 | }; 1282 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1283 | isa = XCBuildConfiguration; 1284 | buildSettings = { 1285 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1286 | CURRENT_PROJECT_VERSION = 1; 1287 | DEAD_CODE_STRIPPING = NO; 1288 | INFOPLIST_FILE = rndat/Info.plist; 1289 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1290 | OTHER_LDFLAGS = ( 1291 | "$(inherited)", 1292 | "-ObjC", 1293 | "-lc++", 1294 | ); 1295 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1296 | PRODUCT_NAME = rndat; 1297 | VERSIONING_SYSTEM = "apple-generic"; 1298 | HEADER_SEARCH_PATHS = ( 1299 | "$(inherited)", 1300 | "$(SRCROOT)/../node_modules/react-native-randombytes", 1301 | "$(SRCROOT)/../node_modules/realm/src/**", 1302 | "$(SRCROOT)/../node_modules/react-native-tcp/ios/**", 1303 | "$(SRCROOT)/../node_modules/react-native-udp/ios/**", 1304 | "$(SRCROOT)/../node_modules/react-native-os/ios", 1305 | ); 1306 | }; 1307 | name = Debug; 1308 | }; 1309 | 13B07F951A680F5B00A75B9A /* Release */ = { 1310 | isa = XCBuildConfiguration; 1311 | buildSettings = { 1312 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1313 | CURRENT_PROJECT_VERSION = 1; 1314 | INFOPLIST_FILE = rndat/Info.plist; 1315 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1316 | OTHER_LDFLAGS = ( 1317 | "$(inherited)", 1318 | "-ObjC", 1319 | "-lc++", 1320 | ); 1321 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1322 | PRODUCT_NAME = rndat; 1323 | VERSIONING_SYSTEM = "apple-generic"; 1324 | HEADER_SEARCH_PATHS = ( 1325 | "$(inherited)", 1326 | "$(SRCROOT)/../node_modules/react-native-randombytes", 1327 | "$(SRCROOT)/../node_modules/realm/src/**", 1328 | "$(SRCROOT)/../node_modules/react-native-tcp/ios/**", 1329 | "$(SRCROOT)/../node_modules/react-native-udp/ios/**", 1330 | "$(SRCROOT)/../node_modules/react-native-os/ios", 1331 | ); 1332 | }; 1333 | name = Release; 1334 | }; 1335 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1336 | isa = XCBuildConfiguration; 1337 | buildSettings = { 1338 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1339 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1340 | CLANG_ANALYZER_NONNULL = YES; 1341 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1342 | CLANG_WARN_INFINITE_RECURSION = YES; 1343 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1344 | DEBUG_INFORMATION_FORMAT = dwarf; 1345 | ENABLE_TESTABILITY = YES; 1346 | GCC_NO_COMMON_BLOCKS = YES; 1347 | INFOPLIST_FILE = "rndat-tvOS/Info.plist"; 1348 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1349 | OTHER_LDFLAGS = ( 1350 | "-ObjC", 1351 | "-lc++", 1352 | ); 1353 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.rndat-tvOS"; 1354 | PRODUCT_NAME = "$(TARGET_NAME)"; 1355 | SDKROOT = appletvos; 1356 | TARGETED_DEVICE_FAMILY = 3; 1357 | TVOS_DEPLOYMENT_TARGET = 9.2; 1358 | LIBRARY_SEARCH_PATHS = ( 1359 | "$(inherited)", 1360 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1361 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1362 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1363 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1364 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1365 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1366 | ); 1367 | HEADER_SEARCH_PATHS = ( 1368 | "$(inherited)", 1369 | "$(SRCROOT)/../node_modules/react-native-randombytes", 1370 | "$(SRCROOT)/../node_modules/realm/src/**", 1371 | "$(SRCROOT)/../node_modules/react-native-tcp/ios/**", 1372 | "$(SRCROOT)/../node_modules/react-native-udp/ios/**", 1373 | "$(SRCROOT)/../node_modules/react-native-os/ios", 1374 | ); 1375 | }; 1376 | name = Debug; 1377 | }; 1378 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1379 | isa = XCBuildConfiguration; 1380 | buildSettings = { 1381 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1382 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1383 | CLANG_ANALYZER_NONNULL = YES; 1384 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1385 | CLANG_WARN_INFINITE_RECURSION = YES; 1386 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1387 | COPY_PHASE_STRIP = NO; 1388 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1389 | GCC_NO_COMMON_BLOCKS = YES; 1390 | INFOPLIST_FILE = "rndat-tvOS/Info.plist"; 1391 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1392 | OTHER_LDFLAGS = ( 1393 | "-ObjC", 1394 | "-lc++", 1395 | ); 1396 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.rndat-tvOS"; 1397 | PRODUCT_NAME = "$(TARGET_NAME)"; 1398 | SDKROOT = appletvos; 1399 | TARGETED_DEVICE_FAMILY = 3; 1400 | TVOS_DEPLOYMENT_TARGET = 9.2; 1401 | LIBRARY_SEARCH_PATHS = ( 1402 | "$(inherited)", 1403 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1404 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1405 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1406 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1407 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1408 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1409 | ); 1410 | HEADER_SEARCH_PATHS = ( 1411 | "$(inherited)", 1412 | "$(SRCROOT)/../node_modules/react-native-randombytes", 1413 | "$(SRCROOT)/../node_modules/realm/src/**", 1414 | "$(SRCROOT)/../node_modules/react-native-tcp/ios/**", 1415 | "$(SRCROOT)/../node_modules/react-native-udp/ios/**", 1416 | "$(SRCROOT)/../node_modules/react-native-os/ios", 1417 | ); 1418 | }; 1419 | name = Release; 1420 | }; 1421 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1422 | isa = XCBuildConfiguration; 1423 | buildSettings = { 1424 | BUNDLE_LOADER = "$(TEST_HOST)"; 1425 | CLANG_ANALYZER_NONNULL = YES; 1426 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1427 | CLANG_WARN_INFINITE_RECURSION = YES; 1428 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1429 | DEBUG_INFORMATION_FORMAT = dwarf; 1430 | ENABLE_TESTABILITY = YES; 1431 | GCC_NO_COMMON_BLOCKS = YES; 1432 | INFOPLIST_FILE = "rndat-tvOSTests/Info.plist"; 1433 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1434 | OTHER_LDFLAGS = ( 1435 | "-ObjC", 1436 | "-lc++", 1437 | ); 1438 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.rndat-tvOSTests"; 1439 | PRODUCT_NAME = "$(TARGET_NAME)"; 1440 | SDKROOT = appletvos; 1441 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/rndat-tvOS.app/rndat-tvOS"; 1442 | TVOS_DEPLOYMENT_TARGET = 10.1; 1443 | LIBRARY_SEARCH_PATHS = ( 1444 | "$(inherited)", 1445 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1446 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1447 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1448 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1449 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1450 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1451 | ); 1452 | HEADER_SEARCH_PATHS = ( 1453 | "$(inherited)", 1454 | "$(SRCROOT)/../node_modules/react-native-randombytes", 1455 | "$(SRCROOT)/../node_modules/realm/src/**", 1456 | "$(SRCROOT)/../node_modules/react-native-tcp/ios/**", 1457 | "$(SRCROOT)/../node_modules/react-native-udp/ios/**", 1458 | "$(SRCROOT)/../node_modules/react-native-os/ios", 1459 | ); 1460 | }; 1461 | name = Debug; 1462 | }; 1463 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1464 | isa = XCBuildConfiguration; 1465 | buildSettings = { 1466 | BUNDLE_LOADER = "$(TEST_HOST)"; 1467 | CLANG_ANALYZER_NONNULL = YES; 1468 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1469 | CLANG_WARN_INFINITE_RECURSION = YES; 1470 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1471 | COPY_PHASE_STRIP = NO; 1472 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1473 | GCC_NO_COMMON_BLOCKS = YES; 1474 | INFOPLIST_FILE = "rndat-tvOSTests/Info.plist"; 1475 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1476 | OTHER_LDFLAGS = ( 1477 | "-ObjC", 1478 | "-lc++", 1479 | ); 1480 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.rndat-tvOSTests"; 1481 | PRODUCT_NAME = "$(TARGET_NAME)"; 1482 | SDKROOT = appletvos; 1483 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/rndat-tvOS.app/rndat-tvOS"; 1484 | TVOS_DEPLOYMENT_TARGET = 10.1; 1485 | LIBRARY_SEARCH_PATHS = ( 1486 | "$(inherited)", 1487 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1488 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1489 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1490 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1491 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1492 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1493 | ); 1494 | HEADER_SEARCH_PATHS = ( 1495 | "$(inherited)", 1496 | "$(SRCROOT)/../node_modules/react-native-randombytes", 1497 | "$(SRCROOT)/../node_modules/realm/src/**", 1498 | "$(SRCROOT)/../node_modules/react-native-tcp/ios/**", 1499 | "$(SRCROOT)/../node_modules/react-native-udp/ios/**", 1500 | "$(SRCROOT)/../node_modules/react-native-os/ios", 1501 | ); 1502 | }; 1503 | name = Release; 1504 | }; 1505 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1506 | isa = XCBuildConfiguration; 1507 | buildSettings = { 1508 | ALWAYS_SEARCH_USER_PATHS = NO; 1509 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1510 | CLANG_CXX_LIBRARY = "libc++"; 1511 | CLANG_ENABLE_MODULES = YES; 1512 | CLANG_ENABLE_OBJC_ARC = YES; 1513 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1514 | CLANG_WARN_BOOL_CONVERSION = YES; 1515 | CLANG_WARN_COMMA = YES; 1516 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1517 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1518 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1519 | CLANG_WARN_EMPTY_BODY = YES; 1520 | CLANG_WARN_ENUM_CONVERSION = YES; 1521 | CLANG_WARN_INFINITE_RECURSION = YES; 1522 | CLANG_WARN_INT_CONVERSION = YES; 1523 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1524 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1525 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1526 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1527 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1528 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1529 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1530 | CLANG_WARN_UNREACHABLE_CODE = YES; 1531 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1532 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1533 | COPY_PHASE_STRIP = NO; 1534 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1535 | ENABLE_TESTABILITY = YES; 1536 | GCC_C_LANGUAGE_STANDARD = gnu99; 1537 | GCC_DYNAMIC_NO_PIC = NO; 1538 | GCC_NO_COMMON_BLOCKS = YES; 1539 | GCC_OPTIMIZATION_LEVEL = 0; 1540 | GCC_PREPROCESSOR_DEFINITIONS = ( 1541 | "DEBUG=1", 1542 | "$(inherited)", 1543 | ); 1544 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1545 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1546 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1547 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1548 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1549 | GCC_WARN_UNUSED_FUNCTION = YES; 1550 | GCC_WARN_UNUSED_VARIABLE = YES; 1551 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1552 | MTL_ENABLE_DEBUG_INFO = YES; 1553 | ONLY_ACTIVE_ARCH = YES; 1554 | SDKROOT = iphoneos; 1555 | }; 1556 | name = Debug; 1557 | }; 1558 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1559 | isa = XCBuildConfiguration; 1560 | buildSettings = { 1561 | ALWAYS_SEARCH_USER_PATHS = NO; 1562 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1563 | CLANG_CXX_LIBRARY = "libc++"; 1564 | CLANG_ENABLE_MODULES = YES; 1565 | CLANG_ENABLE_OBJC_ARC = YES; 1566 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1567 | CLANG_WARN_BOOL_CONVERSION = YES; 1568 | CLANG_WARN_COMMA = YES; 1569 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1570 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1571 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1572 | CLANG_WARN_EMPTY_BODY = YES; 1573 | CLANG_WARN_ENUM_CONVERSION = YES; 1574 | CLANG_WARN_INFINITE_RECURSION = YES; 1575 | CLANG_WARN_INT_CONVERSION = YES; 1576 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1577 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1578 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1579 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1580 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1581 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1582 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1583 | CLANG_WARN_UNREACHABLE_CODE = YES; 1584 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1585 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1586 | COPY_PHASE_STRIP = YES; 1587 | ENABLE_NS_ASSERTIONS = NO; 1588 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1589 | GCC_C_LANGUAGE_STANDARD = gnu99; 1590 | GCC_NO_COMMON_BLOCKS = YES; 1591 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1592 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1593 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1594 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1595 | GCC_WARN_UNUSED_FUNCTION = YES; 1596 | GCC_WARN_UNUSED_VARIABLE = YES; 1597 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1598 | MTL_ENABLE_DEBUG_INFO = NO; 1599 | SDKROOT = iphoneos; 1600 | VALIDATE_PRODUCT = YES; 1601 | }; 1602 | name = Release; 1603 | }; 1604 | /* End XCBuildConfiguration section */ 1605 | 1606 | /* Begin XCConfigurationList section */ 1607 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "rndatTests" */ = { 1608 | isa = XCConfigurationList; 1609 | buildConfigurations = ( 1610 | 00E356F61AD99517003FC87E /* Debug */, 1611 | 00E356F71AD99517003FC87E /* Release */, 1612 | ); 1613 | defaultConfigurationIsVisible = 0; 1614 | defaultConfigurationName = Release; 1615 | }; 1616 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "rndat" */ = { 1617 | isa = XCConfigurationList; 1618 | buildConfigurations = ( 1619 | 13B07F941A680F5B00A75B9A /* Debug */, 1620 | 13B07F951A680F5B00A75B9A /* Release */, 1621 | ); 1622 | defaultConfigurationIsVisible = 0; 1623 | defaultConfigurationName = Release; 1624 | }; 1625 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "rndat-tvOS" */ = { 1626 | isa = XCConfigurationList; 1627 | buildConfigurations = ( 1628 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1629 | 2D02E4981E0B4A5E006451C7 /* Release */, 1630 | ); 1631 | defaultConfigurationIsVisible = 0; 1632 | defaultConfigurationName = Release; 1633 | }; 1634 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "rndat-tvOSTests" */ = { 1635 | isa = XCConfigurationList; 1636 | buildConfigurations = ( 1637 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1638 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1639 | ); 1640 | defaultConfigurationIsVisible = 0; 1641 | defaultConfigurationName = Release; 1642 | }; 1643 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "rndat" */ = { 1644 | isa = XCConfigurationList; 1645 | buildConfigurations = ( 1646 | 83CBBA201A601CBA00E9B192 /* Debug */, 1647 | 83CBBA211A601CBA00E9B192 /* Release */, 1648 | ); 1649 | defaultConfigurationIsVisible = 0; 1650 | defaultConfigurationName = Release; 1651 | }; 1652 | /* End XCConfigurationList section */ 1653 | }; 1654 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1655 | } 1656 | -------------------------------------------------------------------------------- /ios/rndat.xcodeproj/xcshareddata/xcschemes/rndat-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/rndat.xcodeproj/xcshareddata/xcschemes/rndat.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/rndat/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 | 10 | @interface AppDelegate : UIResponder 11 | 12 | @property (nonatomic, strong) UIWindow *window; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /ios/rndat/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 | 13 | @implementation AppDelegate 14 | 15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 16 | { 17 | NSURL *jsCodeLocation; 18 | 19 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 20 | 21 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 22 | moduleName:@"rndat" 23 | initialProperties:nil 24 | launchOptions:launchOptions]; 25 | rootView.backgroundColor = [UIColor blackColor]; 26 | 27 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 28 | UIViewController *rootViewController = [UIViewController new]; 29 | rootViewController.view = rootView; 30 | self.window.rootViewController = rootViewController; 31 | [self.window makeKeyAndVisible]; 32 | return YES; 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /ios/rndat/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/rndat/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/rndat/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ios/rndat/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | rndat 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/rndat/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/rndatTests/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/rndatTests/rndatTests.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 rndatTests : XCTestCase 18 | 19 | @end 20 | 21 | @implementation rndatTests 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 | -------------------------------------------------------------------------------- /node.js: -------------------------------------------------------------------------------- 1 | var swarm = require('discovery-swarm') 2 | var { pipeline } = require('stream') 3 | var hypercore = require('hypercore') 4 | const ram = require('random-access-memory') 5 | var feed = hypercore('./my-first-dataset', {valueEncoding: 'utf-8'}) 6 | 7 | //feed.append('hello') 8 | //feed.append('world', function (err) { 9 | //if (err) throw err 10 | //feed.get(0, console.log) // prints hello 11 | //feed.get(1, console.log) // prints world 12 | //}) 13 | 14 | feed.ready(() => { 15 | var sw = swarm({ 16 | utp: false, 17 | stream: () => feed.replicate() 18 | }) 19 | 20 | sw.listen() 21 | 22 | sw.join(feed.discoveryKey.toString('hex')) // can be any id/name/hash 23 | 24 | sw.on('connection', function (connection) { 25 | console.log('found + connected to peer') 26 | }) 27 | 28 | //const feed2 = hypercore(ram, feed.key, { valueEncoding: 'utf-8' }) 29 | //const sync1 = feed.replicate({ live: true }) 30 | //const sync2 = feed2.replicate({ live: true }) 31 | 32 | //const read = feed2.createReadStream({ live: true }) 33 | //read.pipe(process.stdout) 34 | 35 | //pipeline( 36 | //sync1, 37 | //sync2, 38 | //sync1 39 | //) 40 | console.log(feed.discoveryKey.toString('hex')) 41 | console.log('listening: ', feed.key.toString('hex')) 42 | }) 43 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "rndat", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "npm run forward && node node_modules/react-native/local-cli/cli.js start", 7 | "forward": "adb reverse tcp:8081 tcp:8081 && adb forward tcp:8082 tcp:8082 && adb forward tcp:8083 tcp:8083", 8 | "test": "jest", 9 | "nodeify": "rn-nodeify --yarn --install stream,os,dgram,net,assert,buffer,constants,crypto,events,fs,path,process,util,vm --hack", 10 | "remove-browser-field": "node scripts/remove-browser-field", 11 | "postinstall": "npm run remove-browser-field && npm run nodeify" 12 | }, 13 | "dependencies": { 14 | "@hyperswarm/network": "^0.0.4", 15 | "assert": "^1.1.1", 16 | "asyncstorage-down": "^4.1.2", 17 | "buffer": "^4.9.1", 18 | "constants-browserify": "^1.0.0", 19 | "discovery-swarm": "^5.1.4", 20 | "dns.js": "^1.0.1", 21 | "es6-symbol": "^3.1.1", 22 | "events": "^1.0.0", 23 | "hypercore": "^6.24.0", 24 | "levelup": "^4.0.0", 25 | "node-dns": "^0.1.0", 26 | "path-browserify": "0.0.0", 27 | "pify": "^4.0.1", 28 | "process": "^0.11.0", 29 | "pump": "^3.0.0", 30 | "random-access-key-value": "https://github.com/tinchoz49/random-access-key-value", 31 | "random-access-memory": "^3.1.1", 32 | "react": "16.6.3", 33 | "react-native": "0.58.3", 34 | "react-native-crypto": "^2.1.0", 35 | "react-native-dns": "https://github.com/naxel/react-native-dns", 36 | "react-native-level-fs": "^3.0.0", 37 | "react-native-os": "^1.0.1", 38 | "react-native-randombytes": "^3.0.0", 39 | "react-native-tcp": "^3.2.1", 40 | "react-native-udp": "^2.4.0", 41 | "readable-stream": "1.0.33", 42 | "realm-down": "https://github.com/geut/realm-down", 43 | "stream-browserify": "^1.0.0", 44 | "util": "~0.10.3", 45 | "vm-browserify": "0.0.4" 46 | }, 47 | "devDependencies": { 48 | "babel-core": "^7.0.0-bridge.0", 49 | "babel-jest": "24.0.0", 50 | "babel-plugin-module-resolver": "^3.1.3", 51 | "jest": "24.0.0", 52 | "metro-react-native-babel-preset": "0.51.1", 53 | "react-native-create-bridge": "^2.0.1", 54 | "react-test-renderer": "16.6.3", 55 | "rn-nodeify": "^10.0.1" 56 | }, 57 | "jest": { 58 | "preset": "react-native" 59 | }, 60 | "react-native": { 61 | "constants": "constants-browserify", 62 | "crypto": "react-native-crypto", 63 | "path": "path-browserify", 64 | "fs": "react-native-level-fs", 65 | "vm": "vm-browserify", 66 | "net": "react-native-tcp", 67 | "dgram": "react-native-udp", 68 | "os": "react-native-os", 69 | "_stream_transform": "readable-stream/transform", 70 | "_stream_readable": "readable-stream/readable", 71 | "_stream_writable": "readable-stream/writable", 72 | "_stream_duplex": "readable-stream/duplex", 73 | "_stream_passthrough": "readable-stream/passthrough", 74 | "stream": "stream-browserify" 75 | }, 76 | "browser": { 77 | "constants": "constants-browserify", 78 | "crypto": "react-native-crypto", 79 | "path": "path-browserify", 80 | "fs": "react-native-level-fs", 81 | "vm": "vm-browserify", 82 | "net": "react-native-tcp", 83 | "dgram": "react-native-udp", 84 | "os": "react-native-os", 85 | "_stream_transform": "readable-stream/transform", 86 | "_stream_readable": "readable-stream/readable", 87 | "_stream_writable": "readable-stream/writable", 88 | "_stream_duplex": "readable-stream/duplex", 89 | "_stream_passthrough": "readable-stream/passthrough", 90 | "stream": "stream-browserify" 91 | } 92 | } -------------------------------------------------------------------------------- /scripts/remove-browser-field.js: -------------------------------------------------------------------------------- 1 | const pify = require('pify') 2 | const fs = pify(require('fs')) 3 | const path = require('path') 4 | 5 | const removeBrowserField = async moduleName => { 6 | console.log(`- removing browser field for ${moduleName}`) 7 | const modulePath = path.dirname(require.resolve(moduleName)) 8 | const packageJSON = JSON.parse(await fs.readFile(`${modulePath}/package.json`)) 9 | delete packageJSON.browser 10 | delete packageJSON['react-native'] 11 | await fs.writeFile(path.join(modulePath, 'package.json'), JSON.stringify(packageJSON, null, 2)) 12 | } 13 | 14 | ;(async () => { 15 | await removeBrowserField('simple-sha1') 16 | })() 17 | -------------------------------------------------------------------------------- /shim.js: -------------------------------------------------------------------------------- 1 | if (typeof __dirname === 'undefined') global.__dirname = '/' 2 | if (typeof __filename === 'undefined') global.__filename = '' 3 | if (typeof process === 'undefined') { 4 | global.process = require('process') 5 | } else { 6 | const bProcess = require('process') 7 | for (var p in bProcess) { 8 | if (!(p in process)) { 9 | process[p] = bProcess[p] 10 | } 11 | } 12 | } 13 | 14 | process.browser = false 15 | if (typeof Buffer === 'undefined') global.Buffer = require('buffer').Buffer 16 | 17 | // global.location = global.location || { port: 80 } 18 | const isDev = typeof __DEV__ === 'boolean' && __DEV__ 19 | process.env['NODE_ENV'] = isDev ? 'development' : 'production' 20 | if (typeof localStorage !== 'undefined') { 21 | localStorage.debug = isDev ? '*' : '' 22 | } 23 | 24 | // If using the crypto shim, uncomment the following line to ensure 25 | // crypto is loaded first, so it can populate global.crypto 26 | require('crypto') 27 | 28 | // Extra shims to make libs work 29 | if (! Uint8Array.prototype.fill) 30 | Uint8Array.prototype.fill = function(val) { 31 | for (var i = 0; i < this.length; ++ i) 32 | this[i] = val; 33 | } 34 | -------------------------------------------------------------------------------- /shims/dns.js: -------------------------------------------------------------------------------- 1 | import { NativeModules } from 'react-native' 2 | import dns from 'dns.js' 3 | const { DnsLookup } = NativeModules 4 | 5 | dns.lookup = (...args) => DnsLookup.lookup(...args) 6 | 7 | module.exports = dns 8 | -------------------------------------------------------------------------------- /shims/utp-native.js: -------------------------------------------------------------------------------- 1 | module.exports = null 2 | -------------------------------------------------------------------------------- /src/for-each-chunk.js: -------------------------------------------------------------------------------- 1 | const { Writable } = require('stream') 2 | 3 | class ForEachChunk extends Writable { 4 | constructor (opts, cb) { 5 | if (!cb) { 6 | cb = opts 7 | opts = {} 8 | } 9 | super(opts) 10 | 11 | this.cb = cb 12 | } 13 | 14 | _write (chunk, enc, next) { 15 | this.cb(chunk, enc, next) 16 | } 17 | } 18 | 19 | module.exports = (...args) => new ForEachChunk(...args) 20 | -------------------------------------------------------------------------------- /src/hypercore.js: -------------------------------------------------------------------------------- 1 | const levelup = require('levelup') 2 | const randomAccessKeyValue = require('random-access-key-value') 3 | const ram = require('random-access-memory') 4 | const realmdown = require('realm-down') 5 | const hypercore = require('hypercore') 6 | const swarm = require('discovery-swarm') 7 | const pump = require('pump') 8 | const forEachChunk = require('./for-each-chunk') 9 | 10 | const db = levelup(realmdown()) 11 | const storage = filename => randomAccessKeyValue(db, filename) 12 | 13 | const feed = hypercore(ram, 'ba6ae04d574f27de896dae9f3fc4d5c9332b8efc465a2897f592f84ce3b07967', { valueEncoding: 'utf-8' }) 14 | 15 | feed.on('ready', function() { 16 | console.warn(feed.discoveryKey.toString('hex')) 17 | 18 | var sw = swarm({ 19 | utp: false 20 | }) 21 | 22 | sw.listen() 23 | 24 | sw.join(feed.discoveryKey.toString('hex')) 25 | 26 | sw.on('connection', function (connection) { 27 | console.log('found + connected to peer') 28 | }) 29 | 30 | }); 31 | 32 | //const read = feed.createReadStream() 33 | //read.pipe(forEachChunk((chunk, enc, next) => { 34 | //console.log(chunk.toString()) 35 | //next() 36 | //})) 37 | 38 | //const feed = hypercore(ram, { valueEncoding: 'utf8' }) 39 | 40 | //feed.append('test') 41 | //setInterval(() => { 42 | //feed.append('test') 43 | //}, 2000); 44 | 45 | //feed.ready(() => { 46 | //const feed2 = hypercore(ram, feed.key, { valueEncoding: 'utf8' }) 47 | //const sync1 = feed.replicate({ live: true }) 48 | //const sync2 = feed2.replicate({ live: true }) 49 | 50 | //const read = feed2.createReadStream({ live: true }) 51 | //read.pipe(forEachChunk((chunk, enc, next) => { 52 | //console.log(chunk.toString()) 53 | //next() 54 | //})) 55 | 56 | //pump( 57 | //sync1, 58 | //sync2, 59 | //sync1, 60 | //err => { 61 | //if (err) { 62 | //return console.log(err.message) 63 | //} 64 | 65 | //feed2.get(0, console.log) 66 | //} 67 | //) 68 | //}) 69 | --------------------------------------------------------------------------------