├── .babelrc ├── app.json ├── index.js ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── android ├── app │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ └── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── java │ │ │ └── com │ │ │ │ └── haultest │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── AndroidManifest.xml │ ├── proguard-rules.pro │ └── build.gradle └── keystores │ └── debug.keystore.properties ├── ios ├── Korn │ ├── Images.xcassets │ │ ├── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── AppDelegate.h │ ├── main.m │ ├── AppDelegate.m │ ├── Info.plist │ └── Base.lproj │ │ └── LaunchScreen.xib ├── KornTests │ ├── Info.plist │ └── HaulTestTests.m ├── Korn-tvOSTests │ └── Info.plist ├── Korn-tvOS │ └── Info.plist └── Korn.xcodeproj │ ├── xcshareddata │ └── xcschemes │ │ ├── HaulTest.xcscheme │ │ └── HaulTest-tvOS.xcscheme │ └── project.pbxproj ├── shared ├── src │ └── main │ │ └── kotlin │ │ ├── js │ │ └── Object.kt │ │ ├── com │ │ └── github │ │ │ └── denisidoro │ │ │ └── korn │ │ │ ├── rating │ │ │ ├── Action.kt │ │ │ ├── Store.kt │ │ │ ├── Model.kt │ │ │ ├── Reducer.kt │ │ │ ├── ViewModel.kt │ │ │ └── View.kt │ │ │ ├── header │ │ │ └── View.kt │ │ │ └── Main.kt │ │ ├── react │ │ ├── native │ │ │ ├── AppRegistry.kt │ │ │ ├── Components.kt │ │ │ ├── Alert.kt │ │ │ └── Platform.kt │ │ ├── Extensions.kt │ │ ├── React.kt │ │ ├── ViewBuilder.kt │ │ └── Style.kt │ │ └── redux │ │ └── Store.kt └── build.gradle ├── webpack.haul.js ├── README.md ├── package.json ├── gradle.properties ├── .gitignore ├── gradlew.bat ├── gradlew └── LICENSE /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } 4 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Korn", 3 | "displayName": "Korn" 4 | } -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import './shared/build/classes/kotlin/main/shared.js' 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'Korn' 2 | 3 | include ':android:app', 4 | ':shared' 5 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denisidoro/korn/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Korn 3 | 4 | -------------------------------------------------------------------------------- /ios/Korn/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/js/Object.kt: -------------------------------------------------------------------------------- 1 | package js 2 | 3 | external object Object { 4 | fun assign(to: dynamic, from: dynamic) 5 | } 6 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denisidoro/korn/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denisidoro/korn/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denisidoro/korn/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denisidoro/korn/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/com/github/denisidoro/korn/rating/Action.kt: -------------------------------------------------------------------------------- 1 | package com.github.denisidoro.korn.rating 2 | 3 | sealed class CounterAction { 4 | object INCREMENT: CounterAction() 5 | object DECREMENT: CounterAction() 6 | } 7 | -------------------------------------------------------------------------------- /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.4.1-all.zip 6 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/com/github/denisidoro/korn/rating/Store.kt: -------------------------------------------------------------------------------- 1 | package com.github.denisidoro.korn.rating 2 | 3 | import redux.Store 4 | 5 | typealias RatingStore = Store 6 | 7 | fun createStore(initialState: Rating) = 8 | Store(initialState, createReducer()) 9 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/react/native/AppRegistry.kt: -------------------------------------------------------------------------------- 1 | @file:JsModule("react-native") 2 | @file:Suppress("unused") 3 | 4 | package react.native 5 | 6 | import react.React 7 | 8 | external object AppRegistry { 9 | fun > registerComponent(name: String, createComponent: () -> JsClass) 10 | } 11 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/com/github/denisidoro/korn/rating/Model.kt: -------------------------------------------------------------------------------- 1 | package com.github.denisidoro.korn.rating 2 | 3 | data class Rating(val language: String, val score: Int) 4 | 5 | class RatingProps(val formattedText: String, 6 | val onIncrementClick: () -> Unit, 7 | val onDecrementClick: () -> Unit) 8 | 9 | -------------------------------------------------------------------------------- /webpack.haul.js: -------------------------------------------------------------------------------- 1 | module.exports = ({ platform }, defaults) => ({ 2 | entry: `./index.js`, 3 | module: { 4 | ...defaults.module, 5 | rules: [ 6 | ...defaults.module.rules, 7 | { 8 | test: /\.js$/, 9 | use: ["source-map-loader"], 10 | enforce: "pre" 11 | } 12 | ] 13 | } 14 | }); -------------------------------------------------------------------------------- /shared/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'kotlin-platform-js' 2 | 3 | dependencies { 4 | compile deps.kotlin.stdlib.js 5 | } 6 | 7 | compileKotlin2Js { 8 | kotlinOptions.metaInfo = true 9 | kotlinOptions.sourceMap = true 10 | kotlinOptions.sourceMapEmbedSources = "always" 11 | kotlinOptions.moduleKind = 'commonjs' 12 | } 13 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/react/native/Components.kt: -------------------------------------------------------------------------------- 1 | @file:JsModule("react-native") 2 | @file:Suppress("unused") 3 | 4 | package react.native 5 | 6 | external class TouchableHighlight 7 | external class ScrollView 8 | external class Button 9 | external class TextInput 10 | external class View 11 | external class Text 12 | external class Image 13 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/react/native/Alert.kt: -------------------------------------------------------------------------------- 1 | @file:JsModule("react-native") 2 | @file:Suppress("unused") 3 | 4 | package react.native 5 | 6 | external object Alert { 7 | 8 | fun alert(title: String, 9 | message: String? = definedExternally, 10 | buttons: dynamic = definedExternally, 11 | options: dynamic = definedExternally, 12 | type: dynamic = definedExternally) 13 | } 14 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/haultest/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.Korn; 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 "Korn"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/com/github/denisidoro/korn/rating/Reducer.kt: -------------------------------------------------------------------------------- 1 | package com.github.denisidoro.korn.rating 2 | 3 | import com.github.denisidoro.korn.rating.CounterAction.DECREMENT 4 | import com.github.denisidoro.korn.rating.CounterAction.INCREMENT 5 | 6 | fun createReducer() = { state: Rating, action: CounterAction -> 7 | when (action) { 8 | is INCREMENT -> state.copy(score = state.score + 1) 9 | is DECREMENT -> state.copy(score = state.score - 1) 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/react/native/Platform.kt: -------------------------------------------------------------------------------- 1 | @file:JsModule("react-native") 2 | @file:Suppress("unused") 3 | 4 | package react.native 5 | 6 | external interface PlatformSelectConfig { 7 | var ios: T 8 | var android: T 9 | } 10 | 11 | external object StyleSheet { 12 | fun create(style: dynamic): dynamic 13 | } 14 | 15 | external object Platform { 16 | val OS: String 17 | 18 | @JsName("Version") 19 | val VERSION: dynamic 20 | 21 | fun select(select: PlatformSelectConfig): T 22 | } 23 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/com/github/denisidoro/korn/rating/ViewModel.kt: -------------------------------------------------------------------------------- 1 | package com.github.denisidoro.korn.rating 2 | 3 | import com.github.denisidoro.korn.rating.CounterAction.* 4 | import redux.Dispatcher 5 | 6 | fun viewModel(state: Rating, dispatch: Dispatcher): RatingProps { 7 | return RatingProps( 8 | formattedText = "${state.language} scores ${state.score}!", 9 | onIncrementClick = { dispatch(INCREMENT) }, 10 | onDecrementClick = { dispatch(DECREMENT) }) 11 | } 12 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/react/Extensions.kt: -------------------------------------------------------------------------------- 1 | @file:Suppress("unused") 2 | 3 | package react 4 | 5 | import react.native.AppRegistry 6 | 7 | // Components 8 | 9 | inline fun > AppRegistry.registerComponent(name: String) { 10 | registerComponent(name) { T::class.js } 11 | } 12 | 13 | // JS 14 | 15 | inline fun json(init: dynamic.() -> Unit): dynamic { 16 | val o = json() 17 | init(o) 18 | return o 19 | } 20 | 21 | @Suppress("NOTHING_TO_INLINE") 22 | inline fun json(): dynamic = js("{}") -------------------------------------------------------------------------------- /ios/Korn/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (nonatomic, strong) UIWindow *window; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/com/github/denisidoro/korn/header/View.kt: -------------------------------------------------------------------------------- 1 | package com.github.denisidoro.korn.header 2 | 3 | import org.w3c.fetch.Headers 4 | import react.* 5 | 6 | class Header : React.PureComponent() { 7 | override fun render() = 8 | view(style = Style(backgroundColor = "skyblue", padding = 20, marginBottom = 10)) { 9 | text(style = TextStyle(color = "white", fontSize = 26, fontWeight = "bold"), 10 | text = "Kotlin React Native") 11 | } 12 | } 13 | 14 | fun ViewBuilder.header() = component(Header()) 15 | -------------------------------------------------------------------------------- /ios/Korn/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import "AppDelegate.h" 13 | 14 | int main(int argc, char * argv[]) { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Korn 2 | 3 | ### Running the Project 4 | - `yarn install` 5 | - `./gradlew -t :shared:assemble` 6 | - `yarn haul start`, in another terminal window 7 | - build and run the app 8 | - access the [in-app developer menu](https://facebook.github.io/react-native/docs/debugging.html) > Dev Settings > Disable JS Deltas 9 | 10 | ### Disclaimer 11 | This repository is heavily inspired by [JetBrains/kotlin-wrappers](https://github.com/JetBrains/kotlin-wrappers/tree/master/kotlin-react) and [ScottPierce/kotlin-react-native](https://github.com/ScottPierce/kotlin-react-native). Please check out these projects as well. -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Korn", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest", 8 | "haul": "haul" 9 | }, 10 | "dependencies": { 11 | "kotlin": "1.2.20", 12 | "react": "16.2.0", 13 | "react-native": "0.52.0" 14 | }, 15 | "devDependencies": { 16 | "babel-jest": "22.1.0", 17 | "babel-preset-react-native": "4.0.0", 18 | "haul": "^1.0.0-beta.12", 19 | "jest": "22.1.2", 20 | "react-test-renderer": "16.2.0", 21 | "source-map-loader": "^0.2.3" 22 | }, 23 | "jest": { 24 | "preset": "react-native" 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /ios/Korn/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 | } -------------------------------------------------------------------------------- /shared/src/main/kotlin/com/github/denisidoro/korn/Main.kt: -------------------------------------------------------------------------------- 1 | package com.github.denisidoro.korn 2 | 3 | import com.github.denisidoro.korn.header.header 4 | import com.github.denisidoro.korn.rating.* 5 | import react.React 6 | import react.Style 7 | import react.native.AppRegistry 8 | import react.registerComponent 9 | import react.view 10 | 11 | val kotlinStore = createStore(Rating("Kotlin", 55)) 12 | val javascriptStore = createStore(Rating("JavaScript", 50)) 13 | 14 | fun main(args: Array) { 15 | AppRegistry.registerComponent("Korn") 16 | } 17 | 18 | class HelloWorld : React.Component() { 19 | override fun render() = 20 | view { 21 | header() 22 | rating(kotlinStore) 23 | rating(javascriptStore) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/redux/Store.kt: -------------------------------------------------------------------------------- 1 | package redux 2 | 3 | typealias Dispatcher = (A) -> Unit 4 | typealias Reducer = (S, A) -> S 5 | typealias Callback = (S, Dispatcher) -> Unit 6 | 7 | class Store( 8 | initialState: S, 9 | private val reducer: Reducer) { 10 | 11 | var callback: Callback? = null 12 | 13 | var state: S = initialState 14 | 15 | private fun update() { 16 | callback?.invoke(state, dispatch) 17 | } 18 | 19 | fun subscribe(onUpdate: Callback) { 20 | console.log("SUBSCRIBE") 21 | callback = onUpdate 22 | update() 23 | } 24 | 25 | fun unsubscribe() { 26 | callback = null 27 | } 28 | 29 | val dispatch: Dispatcher = { action: A -> 30 | state.let { state = reducer(it, action) } 31 | update() 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /ios/KornTests/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/Korn-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 | -------------------------------------------------------------------------------- /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=-Xmx2g -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useDeprecatedNdk=true 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.iml 3 | yarn.lock 4 | package-lock.json 5 | 6 | # OSX 7 | # 8 | .DS_Store 9 | 10 | # Xcode 11 | # 12 | build/ 13 | *.pbxuser 14 | !default.pbxuser 15 | *.mode1v3 16 | !default.mode1v3 17 | *.mode2v3 18 | !default.mode2v3 19 | *.perspectivev3 20 | !default.perspectivev3 21 | xcuserdata 22 | *.xccheckout 23 | *.moved-aside 24 | DerivedData 25 | *.hmap 26 | *.ipa 27 | *.xcuserstate 28 | project.xcworkspace 29 | 30 | # Android/IntelliJ 31 | # 32 | build/ 33 | .idea 34 | .gradle 35 | local.properties 36 | *.iml 37 | 38 | # node.js 39 | # 40 | node_modules/ 41 | npm-debug.log 42 | yarn-error.log 43 | 44 | # BUCK 45 | buck-out/ 46 | \.buckd/ 47 | *.keystore 48 | 49 | # fastlane 50 | # 51 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 52 | # screenshots whenever they are needed. 53 | # For more information about the recommended setup visit: 54 | # https://docs.fastlane.tools/best-practices/source-control/ 55 | 56 | */fastlane/report.xml 57 | */fastlane/Preview.html 58 | */fastlane/screenshots 59 | 60 | # Haul 61 | # 62 | haul-debug.log 63 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/react/React.kt: -------------------------------------------------------------------------------- 1 | package react 2 | 3 | @JsModule("react") 4 | external object React { 5 | abstract class Component( 6 | props: P? = definedExternally, 7 | state: S? = definedExternally 8 | ) { 9 | open var props: P 10 | open var state: S 11 | open val context: Any? 12 | 13 | fun forceUpdate() 14 | 15 | @JsName("setState") 16 | fun setState(state: S, callback: (() -> Unit)? = definedExternally) 17 | 18 | @JsName("setState") 19 | fun setState(updater: (S, P) -> S) 20 | 21 | open fun componentWillMount() 22 | 23 | open fun componentDidMount() 24 | 25 | open fun componentWillReceiveProps(nextProps: P) 26 | 27 | open fun shouldComponentUpdate(nextProps: P, nextState: S): Boolean 28 | 29 | open fun componentWillUpdate(nextProps: P, nextState: S) 30 | 31 | @JsName("render") 32 | abstract fun render(): dynamic 33 | 34 | open fun componentDidUpdate(prevProps: P, prevState: S) 35 | 36 | open fun componentWillUnmount() 37 | 38 | open fun componentDidCatch(error: Throwable, info: Any?) 39 | } 40 | 41 | abstract class PureComponent : Component 42 | 43 | fun createElement(elementClass: dynamic, props: dynamic, vararg children: dynamic): dynamic 44 | } 45 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/haultest/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.Korn; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.facebook.react.ReactNativeHost; 7 | import com.facebook.react.ReactPackage; 8 | import com.facebook.react.shell.MainReactPackage; 9 | import com.facebook.soloader.SoLoader; 10 | 11 | import java.util.Arrays; 12 | import java.util.List; 13 | 14 | public class MainApplication extends Application implements ReactApplication { 15 | 16 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 17 | @Override 18 | public boolean getUseDeveloperSupport() { 19 | return BuildConfig.DEBUG; 20 | } 21 | 22 | @Override 23 | protected List getPackages() { 24 | return Arrays.asList( 25 | new MainReactPackage() 26 | ); 27 | } 28 | 29 | @Override 30 | protected String getJSMainModuleName() { 31 | return "index"; 32 | } 33 | }; 34 | 35 | @Override 36 | public ReactNativeHost getReactNativeHost() { 37 | return mReactNativeHost; 38 | } 39 | 40 | @Override 41 | public void onCreate() { 42 | super.onCreate(); 43 | SoLoader.init(this, /* native exopackage */ false); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/com/github/denisidoro/korn/rating/View.kt: -------------------------------------------------------------------------------- 1 | package com.github.denisidoro.korn.rating 2 | 3 | import react.* 4 | 5 | val buttonStyle = Style(height = 30, flex = 1, margin = 10) 6 | 7 | class Rating : React.PureComponent() { 8 | override fun render() = 9 | view { 10 | text(style = TextStyle(margin = 10, fontSize = 18), 11 | text = props.formattedText) 12 | view(style = Style(flex = 1, flexDirection = "row", marginBottom = 60)) { 13 | view(buttonStyle) { 14 | button(title = "-1", 15 | onPress = props.onDecrementClick) 16 | } 17 | view(buttonStyle) { 18 | button(title = "+1", 19 | onPress = props.onIncrementClick ) 20 | } 21 | } 22 | } 23 | } 24 | 25 | class RatingContainer(private val store: RatingStore) : React.Component() { 26 | override fun componentWillMount() { 27 | store.subscribe { s, d -> setState(viewModel(s, d)) } 28 | } 29 | 30 | override fun componentWillUnmount() { 31 | store.unsubscribe() 32 | } 33 | 34 | override fun render(): dynamic { 35 | return view { 36 | component(Rating(), state) 37 | } 38 | } 39 | } 40 | 41 | fun ViewBuilder.rating(store: RatingStore) = component(RatingContainer(store)) 42 | -------------------------------------------------------------------------------- /ios/Korn/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | 12 | #import 13 | #import 14 | 15 | @implementation AppDelegate 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | NSURL *jsCodeLocation; 20 | 21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"Korn" 25 | initialProperties:nil 26 | launchOptions:launchOptions]; 27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 28 | 29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 30 | UIViewController *rootViewController = [UIViewController new]; 31 | rootViewController.view = rootView; 32 | self.window.rootViewController = rootViewController; 33 | [self.window makeKeyAndVisible]; 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /ios/Korn-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/Korn/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | Korn 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UIViewControllerBasedStatusBarAppearance 40 | 41 | NSLocationWhenInUseUsageDescription 42 | 43 | NSAppTransportSecurity 44 | 45 | 46 | NSExceptionDomains 47 | 48 | localhost 49 | 50 | NSExceptionAllowsInsecureHTTPLoads 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /ios/KornTests/HaulTestTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | #import 12 | 13 | #import 14 | #import 15 | 16 | #define TIMEOUT_SECONDS 600 17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 18 | 19 | @interface KornTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation KornTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /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/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout. 54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details. 55 | -dontwarn android.text.StaticLayout 56 | 57 | # okhttp 58 | 59 | -keepattributes Signature 60 | -keepattributes *Annotation* 61 | -keep class okhttp3.** { *; } 62 | -keep interface okhttp3.** { *; } 63 | -dontwarn okhttp3.** 64 | 65 | # okio 66 | 67 | -keep class sun.misc.Unsafe { *; } 68 | -dontwarn java.nio.file.* 69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 70 | -dontwarn okio.** 71 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/react/ViewBuilder.kt: -------------------------------------------------------------------------------- 1 | package react 2 | 3 | import react.native.* 4 | 5 | inline fun view(style: Style? = null, block: ViewBuilder.() -> Unit): dynamic { 6 | val builder = ViewBuilder() 7 | builder.block() 8 | return builder.build(style) 9 | } 10 | 11 | inline fun view(block: ViewBuilder.() -> Unit) = view(null, block) 12 | 13 | class ViewBuilder { 14 | val children = arrayListOf() 15 | 16 | fun text(text: String, style: Style? = null) { 17 | val props = json { 18 | this.style = style 19 | } 20 | 21 | addElement(element = Text::class.js, props = props, params = *arrayOf(text)) 22 | } 23 | 24 | fun button(title: String, onPress: () -> Unit = {}) { 25 | val props = json { 26 | this.title = title 27 | this.onPress = onPress 28 | } 29 | 30 | addElement(element = Button::class.js, props = props) 31 | } 32 | 33 | fun touchableHighlight(onPress: () -> Unit, block: ViewBuilder.() -> Unit) { 34 | val props = json { 35 | this.onPress = onPress 36 | } 37 | addElement(element = TouchableHighlight::class.js, props = props, params = *arrayOf(react.view(null, block))) 38 | } 39 | 40 | fun scrollView(block: ViewBuilder.() -> Unit) { 41 | addElement(element = ScrollView::class.js, props = null, params = *arrayOf(react.view(null, block))) 42 | } 43 | 44 | fun image(style: Style? = null, uri: String) { 45 | val props = json { 46 | this.source = json { this.uri = uri } 47 | this.style = style 48 | } 49 | addElement(element = Image::class.js, props = props) 50 | } 51 | 52 | fun textInput(value: String, onChangeText: (String) -> Unit) { 53 | val props = json { 54 | this.value = value 55 | this.onChangeText = onChangeText 56 | } 57 | addElement(element = TextInput::class.js, props = props) 58 | } 59 | 60 | fun

component(component: React.Component, props: P? = null) { 61 | val _props = if (props == null) json {} else props 62 | children.add(React.createElement({ component }, _props)) 63 | } 64 | 65 | inline fun view(style: Style? = null, block: ViewBuilder.() -> Unit) { 66 | children.add(react.view(style, block)) 67 | } 68 | 69 | // TODO: only wrap by a View when necessary 70 | fun build(style: Style? = null): dynamic { 71 | val props = json { 72 | this.style = style 73 | } 74 | return React.createElement(View::class.js, props, *children.toTypedArray()) 75 | } 76 | 77 | private fun addElement(element: dynamic, props: dynamic, vararg params: dynamic) { 78 | val _props = props ?: json() 79 | 80 | val p = when { 81 | params.isEmpty() -> null 82 | params.size == 1 -> params.first() 83 | else -> params 84 | } 85 | 86 | children.add(React.createElement(element, _props, p)) 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /ios/Korn/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 | -------------------------------------------------------------------------------- /shared/src/main/kotlin/react/Style.kt: -------------------------------------------------------------------------------- 1 | package react 2 | 3 | open class Style( 4 | val alignContent: dynamic = undefined /* String /* "flex-start" */ | String /* "flex-end" */ | String /* "center" */ | String /* "stretch" */ | String /* "space-between" */ | String /* "space-around" */ */, 5 | val alignItems: dynamic = undefined /* String /* "flex-start" */ | String /* "flex-end" */ | String /* "center" */ | String /* "stretch" */ | String /* "baseline" */ */, 6 | val alignSelf: dynamic = undefined /* String /* "flex-start" */ | String /* "flex-end" */ | String /* "center" */ | String /* "stretch" */ | String /* "baseline" */ | String /* "auto" */ */, 7 | val aspectRatio: Number? = undefined, 8 | val borderBottomWidth: Number? = undefined, 9 | val borderEndWidth: dynamic = undefined /* String | Number */, 10 | val borderLeftWidth: Number? = undefined, 11 | val borderRightWidth: Number? = undefined, 12 | val borderStartWidth: dynamic = undefined /* String | Number */, 13 | val borderTopWidth: Number? = undefined, 14 | val borderWidth: Number? = undefined, 15 | val bottom: dynamic = undefined /* String | Number */, 16 | val display: dynamic = undefined /* String /* "none" */ | String /* "flex" */ */, 17 | val end: dynamic = undefined /* String | Number */, 18 | val flex: Number? = undefined, 19 | val flexBasis: dynamic = undefined /* String | Number */, 20 | val flexDirection: dynamic = undefined /* String /* "row" */ | String /* "column" */ | String /* "row-reverse" */ | String /* "column-reverse" */ */, 21 | val flexGrow: Number? = undefined, 22 | val flexShrink: Number? = undefined, 23 | val flexWrap: dynamic = undefined /* String /* "wrap" */ | String /* "nowrap" */ */, 24 | val height: dynamic = undefined /* String | Number */, 25 | val justifyContent: dynamic = undefined /* String /* "flex-start" */ | String /* "flex-end" */ | String /* "center" */ | String /* "space-between" */ | String /* "space-around" */ | String /* "space-evenly" */ */, 26 | val left: dynamic = undefined /* String | Number */, 27 | val margin: dynamic = undefined /* String | Number */, 28 | val marginBottom: dynamic = undefined /* String | Number */, 29 | val marginEnd: dynamic = undefined /* String | Number */, 30 | val marginHorizontal: dynamic = undefined /* String | Number */, 31 | val marginLeft: dynamic = undefined /* String | Number */, 32 | val marginRight: dynamic = undefined /* String | Number */, 33 | val marginStart: dynamic = undefined /* String | Number */, 34 | val marginTop: dynamic = undefined /* String | Number */, 35 | val marginVertical: dynamic = undefined /* String | Number */, 36 | val maxHeight: dynamic = undefined /* String | Number */, 37 | val maxWidth: dynamic = undefined /* String | Number */, 38 | val minHeight: dynamic = undefined /* String | Number */, 39 | val minWidth: dynamic = undefined /* String | Number */, 40 | val overflow: dynamic = undefined /* String /* "visible" */ | String /* "hidden" */ | String /* "scroll" */ */, 41 | val padding: dynamic = undefined /* String | Number */, 42 | val paddingBottom: dynamic = undefined /* String | Number */, 43 | val paddingEnd: dynamic = undefined /* String | Number */, 44 | val paddingHorizontal: dynamic = undefined /* String | Number */, 45 | val paddingLeft: dynamic = undefined /* String | Number */, 46 | val paddingRight: dynamic = undefined /* String | Number */, 47 | val paddingStart: dynamic = undefined /* String | Number */, 48 | val paddingTop: dynamic = undefined /* String | Number */, 49 | val paddingVertical: dynamic = undefined /* String | Number */, 50 | val position: dynamic = undefined /* String /* "absolute" */ | String /* "relative" */ */, 51 | val right: dynamic = undefined /* String | Number */, 52 | val start: dynamic = undefined /* String | Number */, 53 | val top: dynamic = undefined /* String | Number */, 54 | val width: dynamic = undefined /* String | Number */, 55 | val zIndex: Number? = undefined, 56 | val direction: dynamic = undefined /* String /* "inherit" */ | String /* "ltr" */ | String /* "rtl" */ */, 57 | val rotation: Number? = undefined, 58 | val scaleX: Number? = undefined, 59 | val scaleY: Number? = undefined, 60 | val translateX: Number? = undefined, 61 | val translateY: Number? = undefined, 62 | val backfaceVisibility: dynamic = undefined /* String /* "visible" */ | String /* "hidden" */ */, 63 | val backgroundColor: String? = undefined) 64 | 65 | class TextStyle( 66 | val color: String? = undefined, 67 | val fontSize: Number? = undefined, 68 | val fontWeight: String? = undefined, 69 | margin: dynamic = undefined): Style(margin = margin) -------------------------------------------------------------------------------- /ios/Korn.xcodeproj/xcshareddata/xcschemes/HaulTest.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/Korn.xcodeproj/xcshareddata/xcschemes/HaulTest-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 | -------------------------------------------------------------------------------- /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/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | apply plugin: 'kotlin-android' 3 | 4 | import com.android.build.OutputFile 5 | 6 | /** 7 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 8 | * and bundleReleaseJsAndAssets). 9 | * These basically call `react-native bundle` with the correct arguments during the Android build 10 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 11 | * bundle directly from the development server. Below you can see all the possible configurations 12 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 13 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 14 | * 15 | * project.ext.react = [ 16 | * // the name of the generated asset file containing your JS bundle 17 | * bundleAssetName: "index.android.bundle", 18 | * 19 | * // the entry file for bundle generation 20 | * entryFile: "index.android.js", 21 | * 22 | * // whether to bundle JS and assets in debug mode 23 | * bundleInDebug: false, 24 | * 25 | * // whether to bundle JS and assets in release mode 26 | * bundleInRelease: true, 27 | * 28 | * // whether to bundle JS and assets in another build variant (if configured). 29 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 30 | * // The configuration property can be in the following formats 31 | * // 'bundleIn${productFlavor}${buildType}' 32 | * // 'bundleIn${buildType}' 33 | * // bundleInFreeDebug: true, 34 | * // bundleInPaidRelease: true, 35 | * // bundleInBeta: true, 36 | * 37 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 38 | * // for example: to disable dev mode in the staging build type (if configured) 39 | * devDisabledInStaging: true, 40 | * // The configuration property can be in the following formats 41 | * // 'devDisabledIn${productFlavor}${buildType}' 42 | * // 'devDisabledIn${buildType}' 43 | * 44 | * // the root of your project, i.e. where "package.json" lives 45 | * root: "../../", 46 | * 47 | * // where to put the JS bundle asset in debug mode 48 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 49 | * 50 | * // where to put the JS bundle asset in release mode 51 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 52 | * 53 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 54 | * // require('./image.png')), in debug mode 55 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 56 | * 57 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 58 | * // require('./image.png')), in release mode 59 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 60 | * 61 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 62 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 63 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 64 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 65 | * // for example, you might want to remove it from here. 66 | * inputExcludes: ["android/**", "ios/**"], 67 | * 68 | * // override which node gets called and with what additional arguments 69 | * nodeExecutableAndArgs: ["node"], 70 | * 71 | * // supply additional arguments to the packager 72 | * extraPackagerArgs: [] 73 | * ] 74 | */ 75 | 76 | project.ext.react = [ 77 | entryFile: "index.js", 78 | cliPath: "node_modules/haul/bin/cli.js" 79 | ] 80 | 81 | apply from: "../../node_modules/react-native/react.gradle" 82 | 83 | /** 84 | * Set this to true to create two separate APKs instead of one: 85 | * - An APK that only works on ARM devices 86 | * - An APK that only works on x86 devices 87 | * The advantage is the size of the APK is reduced by about 4MB. 88 | * Upload all the APKs to the Play Store and people will download 89 | * the correct one based on the CPU architecture of their device. 90 | */ 91 | def enableSeparateBuildPerCPUArchitecture = false 92 | 93 | /** 94 | * Run Proguard to shrink the Java bytecode in release builds. 95 | */ 96 | def enableProguardInReleaseBuilds = false 97 | 98 | android { 99 | compileSdkVersion 26 100 | 101 | defaultConfig { 102 | applicationId "com.Korn" 103 | minSdkVersion 21 104 | targetSdkVersion 26 105 | versionCode 1 106 | versionName "1.0" 107 | //ndk { 108 | // abiFilters "armeabi-v7a", "x86" 109 | //} 110 | } 111 | splits { 112 | abi { 113 | reset() 114 | enable enableSeparateBuildPerCPUArchitecture 115 | universalApk false // If true, also generate a universal APK 116 | include "armeabi-v7a", "x86" 117 | } 118 | } 119 | buildTypes { 120 | release { 121 | minifyEnabled enableProguardInReleaseBuilds 122 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 123 | } 124 | } 125 | // applicationVariants are e.g. debug, release 126 | applicationVariants.all { variant -> 127 | variant.outputs.each { output -> 128 | // For each separate APK per architecture, set a unique version code as described here: 129 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 130 | def versionCodes = ["armeabi-v7a":1, "x86":2] 131 | def abi = output.getFilter(OutputFile.ABI) 132 | if (abi != null) { // null for the universal-debug, universal-release variants 133 | output.versionCodeOverride = 134 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 135 | } 136 | } 137 | } 138 | } 139 | 140 | dependencies { 141 | compile "com.android.support:appcompat-v7:26.1.0" 142 | //noinspection GradleDynamicVersion 143 | compile "com.facebook.react:react-native:+" // From node_modules 144 | } 145 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /ios/Korn.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 15 | 00E356F31AD99517003FC87E /* KornTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* KornTests.m */; }; 16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 23 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 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 /* KornTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* KornTests.m */; }; 37 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.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 | /* End PBXBuildFile section */ 41 | 42 | /* Begin PBXContainerItemProxy section */ 43 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 44 | isa = PBXContainerItemProxy; 45 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 46 | proxyType = 2; 47 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 48 | remoteInfo = RCTActionSheet; 49 | }; 50 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 51 | isa = PBXContainerItemProxy; 52 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 53 | proxyType = 2; 54 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 55 | remoteInfo = RCTGeolocation; 56 | }; 57 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 58 | isa = PBXContainerItemProxy; 59 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 60 | proxyType = 2; 61 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 62 | remoteInfo = RCTImage; 63 | }; 64 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 65 | isa = PBXContainerItemProxy; 66 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 67 | proxyType = 2; 68 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 69 | remoteInfo = RCTNetwork; 70 | }; 71 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 72 | isa = PBXContainerItemProxy; 73 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 74 | proxyType = 2; 75 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 76 | remoteInfo = RCTVibration; 77 | }; 78 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 79 | isa = PBXContainerItemProxy; 80 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 81 | proxyType = 1; 82 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 83 | remoteInfo = Korn; 84 | }; 85 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 86 | isa = PBXContainerItemProxy; 87 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 88 | proxyType = 2; 89 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 90 | remoteInfo = RCTSettings; 91 | }; 92 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 93 | isa = PBXContainerItemProxy; 94 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 95 | proxyType = 2; 96 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 97 | remoteInfo = RCTWebSocket; 98 | }; 99 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 100 | isa = PBXContainerItemProxy; 101 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 102 | proxyType = 2; 103 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 104 | remoteInfo = React; 105 | }; 106 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 107 | isa = PBXContainerItemProxy; 108 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 109 | proxyType = 1; 110 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 111 | remoteInfo = "Korn-tvOS"; 112 | }; 113 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 114 | isa = PBXContainerItemProxy; 115 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 116 | proxyType = 2; 117 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 118 | remoteInfo = "RCTBlob-tvOS"; 119 | }; 120 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 121 | isa = PBXContainerItemProxy; 122 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 123 | proxyType = 2; 124 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 125 | remoteInfo = fishhook; 126 | }; 127 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 128 | isa = PBXContainerItemProxy; 129 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 130 | proxyType = 2; 131 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 132 | remoteInfo = "fishhook-tvOS"; 133 | }; 134 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 135 | isa = PBXContainerItemProxy; 136 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 137 | proxyType = 2; 138 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 139 | remoteInfo = "RCTImage-tvOS"; 140 | }; 141 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 142 | isa = PBXContainerItemProxy; 143 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 144 | proxyType = 2; 145 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 146 | remoteInfo = "RCTLinking-tvOS"; 147 | }; 148 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 149 | isa = PBXContainerItemProxy; 150 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 151 | proxyType = 2; 152 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 153 | remoteInfo = "RCTNetwork-tvOS"; 154 | }; 155 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 156 | isa = PBXContainerItemProxy; 157 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 158 | proxyType = 2; 159 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 160 | remoteInfo = "RCTSettings-tvOS"; 161 | }; 162 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 163 | isa = PBXContainerItemProxy; 164 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 165 | proxyType = 2; 166 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 167 | remoteInfo = "RCTText-tvOS"; 168 | }; 169 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 170 | isa = PBXContainerItemProxy; 171 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 172 | proxyType = 2; 173 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 174 | remoteInfo = "RCTWebSocket-tvOS"; 175 | }; 176 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 177 | isa = PBXContainerItemProxy; 178 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 179 | proxyType = 2; 180 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 181 | remoteInfo = "React-tvOS"; 182 | }; 183 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 184 | isa = PBXContainerItemProxy; 185 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 186 | proxyType = 2; 187 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 188 | remoteInfo = yoga; 189 | }; 190 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 191 | isa = PBXContainerItemProxy; 192 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 193 | proxyType = 2; 194 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 195 | remoteInfo = "yoga-tvOS"; 196 | }; 197 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 198 | isa = PBXContainerItemProxy; 199 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 200 | proxyType = 2; 201 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 202 | remoteInfo = cxxreact; 203 | }; 204 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 205 | isa = PBXContainerItemProxy; 206 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 207 | proxyType = 2; 208 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 209 | remoteInfo = "cxxreact-tvOS"; 210 | }; 211 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 212 | isa = PBXContainerItemProxy; 213 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 214 | proxyType = 2; 215 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 216 | remoteInfo = jschelpers; 217 | }; 218 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 219 | isa = PBXContainerItemProxy; 220 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 221 | proxyType = 2; 222 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 223 | remoteInfo = "jschelpers-tvOS"; 224 | }; 225 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 226 | isa = PBXContainerItemProxy; 227 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 228 | proxyType = 2; 229 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 230 | remoteInfo = RCTAnimation; 231 | }; 232 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 233 | isa = PBXContainerItemProxy; 234 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 235 | proxyType = 2; 236 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 237 | remoteInfo = "RCTAnimation-tvOS"; 238 | }; 239 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 240 | isa = PBXContainerItemProxy; 241 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 242 | proxyType = 2; 243 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 244 | remoteInfo = RCTLinking; 245 | }; 246 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 247 | isa = PBXContainerItemProxy; 248 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 249 | proxyType = 2; 250 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 251 | remoteInfo = RCTText; 252 | }; 253 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 254 | isa = PBXContainerItemProxy; 255 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 256 | proxyType = 2; 257 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 258 | remoteInfo = RCTBlob; 259 | }; 260 | /* End PBXContainerItemProxy section */ 261 | 262 | /* Begin PBXFileReference section */ 263 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 264 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 265 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 266 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 267 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 268 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 269 | 00E356EE1AD99517003FC87E /* KornTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = KornTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 270 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 271 | 00E356F21AD99517003FC87E /* KornTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KornTests.m; sourceTree = ""; }; 272 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 273 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 274 | 13B07F961A680F5B00A75B9A /* Korn.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Korn.app; sourceTree = BUILT_PRODUCTS_DIR; }; 275 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Korn/AppDelegate.h; sourceTree = ""; }; 276 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = Korn/AppDelegate.m; sourceTree = ""; }; 277 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 278 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Korn/Images.xcassets; sourceTree = ""; }; 279 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Korn/Info.plist; sourceTree = ""; }; 280 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Korn/main.m; sourceTree = ""; }; 281 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 282 | 2D02E47B1E0B4A5D006451C7 /* Korn-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Korn-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 283 | 2D02E4901E0B4A5D006451C7 /* Korn-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Korn-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 284 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 285 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 286 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 287 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 288 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 289 | /* End PBXFileReference section */ 290 | 291 | /* Begin PBXFrameworksBuildPhase section */ 292 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 293 | isa = PBXFrameworksBuildPhase; 294 | buildActionMask = 2147483647; 295 | files = ( 296 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 297 | ); 298 | runOnlyForDeploymentPostprocessing = 0; 299 | }; 300 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 301 | isa = PBXFrameworksBuildPhase; 302 | buildActionMask = 2147483647; 303 | files = ( 304 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 305 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 306 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 307 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 308 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 309 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 310 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 311 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 312 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 313 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 314 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 315 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 316 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 317 | ); 318 | runOnlyForDeploymentPostprocessing = 0; 319 | }; 320 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 321 | isa = PBXFrameworksBuildPhase; 322 | buildActionMask = 2147483647; 323 | files = ( 324 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 325 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 326 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 327 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 328 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 329 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 330 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 331 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 332 | ); 333 | runOnlyForDeploymentPostprocessing = 0; 334 | }; 335 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 336 | isa = PBXFrameworksBuildPhase; 337 | buildActionMask = 2147483647; 338 | files = ( 339 | ); 340 | runOnlyForDeploymentPostprocessing = 0; 341 | }; 342 | /* End PBXFrameworksBuildPhase section */ 343 | 344 | /* Begin PBXGroup section */ 345 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 346 | isa = PBXGroup; 347 | children = ( 348 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 349 | ); 350 | name = Products; 351 | sourceTree = ""; 352 | }; 353 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 354 | isa = PBXGroup; 355 | children = ( 356 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 357 | ); 358 | name = Products; 359 | sourceTree = ""; 360 | }; 361 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 362 | isa = PBXGroup; 363 | children = ( 364 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 365 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 366 | ); 367 | name = Products; 368 | sourceTree = ""; 369 | }; 370 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 371 | isa = PBXGroup; 372 | children = ( 373 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 374 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 375 | ); 376 | name = Products; 377 | sourceTree = ""; 378 | }; 379 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 380 | isa = PBXGroup; 381 | children = ( 382 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 383 | ); 384 | name = Products; 385 | sourceTree = ""; 386 | }; 387 | 00E356EF1AD99517003FC87E /* KornTests */ = { 388 | isa = PBXGroup; 389 | children = ( 390 | 00E356F21AD99517003FC87E /* KornTests.m */, 391 | 00E356F01AD99517003FC87E /* Supporting Files */, 392 | ); 393 | path = KornTests; 394 | sourceTree = ""; 395 | }; 396 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 397 | isa = PBXGroup; 398 | children = ( 399 | 00E356F11AD99517003FC87E /* Info.plist */, 400 | ); 401 | name = "Supporting Files"; 402 | sourceTree = ""; 403 | }; 404 | 139105B71AF99BAD00B5F7CC /* Products */ = { 405 | isa = PBXGroup; 406 | children = ( 407 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 408 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 409 | ); 410 | name = Products; 411 | sourceTree = ""; 412 | }; 413 | 139FDEE71B06529A00C62182 /* Products */ = { 414 | isa = PBXGroup; 415 | children = ( 416 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 417 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 418 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, 419 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, 420 | ); 421 | name = Products; 422 | sourceTree = ""; 423 | }; 424 | 13B07FAE1A68108700A75B9A /* Korn */ = { 425 | isa = PBXGroup; 426 | children = ( 427 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 428 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 429 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 430 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 431 | 13B07FB61A68108700A75B9A /* Info.plist */, 432 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 433 | 13B07FB71A68108700A75B9A /* main.m */, 434 | ); 435 | name = Korn; 436 | sourceTree = ""; 437 | }; 438 | 146834001AC3E56700842450 /* Products */ = { 439 | isa = PBXGroup; 440 | children = ( 441 | 146834041AC3E56700842450 /* libReact.a */, 442 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 443 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 444 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 445 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 446 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 447 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 448 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */, 449 | ); 450 | name = Products; 451 | sourceTree = ""; 452 | }; 453 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 454 | isa = PBXGroup; 455 | children = ( 456 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 457 | ); 458 | name = Frameworks; 459 | sourceTree = ""; 460 | }; 461 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 462 | isa = PBXGroup; 463 | children = ( 464 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 465 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 466 | ); 467 | name = Products; 468 | sourceTree = ""; 469 | }; 470 | 78C398B11ACF4ADC00677621 /* Products */ = { 471 | isa = PBXGroup; 472 | children = ( 473 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 474 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 475 | ); 476 | name = Products; 477 | sourceTree = ""; 478 | }; 479 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 480 | isa = PBXGroup; 481 | children = ( 482 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 483 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 484 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 485 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 486 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 487 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 488 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 489 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 490 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 491 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 492 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 493 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 494 | ); 495 | name = Libraries; 496 | sourceTree = ""; 497 | }; 498 | 832341B11AAA6A8300B99B32 /* Products */ = { 499 | isa = PBXGroup; 500 | children = ( 501 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 502 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 503 | ); 504 | name = Products; 505 | sourceTree = ""; 506 | }; 507 | 83CBB9F61A601CBA00E9B192 = { 508 | isa = PBXGroup; 509 | children = ( 510 | 13B07FAE1A68108700A75B9A /* Korn */, 511 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 512 | 00E356EF1AD99517003FC87E /* KornTests */, 513 | 83CBBA001A601CBA00E9B192 /* Products */, 514 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 515 | ); 516 | indentWidth = 2; 517 | sourceTree = ""; 518 | tabWidth = 2; 519 | usesTabs = 0; 520 | }; 521 | 83CBBA001A601CBA00E9B192 /* Products */ = { 522 | isa = PBXGroup; 523 | children = ( 524 | 13B07F961A680F5B00A75B9A /* Korn.app */, 525 | 00E356EE1AD99517003FC87E /* KornTests.xctest */, 526 | 2D02E47B1E0B4A5D006451C7 /* Korn-tvOS.app */, 527 | 2D02E4901E0B4A5D006451C7 /* Korn-tvOSTests.xctest */, 528 | ); 529 | name = Products; 530 | sourceTree = ""; 531 | }; 532 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 533 | isa = PBXGroup; 534 | children = ( 535 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 536 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, 537 | ); 538 | name = Products; 539 | sourceTree = ""; 540 | }; 541 | /* End PBXGroup section */ 542 | 543 | /* Begin PBXNativeTarget section */ 544 | 00E356ED1AD99517003FC87E /* KornTests */ = { 545 | isa = PBXNativeTarget; 546 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "KornTests" */; 547 | buildPhases = ( 548 | 00E356EA1AD99517003FC87E /* Sources */, 549 | 00E356EB1AD99517003FC87E /* Frameworks */, 550 | 00E356EC1AD99517003FC87E /* Resources */, 551 | ); 552 | buildRules = ( 553 | ); 554 | dependencies = ( 555 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 556 | ); 557 | name = KornTests; 558 | productName = KornTests; 559 | productReference = 00E356EE1AD99517003FC87E /* KornTests.xctest */; 560 | productType = "com.apple.product-type.bundle.unit-test"; 561 | }; 562 | 13B07F861A680F5B00A75B9A /* Korn */ = { 563 | isa = PBXNativeTarget; 564 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Korn" */; 565 | buildPhases = ( 566 | AD0CE2C91E925489006FC317 /* Integrate Haul with React Native */, 567 | 13B07F871A680F5B00A75B9A /* Sources */, 568 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 569 | 13B07F8E1A680F5B00A75B9A /* Resources */, 570 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 571 | ); 572 | buildRules = ( 573 | ); 574 | dependencies = ( 575 | ); 576 | name = Korn; 577 | productName = "Hello World"; 578 | productReference = 13B07F961A680F5B00A75B9A /* Korn.app */; 579 | productType = "com.apple.product-type.application"; 580 | }; 581 | 2D02E47A1E0B4A5D006451C7 /* Korn-tvOS */ = { 582 | isa = PBXNativeTarget; 583 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Korn-tvOS" */; 584 | buildPhases = ( 585 | AD0CE2C91E925489006FC317 /* Integrate Haul with React Native */, 586 | 2D02E4771E0B4A5D006451C7 /* Sources */, 587 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 588 | 2D02E4791E0B4A5D006451C7 /* Resources */, 589 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 590 | ); 591 | buildRules = ( 592 | ); 593 | dependencies = ( 594 | ); 595 | name = "Korn-tvOS"; 596 | productName = "Korn-tvOS"; 597 | productReference = 2D02E47B1E0B4A5D006451C7 /* Korn-tvOS.app */; 598 | productType = "com.apple.product-type.application"; 599 | }; 600 | 2D02E48F1E0B4A5D006451C7 /* Korn-tvOSTests */ = { 601 | isa = PBXNativeTarget; 602 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Korn-tvOSTests" */; 603 | buildPhases = ( 604 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 605 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 606 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 607 | ); 608 | buildRules = ( 609 | ); 610 | dependencies = ( 611 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 612 | ); 613 | name = "Korn-tvOSTests"; 614 | productName = "Korn-tvOSTests"; 615 | productReference = 2D02E4901E0B4A5D006451C7 /* Korn-tvOSTests.xctest */; 616 | productType = "com.apple.product-type.bundle.unit-test"; 617 | }; 618 | /* End PBXNativeTarget section */ 619 | 620 | /* Begin PBXProject section */ 621 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 622 | isa = PBXProject; 623 | attributes = { 624 | LastUpgradeCheck = 0610; 625 | ORGANIZATIONNAME = Facebook; 626 | TargetAttributes = { 627 | 00E356ED1AD99517003FC87E = { 628 | CreatedOnToolsVersion = 6.2; 629 | TestTargetID = 13B07F861A680F5B00A75B9A; 630 | }; 631 | 2D02E47A1E0B4A5D006451C7 = { 632 | CreatedOnToolsVersion = 8.2.1; 633 | ProvisioningStyle = Automatic; 634 | }; 635 | 2D02E48F1E0B4A5D006451C7 = { 636 | CreatedOnToolsVersion = 8.2.1; 637 | ProvisioningStyle = Automatic; 638 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 639 | }; 640 | }; 641 | }; 642 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Korn" */; 643 | compatibilityVersion = "Xcode 3.2"; 644 | developmentRegion = English; 645 | hasScannedForEncodings = 0; 646 | knownRegions = ( 647 | en, 648 | Base, 649 | ); 650 | mainGroup = 83CBB9F61A601CBA00E9B192; 651 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 652 | projectDirPath = ""; 653 | projectReferences = ( 654 | { 655 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 656 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 657 | }, 658 | { 659 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 660 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 661 | }, 662 | { 663 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 664 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 665 | }, 666 | { 667 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 668 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 669 | }, 670 | { 671 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 672 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 673 | }, 674 | { 675 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 676 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 677 | }, 678 | { 679 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 680 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 681 | }, 682 | { 683 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 684 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 685 | }, 686 | { 687 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 688 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 689 | }, 690 | { 691 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 692 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 693 | }, 694 | { 695 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 696 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 697 | }, 698 | { 699 | ProductGroup = 146834001AC3E56700842450 /* Products */; 700 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 701 | }, 702 | ); 703 | projectRoot = ""; 704 | targets = ( 705 | 13B07F861A680F5B00A75B9A /* Korn */, 706 | 00E356ED1AD99517003FC87E /* KornTests */, 707 | 2D02E47A1E0B4A5D006451C7 /* Korn-tvOS */, 708 | 2D02E48F1E0B4A5D006451C7 /* Korn-tvOSTests */, 709 | ); 710 | }; 711 | /* End PBXProject section */ 712 | 713 | /* Begin PBXReferenceProxy section */ 714 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 715 | isa = PBXReferenceProxy; 716 | fileType = archive.ar; 717 | path = libRCTActionSheet.a; 718 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 719 | sourceTree = BUILT_PRODUCTS_DIR; 720 | }; 721 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 722 | isa = PBXReferenceProxy; 723 | fileType = archive.ar; 724 | path = libRCTGeolocation.a; 725 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 726 | sourceTree = BUILT_PRODUCTS_DIR; 727 | }; 728 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 729 | isa = PBXReferenceProxy; 730 | fileType = archive.ar; 731 | path = libRCTImage.a; 732 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 733 | sourceTree = BUILT_PRODUCTS_DIR; 734 | }; 735 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 736 | isa = PBXReferenceProxy; 737 | fileType = archive.ar; 738 | path = libRCTNetwork.a; 739 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 740 | sourceTree = BUILT_PRODUCTS_DIR; 741 | }; 742 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 743 | isa = PBXReferenceProxy; 744 | fileType = archive.ar; 745 | path = libRCTVibration.a; 746 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 747 | sourceTree = BUILT_PRODUCTS_DIR; 748 | }; 749 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 750 | isa = PBXReferenceProxy; 751 | fileType = archive.ar; 752 | path = libRCTSettings.a; 753 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 754 | sourceTree = BUILT_PRODUCTS_DIR; 755 | }; 756 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 757 | isa = PBXReferenceProxy; 758 | fileType = archive.ar; 759 | path = libRCTWebSocket.a; 760 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 761 | sourceTree = BUILT_PRODUCTS_DIR; 762 | }; 763 | 146834041AC3E56700842450 /* libReact.a */ = { 764 | isa = PBXReferenceProxy; 765 | fileType = archive.ar; 766 | path = libReact.a; 767 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 768 | sourceTree = BUILT_PRODUCTS_DIR; 769 | }; 770 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { 771 | isa = PBXReferenceProxy; 772 | fileType = archive.ar; 773 | path = "libRCTBlob-tvOS.a"; 774 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; 775 | sourceTree = BUILT_PRODUCTS_DIR; 776 | }; 777 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { 778 | isa = PBXReferenceProxy; 779 | fileType = archive.ar; 780 | path = libfishhook.a; 781 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; 782 | sourceTree = BUILT_PRODUCTS_DIR; 783 | }; 784 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { 785 | isa = PBXReferenceProxy; 786 | fileType = archive.ar; 787 | path = "libfishhook-tvOS.a"; 788 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; 789 | sourceTree = BUILT_PRODUCTS_DIR; 790 | }; 791 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 792 | isa = PBXReferenceProxy; 793 | fileType = archive.ar; 794 | path = "libRCTImage-tvOS.a"; 795 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 796 | sourceTree = BUILT_PRODUCTS_DIR; 797 | }; 798 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 799 | isa = PBXReferenceProxy; 800 | fileType = archive.ar; 801 | path = "libRCTLinking-tvOS.a"; 802 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 803 | sourceTree = BUILT_PRODUCTS_DIR; 804 | }; 805 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 806 | isa = PBXReferenceProxy; 807 | fileType = archive.ar; 808 | path = "libRCTNetwork-tvOS.a"; 809 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 810 | sourceTree = BUILT_PRODUCTS_DIR; 811 | }; 812 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 813 | isa = PBXReferenceProxy; 814 | fileType = archive.ar; 815 | path = "libRCTSettings-tvOS.a"; 816 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 817 | sourceTree = BUILT_PRODUCTS_DIR; 818 | }; 819 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 820 | isa = PBXReferenceProxy; 821 | fileType = archive.ar; 822 | path = "libRCTText-tvOS.a"; 823 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 824 | sourceTree = BUILT_PRODUCTS_DIR; 825 | }; 826 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 827 | isa = PBXReferenceProxy; 828 | fileType = archive.ar; 829 | path = "libRCTWebSocket-tvOS.a"; 830 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 831 | sourceTree = BUILT_PRODUCTS_DIR; 832 | }; 833 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */ = { 834 | isa = PBXReferenceProxy; 835 | fileType = archive.ar; 836 | path = "libReact-tvOS.a"; 837 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 838 | sourceTree = BUILT_PRODUCTS_DIR; 839 | }; 840 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 841 | isa = PBXReferenceProxy; 842 | fileType = archive.ar; 843 | path = libyoga.a; 844 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 845 | sourceTree = BUILT_PRODUCTS_DIR; 846 | }; 847 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 848 | isa = PBXReferenceProxy; 849 | fileType = archive.ar; 850 | path = libyoga.a; 851 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 852 | sourceTree = BUILT_PRODUCTS_DIR; 853 | }; 854 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 855 | isa = PBXReferenceProxy; 856 | fileType = archive.ar; 857 | path = libcxxreact.a; 858 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 859 | sourceTree = BUILT_PRODUCTS_DIR; 860 | }; 861 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 862 | isa = PBXReferenceProxy; 863 | fileType = archive.ar; 864 | path = libcxxreact.a; 865 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 866 | sourceTree = BUILT_PRODUCTS_DIR; 867 | }; 868 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 869 | isa = PBXReferenceProxy; 870 | fileType = archive.ar; 871 | path = libjschelpers.a; 872 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 873 | sourceTree = BUILT_PRODUCTS_DIR; 874 | }; 875 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 876 | isa = PBXReferenceProxy; 877 | fileType = archive.ar; 878 | path = libjschelpers.a; 879 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 880 | sourceTree = BUILT_PRODUCTS_DIR; 881 | }; 882 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 883 | isa = PBXReferenceProxy; 884 | fileType = archive.ar; 885 | path = libRCTAnimation.a; 886 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 887 | sourceTree = BUILT_PRODUCTS_DIR; 888 | }; 889 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 890 | isa = PBXReferenceProxy; 891 | fileType = archive.ar; 892 | path = libRCTAnimation.a; 893 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 894 | sourceTree = BUILT_PRODUCTS_DIR; 895 | }; 896 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 897 | isa = PBXReferenceProxy; 898 | fileType = archive.ar; 899 | path = libRCTLinking.a; 900 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 901 | sourceTree = BUILT_PRODUCTS_DIR; 902 | }; 903 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 904 | isa = PBXReferenceProxy; 905 | fileType = archive.ar; 906 | path = libRCTText.a; 907 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 908 | sourceTree = BUILT_PRODUCTS_DIR; 909 | }; 910 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 911 | isa = PBXReferenceProxy; 912 | fileType = archive.ar; 913 | path = libRCTBlob.a; 914 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 915 | sourceTree = BUILT_PRODUCTS_DIR; 916 | }; 917 | /* End PBXReferenceProxy section */ 918 | 919 | /* Begin PBXResourcesBuildPhase section */ 920 | 00E356EC1AD99517003FC87E /* Resources */ = { 921 | isa = PBXResourcesBuildPhase; 922 | buildActionMask = 2147483647; 923 | files = ( 924 | ); 925 | runOnlyForDeploymentPostprocessing = 0; 926 | }; 927 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 928 | isa = PBXResourcesBuildPhase; 929 | buildActionMask = 2147483647; 930 | files = ( 931 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 932 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 933 | ); 934 | runOnlyForDeploymentPostprocessing = 0; 935 | }; 936 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 937 | isa = PBXResourcesBuildPhase; 938 | buildActionMask = 2147483647; 939 | files = ( 940 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 941 | ); 942 | runOnlyForDeploymentPostprocessing = 0; 943 | }; 944 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 945 | isa = PBXResourcesBuildPhase; 946 | buildActionMask = 2147483647; 947 | files = ( 948 | ); 949 | runOnlyForDeploymentPostprocessing = 0; 950 | }; 951 | /* End PBXResourcesBuildPhase section */ 952 | 953 | /* Begin PBXShellScriptBuildPhase section */ 954 | AD0CE2C91E925489006FC317 /* Integrate Haul with React Native */ = { 955 | isa = PBXShellScriptBuildPhase; 956 | buildActionMask = 2147483647; 957 | name = "Integrate Haul with React Native"; 958 | files = ( 959 | ); 960 | inputPaths = ( 961 | ); 962 | outputPaths = ( 963 | ); 964 | runOnlyForDeploymentPostprocessing = 0; 965 | shellPath = /bin/sh; 966 | shellScript = "bash ../node_modules/haul/src/utils/haul-integrate.sh"; 967 | }; 968 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 969 | isa = PBXShellScriptBuildPhase; 970 | buildActionMask = 2147483647; 971 | files = ( 972 | ); 973 | inputPaths = ( 974 | ); 975 | name = "Bundle React Native code and images"; 976 | outputPaths = ( 977 | ); 978 | runOnlyForDeploymentPostprocessing = 0; 979 | shellPath = /bin/sh; 980 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 981 | }; 982 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 983 | isa = PBXShellScriptBuildPhase; 984 | buildActionMask = 2147483647; 985 | files = ( 986 | ); 987 | inputPaths = ( 988 | ); 989 | name = "Bundle React Native Code And Images"; 990 | outputPaths = ( 991 | ); 992 | runOnlyForDeploymentPostprocessing = 0; 993 | shellPath = /bin/sh; 994 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 995 | }; 996 | /* End PBXShellScriptBuildPhase section */ 997 | 998 | /* Begin PBXSourcesBuildPhase section */ 999 | 00E356EA1AD99517003FC87E /* Sources */ = { 1000 | isa = PBXSourcesBuildPhase; 1001 | buildActionMask = 2147483647; 1002 | files = ( 1003 | 00E356F31AD99517003FC87E /* KornTests.m in Sources */, 1004 | ); 1005 | runOnlyForDeploymentPostprocessing = 0; 1006 | }; 1007 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1008 | isa = PBXSourcesBuildPhase; 1009 | buildActionMask = 2147483647; 1010 | files = ( 1011 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1012 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1013 | ); 1014 | runOnlyForDeploymentPostprocessing = 0; 1015 | }; 1016 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1017 | isa = PBXSourcesBuildPhase; 1018 | buildActionMask = 2147483647; 1019 | files = ( 1020 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1021 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1022 | ); 1023 | runOnlyForDeploymentPostprocessing = 0; 1024 | }; 1025 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1026 | isa = PBXSourcesBuildPhase; 1027 | buildActionMask = 2147483647; 1028 | files = ( 1029 | 2DCD954D1E0B4F2C00145EB5 /* KornTests.m in Sources */, 1030 | ); 1031 | runOnlyForDeploymentPostprocessing = 0; 1032 | }; 1033 | /* End PBXSourcesBuildPhase section */ 1034 | 1035 | /* Begin PBXTargetDependency section */ 1036 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1037 | isa = PBXTargetDependency; 1038 | target = 13B07F861A680F5B00A75B9A /* Korn */; 1039 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1040 | }; 1041 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1042 | isa = PBXTargetDependency; 1043 | target = 2D02E47A1E0B4A5D006451C7 /* Korn-tvOS */; 1044 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1045 | }; 1046 | /* End PBXTargetDependency section */ 1047 | 1048 | /* Begin PBXVariantGroup section */ 1049 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1050 | isa = PBXVariantGroup; 1051 | children = ( 1052 | 13B07FB21A68108700A75B9A /* Base */, 1053 | ); 1054 | name = LaunchScreen.xib; 1055 | path = Korn; 1056 | sourceTree = ""; 1057 | }; 1058 | /* End PBXVariantGroup section */ 1059 | 1060 | /* Begin XCBuildConfiguration section */ 1061 | 00E356F61AD99517003FC87E /* Debug */ = { 1062 | isa = XCBuildConfiguration; 1063 | buildSettings = { 1064 | BUNDLE_LOADER = "$(TEST_HOST)"; 1065 | GCC_PREPROCESSOR_DEFINITIONS = ( 1066 | "DEBUG=1", 1067 | "$(inherited)", 1068 | ); 1069 | INFOPLIST_FILE = KornTests/Info.plist; 1070 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1071 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1072 | OTHER_LDFLAGS = ( 1073 | "-ObjC", 1074 | "-lc++", 1075 | ); 1076 | PRODUCT_NAME = "$(TARGET_NAME)"; 1077 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Korn.app/Korn"; 1078 | }; 1079 | name = Debug; 1080 | }; 1081 | 00E356F71AD99517003FC87E /* Release */ = { 1082 | isa = XCBuildConfiguration; 1083 | buildSettings = { 1084 | BUNDLE_LOADER = "$(TEST_HOST)"; 1085 | COPY_PHASE_STRIP = NO; 1086 | INFOPLIST_FILE = KornTests/Info.plist; 1087 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1088 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1089 | OTHER_LDFLAGS = ( 1090 | "-ObjC", 1091 | "-lc++", 1092 | ); 1093 | PRODUCT_NAME = "$(TARGET_NAME)"; 1094 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Korn.app/Korn"; 1095 | }; 1096 | name = Release; 1097 | }; 1098 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1099 | isa = XCBuildConfiguration; 1100 | buildSettings = { 1101 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1102 | CURRENT_PROJECT_VERSION = 1; 1103 | DEAD_CODE_STRIPPING = NO; 1104 | INFOPLIST_FILE = Korn/Info.plist; 1105 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1106 | OTHER_LDFLAGS = ( 1107 | "$(inherited)", 1108 | "-ObjC", 1109 | "-lc++", 1110 | ); 1111 | PRODUCT_NAME = Korn; 1112 | VERSIONING_SYSTEM = "apple-generic"; 1113 | }; 1114 | name = Debug; 1115 | }; 1116 | 13B07F951A680F5B00A75B9A /* Release */ = { 1117 | isa = XCBuildConfiguration; 1118 | buildSettings = { 1119 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1120 | CURRENT_PROJECT_VERSION = 1; 1121 | INFOPLIST_FILE = Korn/Info.plist; 1122 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1123 | OTHER_LDFLAGS = ( 1124 | "$(inherited)", 1125 | "-ObjC", 1126 | "-lc++", 1127 | ); 1128 | PRODUCT_NAME = Korn; 1129 | VERSIONING_SYSTEM = "apple-generic"; 1130 | }; 1131 | name = Release; 1132 | }; 1133 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1134 | isa = XCBuildConfiguration; 1135 | buildSettings = { 1136 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1137 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1138 | CLANG_ANALYZER_NONNULL = YES; 1139 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1140 | CLANG_WARN_INFINITE_RECURSION = YES; 1141 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1142 | DEBUG_INFORMATION_FORMAT = dwarf; 1143 | ENABLE_TESTABILITY = YES; 1144 | GCC_NO_COMMON_BLOCKS = YES; 1145 | INFOPLIST_FILE = "Korn-tvOS/Info.plist"; 1146 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1147 | OTHER_LDFLAGS = ( 1148 | "-ObjC", 1149 | "-lc++", 1150 | ); 1151 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Korn-tvOS"; 1152 | PRODUCT_NAME = "$(TARGET_NAME)"; 1153 | SDKROOT = appletvos; 1154 | TARGETED_DEVICE_FAMILY = 3; 1155 | TVOS_DEPLOYMENT_TARGET = 9.2; 1156 | }; 1157 | name = Debug; 1158 | }; 1159 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1160 | isa = XCBuildConfiguration; 1161 | buildSettings = { 1162 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1163 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1164 | CLANG_ANALYZER_NONNULL = YES; 1165 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1166 | CLANG_WARN_INFINITE_RECURSION = YES; 1167 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1168 | COPY_PHASE_STRIP = NO; 1169 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1170 | GCC_NO_COMMON_BLOCKS = YES; 1171 | INFOPLIST_FILE = "Korn-tvOS/Info.plist"; 1172 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1173 | OTHER_LDFLAGS = ( 1174 | "-ObjC", 1175 | "-lc++", 1176 | ); 1177 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Korn-tvOS"; 1178 | PRODUCT_NAME = "$(TARGET_NAME)"; 1179 | SDKROOT = appletvos; 1180 | TARGETED_DEVICE_FAMILY = 3; 1181 | TVOS_DEPLOYMENT_TARGET = 9.2; 1182 | }; 1183 | name = Release; 1184 | }; 1185 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1186 | isa = XCBuildConfiguration; 1187 | buildSettings = { 1188 | BUNDLE_LOADER = "$(TEST_HOST)"; 1189 | CLANG_ANALYZER_NONNULL = YES; 1190 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1191 | CLANG_WARN_INFINITE_RECURSION = YES; 1192 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1193 | DEBUG_INFORMATION_FORMAT = dwarf; 1194 | ENABLE_TESTABILITY = YES; 1195 | GCC_NO_COMMON_BLOCKS = YES; 1196 | INFOPLIST_FILE = "Korn-tvOSTests/Info.plist"; 1197 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1198 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Korn-tvOSTests"; 1199 | PRODUCT_NAME = "$(TARGET_NAME)"; 1200 | SDKROOT = appletvos; 1201 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Korn-tvOS.app/Korn-tvOS"; 1202 | TVOS_DEPLOYMENT_TARGET = 10.1; 1203 | }; 1204 | name = Debug; 1205 | }; 1206 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1207 | isa = XCBuildConfiguration; 1208 | buildSettings = { 1209 | BUNDLE_LOADER = "$(TEST_HOST)"; 1210 | CLANG_ANALYZER_NONNULL = YES; 1211 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1212 | CLANG_WARN_INFINITE_RECURSION = YES; 1213 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1214 | COPY_PHASE_STRIP = NO; 1215 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1216 | GCC_NO_COMMON_BLOCKS = YES; 1217 | INFOPLIST_FILE = "Korn-tvOSTests/Info.plist"; 1218 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1219 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Korn-tvOSTests"; 1220 | PRODUCT_NAME = "$(TARGET_NAME)"; 1221 | SDKROOT = appletvos; 1222 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Korn-tvOS.app/Korn-tvOS"; 1223 | TVOS_DEPLOYMENT_TARGET = 10.1; 1224 | }; 1225 | name = Release; 1226 | }; 1227 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1228 | isa = XCBuildConfiguration; 1229 | buildSettings = { 1230 | ALWAYS_SEARCH_USER_PATHS = NO; 1231 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1232 | CLANG_CXX_LIBRARY = "libc++"; 1233 | CLANG_ENABLE_MODULES = YES; 1234 | CLANG_ENABLE_OBJC_ARC = YES; 1235 | CLANG_WARN_BOOL_CONVERSION = YES; 1236 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1237 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1238 | CLANG_WARN_EMPTY_BODY = YES; 1239 | CLANG_WARN_ENUM_CONVERSION = YES; 1240 | CLANG_WARN_INT_CONVERSION = YES; 1241 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1242 | CLANG_WARN_UNREACHABLE_CODE = YES; 1243 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1244 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1245 | COPY_PHASE_STRIP = NO; 1246 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1247 | GCC_C_LANGUAGE_STANDARD = gnu99; 1248 | GCC_DYNAMIC_NO_PIC = NO; 1249 | GCC_OPTIMIZATION_LEVEL = 0; 1250 | GCC_PREPROCESSOR_DEFINITIONS = ( 1251 | "DEBUG=1", 1252 | "$(inherited)", 1253 | ); 1254 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1255 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1256 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1257 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1258 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1259 | GCC_WARN_UNUSED_FUNCTION = YES; 1260 | GCC_WARN_UNUSED_VARIABLE = YES; 1261 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1262 | MTL_ENABLE_DEBUG_INFO = YES; 1263 | ONLY_ACTIVE_ARCH = YES; 1264 | SDKROOT = iphoneos; 1265 | }; 1266 | name = Debug; 1267 | }; 1268 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1269 | isa = XCBuildConfiguration; 1270 | buildSettings = { 1271 | ALWAYS_SEARCH_USER_PATHS = NO; 1272 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1273 | CLANG_CXX_LIBRARY = "libc++"; 1274 | CLANG_ENABLE_MODULES = YES; 1275 | CLANG_ENABLE_OBJC_ARC = YES; 1276 | CLANG_WARN_BOOL_CONVERSION = YES; 1277 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1278 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1279 | CLANG_WARN_EMPTY_BODY = YES; 1280 | CLANG_WARN_ENUM_CONVERSION = YES; 1281 | CLANG_WARN_INT_CONVERSION = YES; 1282 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1283 | CLANG_WARN_UNREACHABLE_CODE = YES; 1284 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1285 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1286 | COPY_PHASE_STRIP = YES; 1287 | ENABLE_NS_ASSERTIONS = NO; 1288 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1289 | GCC_C_LANGUAGE_STANDARD = gnu99; 1290 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1291 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1292 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1293 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1294 | GCC_WARN_UNUSED_FUNCTION = YES; 1295 | GCC_WARN_UNUSED_VARIABLE = YES; 1296 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1297 | MTL_ENABLE_DEBUG_INFO = NO; 1298 | SDKROOT = iphoneos; 1299 | VALIDATE_PRODUCT = YES; 1300 | }; 1301 | name = Release; 1302 | }; 1303 | /* End XCBuildConfiguration section */ 1304 | 1305 | /* Begin XCConfigurationList section */ 1306 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "KornTests" */ = { 1307 | isa = XCConfigurationList; 1308 | buildConfigurations = ( 1309 | 00E356F61AD99517003FC87E /* Debug */, 1310 | 00E356F71AD99517003FC87E /* Release */, 1311 | ); 1312 | defaultConfigurationIsVisible = 0; 1313 | defaultConfigurationName = Release; 1314 | }; 1315 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Korn" */ = { 1316 | isa = XCConfigurationList; 1317 | buildConfigurations = ( 1318 | 13B07F941A680F5B00A75B9A /* Debug */, 1319 | 13B07F951A680F5B00A75B9A /* Release */, 1320 | ); 1321 | defaultConfigurationIsVisible = 0; 1322 | defaultConfigurationName = Release; 1323 | }; 1324 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Korn-tvOS" */ = { 1325 | isa = XCConfigurationList; 1326 | buildConfigurations = ( 1327 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1328 | 2D02E4981E0B4A5E006451C7 /* Release */, 1329 | ); 1330 | defaultConfigurationIsVisible = 0; 1331 | defaultConfigurationName = Release; 1332 | }; 1333 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Korn-tvOSTests" */ = { 1334 | isa = XCConfigurationList; 1335 | buildConfigurations = ( 1336 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1337 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1338 | ); 1339 | defaultConfigurationIsVisible = 0; 1340 | defaultConfigurationName = Release; 1341 | }; 1342 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Korn" */ = { 1343 | isa = XCConfigurationList; 1344 | buildConfigurations = ( 1345 | 83CBBA201A601CBA00E9B192 /* Debug */, 1346 | 83CBBA211A601CBA00E9B192 /* Release */, 1347 | ); 1348 | defaultConfigurationIsVisible = 0; 1349 | defaultConfigurationName = Release; 1350 | }; 1351 | /* End XCConfigurationList section */ 1352 | }; 1353 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1354 | } 1355 | --------------------------------------------------------------------------------