├── .travis.yml ├── LICENSE ├── README.md ├── TrixieUiKit ├── .babelrc ├── .buckconfig ├── .eslintrc ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .prettierrc ├── .watchmanconfig ├── Thumbnails │ ├── loading.gif │ ├── logo.png │ ├── play-button-selected.png │ ├── play-button-small.png │ ├── play-button.png │ ├── play-small.png │ ├── settings-selected.png │ ├── settings.png │ ├── user-selected.png │ └── user.png ├── __tests__ │ └── App.js ├── android │ ├── app │ │ ├── BUCK │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── trixieuikit │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── res │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── keystores │ │ ├── BUCK │ │ └── debug.keystore.properties │ └── settings.gradle ├── app.json ├── components │ ├── bottomNav.js │ ├── buttonBordered.js │ ├── buttonPrimary.js │ ├── chatBubble.js │ ├── gridItem.js │ ├── index.js │ ├── input.js │ ├── loader.js │ ├── menuItem.js │ ├── pillPrimary.js │ ├── pills.js │ ├── radioButton.js │ └── style │ │ └── component.js ├── index.js ├── ios │ ├── TrixieUiKit-tvOS │ │ └── Info.plist │ ├── TrixieUiKit-tvOSTests │ │ └── Info.plist │ ├── TrixieUiKit.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ ├── TrixieUiKit-tvOS.xcscheme │ │ │ └── TrixieUiKit.xcscheme │ ├── TrixieUiKit │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Base.lproj │ │ │ └── LaunchScreen.xib │ │ ├── Images.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── Info.plist │ │ └── main.m │ └── TrixieUiKitTests │ │ ├── Info.plist │ │ └── TrixieUiKitTests.m ├── package-lock.json ├── package.json ├── pages │ ├── global.js │ ├── home.js │ ├── menu2.js │ ├── menu3.js │ ├── menu4.js │ └── style │ │ └── style.js └── yarn.lock └── docs ├── _config.yml └── index.md /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "8.0.0" 4 | cache: 5 | - yarn 6 | before_script: 7 | - cd TrixieUiKit 8 | - yarn 9 | script: 10 | - yarn lint 11 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Trixie App 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # React-Virgin 2 | [![Travis](https://img.shields.io/travis/Trixieapp/react-virgin.svg)]() 3 | [![GitHub last commit](https://img.shields.io/github/last-commit/Trixieapp/react-virgin.svg)]() 4 | [![GitHub issues](https://img.shields.io/github/issues/Trixieapp/react-virgin.svg)](https://github.com/Trixieapp/react-virgin/issues) 5 | [![GitHub forks](https://img.shields.io/github/forks/Trixieapp/react-virgin.svg)](https://github.com/Trixieapp/react-virgin/network) 6 | [![GitHub stars](https://img.shields.io/github/stars/Trixieapp/react-virgin.svg)](https://github.com/Trixieapp/react-virgin/stargazers) 7 | [![GitHub license](https://img.shields.io/github/license/Trixieapp/react-virgin.svg)](https://github.com/Trixieapp/react-virgin/blob/master/LICENSE) 8 | [![Twitter](https://img.shields.io/twitter/url/https/github.com/Trixieapp/react-virgin.svg?style=social)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2FTrixieapp%2Freact-virgin) 9 | 10 | 11 | ### The React-Native UI Kit you've been looking for 12 | 13 | ### Made with lots of :heart: 14 | 15 | # What is React-Virgin? 16 | 17 | - Boiler plate UI kit for your React-Native projects :star: 18 | - Get started quickly 19 | - A beautiful React-Native UI kit 20 | 21 | # What is inside React-Virgin? 22 | 23 | - Basic Boilerplate including react-navigation :boom: 24 | - Basic components 25 | - Horizontal List 26 | - Vertical list 27 | - Buttons 28 | - Header 29 | - Gridview 30 | - Chat bubble 31 | - Loader 32 | 33 | # Preview 34 | 35 | | Android | iOS | 36 | | ------ | ------ | 37 | | ![android](https://media.giphy.com/media/l4EoMbtLTodEdPCF2/giphy.gif) | ![ios](https://media.giphy.com/media/l4EoT1RuvPfkqyNZC/giphy.gif) | 38 | 39 | 40 | 41 | ### Installation 42 | 43 | React-Virgin requires [Node.js](https://nodejs.org/) v4+ to run. 44 | 45 | Clone the repo 46 | 47 | ```sh 48 | $ cd Trixie-UI-kit 49 | $ cd TrixieUiKit 50 | $ npm install 51 | $ react-native run-ios 52 | ``` 53 | 54 | ### Linting 55 | ``` 56 | $ yarn lint 57 | ``` 58 | We also have prettier support. Run the following after you write code to apply the prettier config. 59 | ``` 60 | $ yarn format 61 | ``` 62 | 63 | 64 | ### Development 65 | 66 | We would love if you can contribute to make this project better. Here's how you can do it: 67 | 68 | - Fork the project. 69 | - Commit changes or bugfixes to your repo. 70 | - Submit a pull request 71 | - Sit back and relax while our maintainers checkout your changes and approve them! 72 | 73 | ### Docs 74 | 75 | Basic documentation is available on - https://trixieapp.github.io/react-virgin/ 76 | 77 | ### Todos 78 | 79 | - Complete documentation 80 | - Drawer menu 81 | - Card layout 82 | - Buttons with icons 83 | - All form components 84 | 85 | License 86 | ---- 87 | 88 | MIT 89 | 90 | 91 | **Free Software, Hell Yeah!** 92 | Buy Me A Coffee 93 | -------------------------------------------------------------------------------- /TrixieUiKit/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } 4 | -------------------------------------------------------------------------------- /TrixieUiKit/.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /TrixieUiKit/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "parser": "babel-eslint", 3 | "extends": ["airbnb", "prettier"], 4 | "plugins": ["react", "jsx-a11y", "import", "react-native"], 5 | "rules": { 6 | "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], 7 | "react/prop-types": 0 8 | }, 9 | "settings": { 10 | "import/resolver": { 11 | "node": { 12 | "extensions": [".js", ".android.js", ".ios.js"] 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /TrixieUiKit/.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | [include] 20 | 21 | [libs] 22 | node_modules/react-native/Libraries/react-native/react-native-interface.js 23 | node_modules/react-native/flow/ 24 | 25 | [options] 26 | emoji=true 27 | 28 | module.system=haste 29 | 30 | munge_underscores=true 31 | 32 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 33 | 34 | suppress_type=$FlowIssue 35 | suppress_type=$FlowFixMe 36 | suppress_type=$FlowFixMeProps 37 | suppress_type=$FlowFixMeState 38 | suppress_type=$FixMe 39 | 40 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-3]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 41 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-3]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 42 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 43 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 44 | 45 | unsafe.enable_getters_and_setters=true 46 | 47 | [version] 48 | ^0.53.0 49 | -------------------------------------------------------------------------------- /TrixieUiKit/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /TrixieUiKit/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | -------------------------------------------------------------------------------- /TrixieUiKit/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 100, 3 | "semi": false, 4 | "singleQuote": true, 5 | "trailingComma": "all" 6 | } 7 | -------------------------------------------------------------------------------- /TrixieUiKit/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /TrixieUiKit/Thumbnails/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trixieapp/react-virgin/ba52cb20b580c0c9225add8ede8ca46efe25d5f2/TrixieUiKit/Thumbnails/loading.gif -------------------------------------------------------------------------------- /TrixieUiKit/Thumbnails/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trixieapp/react-virgin/ba52cb20b580c0c9225add8ede8ca46efe25d5f2/TrixieUiKit/Thumbnails/logo.png -------------------------------------------------------------------------------- /TrixieUiKit/Thumbnails/play-button-selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trixieapp/react-virgin/ba52cb20b580c0c9225add8ede8ca46efe25d5f2/TrixieUiKit/Thumbnails/play-button-selected.png -------------------------------------------------------------------------------- /TrixieUiKit/Thumbnails/play-button-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trixieapp/react-virgin/ba52cb20b580c0c9225add8ede8ca46efe25d5f2/TrixieUiKit/Thumbnails/play-button-small.png -------------------------------------------------------------------------------- /TrixieUiKit/Thumbnails/play-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trixieapp/react-virgin/ba52cb20b580c0c9225add8ede8ca46efe25d5f2/TrixieUiKit/Thumbnails/play-button.png -------------------------------------------------------------------------------- /TrixieUiKit/Thumbnails/play-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trixieapp/react-virgin/ba52cb20b580c0c9225add8ede8ca46efe25d5f2/TrixieUiKit/Thumbnails/play-small.png -------------------------------------------------------------------------------- /TrixieUiKit/Thumbnails/settings-selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trixieapp/react-virgin/ba52cb20b580c0c9225add8ede8ca46efe25d5f2/TrixieUiKit/Thumbnails/settings-selected.png -------------------------------------------------------------------------------- /TrixieUiKit/Thumbnails/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trixieapp/react-virgin/ba52cb20b580c0c9225add8ede8ca46efe25d5f2/TrixieUiKit/Thumbnails/settings.png -------------------------------------------------------------------------------- /TrixieUiKit/Thumbnails/user-selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trixieapp/react-virgin/ba52cb20b580c0c9225add8ede8ca46efe25d5f2/TrixieUiKit/Thumbnails/user-selected.png -------------------------------------------------------------------------------- /TrixieUiKit/Thumbnails/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trixieapp/react-virgin/ba52cb20b580c0c9225add8ede8ca46efe25d5f2/TrixieUiKit/Thumbnails/user.png -------------------------------------------------------------------------------- /TrixieUiKit/__tests__/App.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import App from '../App'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /TrixieUiKit/android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | lib_deps = [] 12 | 13 | for jarfile in glob(['libs/*.jar']): 14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')] 15 | lib_deps.append(':' + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | 21 | for aarfile in glob(['libs/*.aar']): 22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')] 23 | lib_deps.append(':' + name) 24 | android_prebuilt_aar( 25 | name = name, 26 | aar = aarfile, 27 | ) 28 | 29 | android_library( 30 | name = "all-libs", 31 | exported_deps = lib_deps, 32 | ) 33 | 34 | android_library( 35 | name = "app-code", 36 | srcs = glob([ 37 | "src/main/java/**/*.java", 38 | ]), 39 | deps = [ 40 | ":all-libs", 41 | ":build_config", 42 | ":res", 43 | ], 44 | ) 45 | 46 | android_build_config( 47 | name = "build_config", 48 | package = "com.trixieuikit", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.trixieuikit", 54 | res = "src/main/res", 55 | ) 56 | 57 | android_binary( 58 | name = "app", 59 | keystore = "//android/keystores:debug", 60 | manifest = "src/main/AndroidManifest.xml", 61 | package_type = "debug", 62 | deps = [ 63 | ":app-code", 64 | ], 65 | ) 66 | -------------------------------------------------------------------------------- /TrixieUiKit/android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 37 | * // for example: to disable dev mode in the staging build type (if configured) 38 | * devDisabledInStaging: true, 39 | * // The configuration property can be in the following formats 40 | * // 'devDisabledIn${productFlavor}${buildType}' 41 | * // 'devDisabledIn${buildType}' 42 | * 43 | * // the root of your project, i.e. where "package.json" lives 44 | * root: "../../", 45 | * 46 | * // where to put the JS bundle asset in debug mode 47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 48 | * 49 | * // where to put the JS bundle asset in release mode 50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 51 | * 52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 53 | * // require('./image.png')), in debug mode 54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 55 | * 56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 57 | * // require('./image.png')), in release mode 58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 59 | * 60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 64 | * // for example, you might want to remove it from here. 65 | * inputExcludes: ["android/**", "ios/**"], 66 | * 67 | * // override which node gets called and with what additional arguments 68 | * nodeExecutableAndArgs: ["node"], 69 | * 70 | * // supply additional arguments to the packager 71 | * extraPackagerArgs: [] 72 | * ] 73 | */ 74 | 75 | project.ext.react = [ 76 | entryFile: "index.js" 77 | ] 78 | 79 | apply from: "../../node_modules/react-native/react.gradle" 80 | 81 | /** 82 | * Set this to true to create two separate APKs instead of one: 83 | * - An APK that only works on ARM devices 84 | * - An APK that only works on x86 devices 85 | * The advantage is the size of the APK is reduced by about 4MB. 86 | * Upload all the APKs to the Play Store and people will download 87 | * the correct one based on the CPU architecture of their device. 88 | */ 89 | def enableSeparateBuildPerCPUArchitecture = false 90 | 91 | /** 92 | * Run Proguard to shrink the Java bytecode in release builds. 93 | */ 94 | def enableProguardInReleaseBuilds = false 95 | 96 | android { 97 | compileSdkVersion 23 98 | buildToolsVersion "23.0.1" 99 | 100 | defaultConfig { 101 | applicationId "com.trixieuikit" 102 | minSdkVersion 16 103 | targetSdkVersion 22 104 | versionCode 1 105 | versionName "1.0" 106 | ndk { 107 | abiFilters "armeabi-v7a", "x86" 108 | } 109 | } 110 | splits { 111 | abi { 112 | reset() 113 | enable enableSeparateBuildPerCPUArchitecture 114 | universalApk false // If true, also generate a universal APK 115 | include "armeabi-v7a", "x86" 116 | } 117 | } 118 | buildTypes { 119 | release { 120 | minifyEnabled enableProguardInReleaseBuilds 121 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 122 | } 123 | } 124 | // applicationVariants are e.g. debug, release 125 | applicationVariants.all { variant -> 126 | variant.outputs.each { output -> 127 | // For each separate APK per architecture, set a unique version code as described here: 128 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 129 | def versionCodes = ["armeabi-v7a":1, "x86":2] 130 | def abi = output.getFilter(OutputFile.ABI) 131 | if (abi != null) { // null for the universal-debug, universal-release variants 132 | output.versionCodeOverride = 133 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 134 | } 135 | } 136 | } 137 | } 138 | 139 | dependencies { 140 | compile project(':react-native-linear-gradient') 141 | compile fileTree(dir: "libs", include: ["*.jar"]) 142 | compile "com.android.support:appcompat-v7:23.0.1" 143 | compile "com.facebook.react:react-native:+" // From node_modules 144 | } 145 | 146 | // Run this once to be able to run the application with BUCK 147 | // puts all compile dependencies into folder libs for BUCK to use 148 | task copyDownloadableDepsToLibs(type: Copy) { 149 | from configurations.compile 150 | into 'libs' 151 | } 152 | -------------------------------------------------------------------------------- /TrixieUiKit/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 | -------------------------------------------------------------------------------- /TrixieUiKit/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 | -------------------------------------------------------------------------------- /TrixieUiKit/android/app/src/main/java/com/trixieuikit/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.trixieuikit; 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 "TrixieUiKit"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /TrixieUiKit/android/app/src/main/java/com/trixieuikit/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.trixieuikit; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.BV.LinearGradient.LinearGradientPackage; 7 | import com.facebook.react.ReactNativeHost; 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.react.shell.MainReactPackage; 10 | import com.facebook.soloader.SoLoader; 11 | 12 | import java.util.Arrays; 13 | import java.util.List; 14 | 15 | public class MainApplication extends Application implements ReactApplication { 16 | 17 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 18 | @Override 19 | public boolean getUseDeveloperSupport() { 20 | return BuildConfig.DEBUG; 21 | } 22 | 23 | @Override 24 | protected List getPackages() { 25 | return Arrays.asList( 26 | new MainReactPackage(), 27 | new LinearGradientPackage() 28 | ); 29 | } 30 | 31 | @Override 32 | protected String getJSMainModuleName() { 33 | return "index"; 34 | } 35 | }; 36 | 37 | @Override 38 | public ReactNativeHost getReactNativeHost() { 39 | return mReactNativeHost; 40 | } 41 | 42 | @Override 43 | public void onCreate() { 44 | super.onCreate(); 45 | SoLoader.init(this, /* native exopackage */ false); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /TrixieUiKit/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trixieapp/react-virgin/ba52cb20b580c0c9225add8ede8ca46efe25d5f2/TrixieUiKit/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /TrixieUiKit/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trixieapp/react-virgin/ba52cb20b580c0c9225add8ede8ca46efe25d5f2/TrixieUiKit/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /TrixieUiKit/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trixieapp/react-virgin/ba52cb20b580c0c9225add8ede8ca46efe25d5f2/TrixieUiKit/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /TrixieUiKit/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trixieapp/react-virgin/ba52cb20b580c0c9225add8ede8ca46efe25d5f2/TrixieUiKit/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /TrixieUiKit/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | TrixieUiKit 3 | 4 | -------------------------------------------------------------------------------- /TrixieUiKit/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /TrixieUiKit/android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.3' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | mavenLocal() 18 | jcenter() 19 | maven { 20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 21 | url "$rootDir/../node_modules/react-native/android" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /TrixieUiKit/android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useDeprecatedNdk=true 21 | -------------------------------------------------------------------------------- /TrixieUiKit/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trixieapp/react-virgin/ba52cb20b580c0c9225add8ede8ca46efe25d5f2/TrixieUiKit/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /TrixieUiKit/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 6 | -------------------------------------------------------------------------------- /TrixieUiKit/android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /TrixieUiKit/android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /TrixieUiKit/android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /TrixieUiKit/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 | -------------------------------------------------------------------------------- /TrixieUiKit/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'TrixieUiKit' 2 | include ':react-native-linear-gradient' 3 | project(':react-native-linear-gradient').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-linear-gradient/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /TrixieUiKit/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TrixieUiKit", 3 | "displayName": "TrixieUiKit" 4 | } -------------------------------------------------------------------------------- /TrixieUiKit/components/bottomNav.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable global-require */ 2 | import React, { Component } from 'react' 3 | import PropTypes from 'prop-types' 4 | import { View, TouchableHighlight, Text } from 'react-native' 5 | 6 | import componentStyle from './style/component' 7 | 8 | class BottomNav extends Component { 9 | static propTypes = { 10 | navigation: PropTypes.shape({}), 11 | getOnPress: PropTypes.func, 12 | getLabel: PropTypes.func, 13 | renderIcon: PropTypes.func, 14 | jumpToIndex: PropTypes.func, 15 | } 16 | 17 | static defaultProps = { 18 | navigation: {}, 19 | getOnPress: () => {}, 20 | getLabel: () => {}, 21 | renderIcon: () => {}, 22 | jumpToIndex: () => {}, 23 | } 24 | 25 | render = () => { 26 | const { navigation, getOnPress, getLabel, renderIcon, jumpToIndex } = this.props 27 | const { routes } = navigation.state 28 | const tabList = routes.map((route, index) => { 29 | const focused = index === navigation.state.index 30 | const scene = { route, index, focused } 31 | const label = getLabel({ ...scene }) 32 | const icon = renderIcon({ ...scene }) 33 | const onPress = getOnPress(scene) 34 | /* eslint-disable arrow-body-style */ 35 | return ( 36 | { 39 | return onPress ? onPress(scene, jumpToIndex) : jumpToIndex(index) 40 | }} 41 | key={`tab-${route.key}`} 42 | underlayColor="#f1f1f1" 43 | > 44 | 45 | {icon} 46 | {label} 47 | 48 | 49 | ) 50 | }) 51 | return {tabList} 52 | } 53 | } 54 | 55 | export default BottomNav 56 | -------------------------------------------------------------------------------- /TrixieUiKit/components/buttonBordered.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import PropTypes from 'prop-types' 3 | import { Text, TouchableHighlight, View } from 'react-native' 4 | 5 | import componentStyle from './style/component' 6 | 7 | class ButtonBordered extends Component { 8 | static propTypes = { 9 | text: PropTypes.string, 10 | } 11 | 12 | static defaultProps = { 13 | text: '', 14 | } 15 | 16 | render = () => { 17 | const { text } = this.props 18 | return ( 19 | 20 | 21 | {text} 22 | 23 | 24 | ) 25 | } 26 | } 27 | 28 | export default ButtonBordered 29 | -------------------------------------------------------------------------------- /TrixieUiKit/components/buttonPrimary.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import PropTypes from 'prop-types' 3 | import { Text, TouchableHighlight, View } from 'react-native' 4 | 5 | import componentStyle from './style/component' 6 | 7 | class ButtonPrimary extends Component { 8 | static propTypes = { 9 | text: PropTypes.string, 10 | } 11 | 12 | static defaultProps = { 13 | text: '', 14 | } 15 | 16 | render = () => { 17 | const { text } = this.props 18 | return ( 19 | 20 | 21 | {text} 22 | 23 | 24 | ) 25 | } 26 | } 27 | 28 | export default ButtonPrimary 29 | -------------------------------------------------------------------------------- /TrixieUiKit/components/chatBubble.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import PropTypes from 'prop-types' 3 | import { Text, View } from 'react-native' 4 | 5 | import componentStyle from './style/component' 6 | 7 | class ChatBubble extends Component { 8 | static propTypes = { 9 | text: PropTypes.string, 10 | } 11 | 12 | static defaultProps = { 13 | text: '', 14 | } 15 | 16 | render = () => { 17 | const { text } = this.props 18 | return ( 19 | 20 | {text} 21 | 22 | ) 23 | } 24 | } 25 | 26 | export default ChatBubble 27 | -------------------------------------------------------------------------------- /TrixieUiKit/components/gridItem.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import PropTypes from 'prop-types' 3 | import { Text, View } from 'react-native' 4 | 5 | import componentStyle from './style/component' 6 | 7 | class GridItem extends Component { 8 | static propTypes = { 9 | value: PropTypes.string, 10 | title: PropTypes.string, 11 | } 12 | 13 | static defaultProps = { 14 | value: '', 15 | title: '', 16 | } 17 | render = () => { 18 | const { value, title } = this.props 19 | return ( 20 | 21 | {value} 22 | 23 | {title} 24 | 25 | 26 | ) 27 | } 28 | } 29 | 30 | export default GridItem 31 | -------------------------------------------------------------------------------- /TrixieUiKit/components/index.js: -------------------------------------------------------------------------------- 1 | export { default as BottomNav } from './bottomNav' 2 | export { default as ButtonBordered } from './buttonBordered' 3 | export { default as ButtonPrimary } from './buttonPrimary' 4 | export { default as ChatBubble } from './chatBubble' 5 | export { default as GridItem } from './gridItem' 6 | export { default as InputField } from './input' 7 | export { default as Loader } from './loader' 8 | export { default as MenuItem } from './menuItem' 9 | export { default as PillPrimary } from './pillPrimary' 10 | export { default as Pills } from './pills' 11 | export { default as RadioButtonRound } from './radioButton' 12 | -------------------------------------------------------------------------------- /TrixieUiKit/components/input.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import { TextInput } from 'react-native' 3 | import PropTypes from 'prop-types' 4 | 5 | import componentStyle from './style/component' 6 | 7 | class InputField extends Component { 8 | static propTypes = { 9 | placeholder: PropTypes.string, 10 | } 11 | 12 | static defaultProps = { 13 | placeholder: '', 14 | } 15 | 16 | render = () => { 17 | const { placeholder } = this.props 18 | return ( 19 | 24 | ) 25 | } 26 | } 27 | 28 | export default InputField 29 | -------------------------------------------------------------------------------- /TrixieUiKit/components/loader.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import PropTypes from 'prop-types' 3 | import { Image, Text, View } from 'react-native' 4 | 5 | import componentStyle from './style/component' 6 | 7 | const loadingIcon = require('../Thumbnails/loading.gif') 8 | 9 | class Loader extends Component { 10 | static propTypes = { 11 | message: PropTypes.string, 12 | } 13 | 14 | static defaultProps = { 15 | message: 'Your loading message', 16 | } 17 | 18 | render = () => ( 19 | 20 | 21 | {this.props.message} 22 | 23 | ) 24 | } 25 | 26 | export default Loader 27 | -------------------------------------------------------------------------------- /TrixieUiKit/components/menuItem.js: -------------------------------------------------------------------------------- 1 | import React, { PureComponent } from 'react' 2 | import PropTypes from 'prop-types' 3 | import { Image, Text, TouchableHighlight, View } from 'react-native' 4 | 5 | import componentStyle from './style/component' 6 | 7 | export default class MenuItem extends PureComponent { 8 | static propTypes = { 9 | image: PropTypes.number, 10 | onPress: PropTypes.func, 11 | selected: PropTypes.bool, 12 | redirectLink: PropTypes.string, 13 | selectionImage: PropTypes.number, 14 | text: PropTypes.string, 15 | } 16 | 17 | static defaultProps = { 18 | image: 0, 19 | onPress: () => {}, 20 | selected: false, 21 | redirectLink: '', 22 | selectionImage: 0, 23 | text: '', 24 | } 25 | 26 | onPress = () => { 27 | if (!this.props.selected) { 28 | this.props.onPress(this.props.redirectLink) 29 | } 30 | } 31 | render = () => { 32 | const { text, image, selected, selectionImage } = this.props 33 | return ( 34 | 39 | 40 | 41 | {text} 42 | 43 | 44 | ) 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /TrixieUiKit/components/pillPrimary.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import PropTypes from 'prop-types' 3 | import { Text, TouchableHighlight, View } from 'react-native' 4 | 5 | import componentStyle from './style/component' 6 | 7 | export default class PillPrimary extends Component { 8 | static propTypes = { 9 | text: PropTypes.string, 10 | } 11 | 12 | static defaultProps = { 13 | text: '', 14 | } 15 | 16 | render = () => { 17 | const { text } = this.props 18 | return ( 19 | 23 | 24 | {text} 25 | 26 | 27 | ) 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /TrixieUiKit/components/pills.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import PropTypes from 'prop-types' 3 | import { Text, TouchableHighlight, View } from 'react-native' 4 | 5 | const componentStyle = require('./style/component') 6 | 7 | class Pills extends Component { 8 | static propTypes = { 9 | text: PropTypes.string, 10 | onPress: PropTypes.func, 11 | } 12 | static defaultProps = { 13 | text: '', 14 | onPress: () => {}, 15 | } 16 | 17 | render = () => { 18 | const { text, onPress } = this.props 19 | return ( 20 | 21 | 22 | {text} 23 | 24 | 25 | ) 26 | } 27 | } 28 | 29 | export default Pills 30 | -------------------------------------------------------------------------------- /TrixieUiKit/components/radioButton.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import PropTypes from 'prop-types' 3 | import { Text, View } from 'react-native' 4 | 5 | import RadioForm from 'react-native-simple-radio-button' 6 | import componentStyle from './style/component' 7 | 8 | class RadioButtonRound extends Component { 9 | static defaultProps = { 10 | header: '', 11 | types: [], 12 | initialValue: '', 13 | } 14 | 15 | static propTypes = { 16 | header: PropTypes.string, 17 | types: PropTypes.arrayOf(PropTypes.shape), 18 | initialValue: PropTypes.number, 19 | } 20 | 21 | constructor(props) { 22 | super(props) 23 | this.state = {} 24 | } 25 | 26 | render = () => { 27 | const { header, types, initialValue } = this.props 28 | return ( 29 | 30 | {header} 31 | { 39 | console.log(value) 40 | }} 41 | /> 42 | 43 | ) 44 | } 45 | } 46 | 47 | export default RadioButtonRound 48 | -------------------------------------------------------------------------------- /TrixieUiKit/components/style/component.js: -------------------------------------------------------------------------------- 1 | import { StyleSheet, Dimensions } from 'react-native' 2 | 3 | function vw(percentageWidth) { 4 | return Dimensions.get('window').width * (percentageWidth / 100) 5 | } 6 | 7 | const COLUMNS = 2 8 | const MARGIN = vw(1) 9 | const SPACING = (COLUMNS + 1) / COLUMNS * MARGIN 10 | const backgroundPrimary = '#F2F6FE' 11 | const primaryBlue = '#4990E2' 12 | const borderColor = '#fff' 13 | const primaryTextColor = '#444444' 14 | const smallTextColor = '#B2C3DB' 15 | const primaryRed = '#FF758C' 16 | const { headerFontSize, buttonPrimaryTextPadding, buttonBorderedTextPadding } = global 17 | 18 | export default StyleSheet.create({ 19 | buttonPrimary: { 20 | width: 270, 21 | height: 50, 22 | backgroundColor: primaryRed, 23 | borderRadius: 10, 24 | marginTop: 10, 25 | justifyContent: 'center', 26 | alignItems: 'center', 27 | alignSelf: 'center', 28 | }, 29 | container: { 30 | flex: 1, 31 | justifyContent: 'center', 32 | backgroundColor: backgroundPrimary, 33 | }, 34 | smallerButton: { 35 | width: 220, 36 | }, 37 | buttonSecondary: { 38 | width: 270, 39 | height: 45, 40 | padding: 10, 41 | backgroundColor: borderColor, 42 | borderRadius: 10, 43 | marginTop: 10, 44 | }, 45 | title: { 46 | fontSize: headerFontSize, 47 | marginBottom: 20, 48 | color: primaryBlue, 49 | textAlign: 'center', 50 | }, 51 | buttonBordered: { 52 | width: 270, 53 | height: 45, 54 | padding: 10, 55 | backgroundColor: 'white', 56 | borderRadius: 10, 57 | marginTop: 10, 58 | borderColor: primaryRed, 59 | borderWidth: 1, 60 | alignSelf: 'center', 61 | }, 62 | buttonPrimaryText: { 63 | color: '#fafafa', 64 | textAlign: 'center', 65 | alignSelf: 'center', 66 | alignItems: 'center', 67 | fontSize: 15, 68 | paddingTop: buttonPrimaryTextPadding, 69 | }, 70 | buttonSecondaryText: { 71 | color: primaryBlue, 72 | textAlign: 'center', 73 | fontSize: 15, 74 | }, 75 | buttonBorderedText: { 76 | color: primaryRed, 77 | textAlign: 'center', 78 | fontSize: 15, 79 | paddingTop: buttonBorderedTextPadding, 80 | }, 81 | buttonText: { 82 | fontSize: 22, 83 | color: '#FFF', 84 | alignSelf: 'center', 85 | }, 86 | footerIcons: { 87 | height: 30, 88 | width: 30, 89 | marginLeft: 5, 90 | alignSelf: 'center', 91 | }, 92 | footerText: { 93 | alignSelf: 'center', 94 | paddingBottom: 5, 95 | color: smallTextColor, 96 | fontSize: 10, 97 | marginLeft: 5, 98 | }, 99 | footer: { 100 | flex: 0.3, 101 | paddingTop: 5, 102 | backgroundColor: 'white', 103 | borderTopWidth: 1, 104 | borderTopColor: borderColor, 105 | }, 106 | footerWrapper: { 107 | shadowColor: '#000', 108 | shadowOffset: { width: 0, height: 3 }, 109 | shadowOpacity: 0.2, 110 | shadowRadius: 4, 111 | elevation: 1, 112 | flexDirection: 'row', 113 | justifyContent: 'center', 114 | borderTopColor: '#f1f1f1', 115 | borderTopWidth: 1, 116 | }, 117 | selected: { 118 | color: primaryBlue, 119 | alignSelf: 'center', 120 | fontSize: 10, 121 | marginLeft: 5, 122 | }, 123 | 124 | profileCard: { 125 | borderRadius: 10, 126 | shadowColor: '#444', 127 | shadowOffset: { width: 5, height: 5 }, 128 | shadowOpacity: 0.2, 129 | shadowRadius: 8, 130 | elevation: 1, 131 | marginLeft: 15, 132 | marginRight: 15, 133 | backgroundColor: 'white', 134 | marginTop: 20, 135 | paddingBottom: 20, 136 | paddingTop: 20, 137 | }, 138 | profileCardInner: { 139 | flexDirection: 'row', 140 | }, 141 | profileMetricsContainer: { 142 | flex: 1, 143 | flexWrap: 'wrap', 144 | flexDirection: 'row', 145 | justifyContent: 'flex-start', 146 | paddingLeft: 2 * SPACING, 147 | }, 148 | profileMetrics: { 149 | marginLeft: MARGIN, 150 | marginTop: MARGIN, 151 | borderRadius: 10, 152 | backgroundColor: 'white', 153 | width: vw(100) / COLUMNS - SPACING - 2 * SPACING, 154 | }, 155 | profileIcon: { 156 | height: 32, 157 | width: 32, 158 | alignSelf: 'center', 159 | }, 160 | profilePicContainer: { 161 | flex: 0.7, 162 | paddingLeft: 15, 163 | }, 164 | profileDetailContainer: { 165 | paddingLeft: 10, 166 | alignSelf: 'center', 167 | }, 168 | profilePic: { 169 | height: 64, 170 | width: 64, 171 | alignSelf: 'center', 172 | borderRadius: 32, 173 | marginTop: 5, 174 | }, 175 | profileValues: { 176 | fontSize: 32, 177 | textAlign: 'center', 178 | marginTop: 10, 179 | color: primaryBlue, 180 | }, 181 | profieText: { 182 | fontSize: 12, 183 | color: primaryBlue, 184 | textAlign: 'center', 185 | marginTop: 10, 186 | marginBottom: 10, 187 | }, 188 | textCenter: { 189 | textAlign: 'center', 190 | }, 191 | alignCenter: { 192 | alignSelf: 'center', 193 | }, 194 | padding20: { 195 | padding: 20, 196 | }, 197 | padding10: { 198 | padding: 10, 199 | }, 200 | mt20: { 201 | marginTop: 20, 202 | }, 203 | mt10: { 204 | marginTop: 10, 205 | }, 206 | mt100: { 207 | marginTop: 100, 208 | }, 209 | mb20: { 210 | marginBottom: 20, 211 | }, 212 | mb10: { 213 | marginBottom: 10, 214 | }, 215 | smallText: { 216 | color: primaryTextColor, 217 | fontSize: 12, 218 | alignSelf: 'center', 219 | marginTop: 5, 220 | }, 221 | small: { 222 | fontSize: 12, 223 | color: primaryTextColor, 224 | }, 225 | lh2: { 226 | lineHeight: 20, 227 | }, 228 | pills: { 229 | padding: 5, 230 | borderRadius: 5, 231 | backgroundColor: 'white', 232 | borderColor: primaryRed, 233 | borderWidth: 1, 234 | marginTop: 5, 235 | marginRight: 5, 236 | width: 100, 237 | }, 238 | pillText: { 239 | color: primaryRed, 240 | alignSelf: 'center', 241 | }, 242 | shadow: { 243 | shadowColor: '#444', 244 | shadowOffset: { width: 5, height: 5 }, 245 | shadowOpacity: 0.2, 246 | shadowRadius: 8, 247 | elevation: 1, 248 | }, 249 | conversationContainer: { 250 | maxWidth: 310, 251 | backgroundColor: 'white', 252 | borderBottomRightRadius: 10, 253 | borderTopRightRadius: 10, 254 | borderBottomLeftRadius: 0, 255 | borderTopLeftRadius: 10, 256 | padding: 10, 257 | marginTop: 10, 258 | }, 259 | convRight: { 260 | alignSelf: 'flex-end', 261 | backgroundColor: primaryRed, 262 | height: 35, 263 | paddingTop: 5, 264 | borderBottomRightRadius: 0, 265 | borderTopRightRadius: 10, 266 | borderBottomLeftRadius: 10, 267 | borderTopLeftRadius: 10, 268 | }, 269 | convRightText: { 270 | color: 'white', 271 | alignSelf: 'center', 272 | }, 273 | conversationText: { 274 | lineHeight: 20, 275 | alignSelf: 'flex-start', 276 | }, 277 | actionButtonsContainer: { 278 | flex: 1, 279 | flexDirection: 'row', 280 | paddingTop: 10, 281 | flexWrap: 'wrap', 282 | }, 283 | actionButton: { 284 | backgroundColor: primaryRed, 285 | borderRadius: 30, 286 | padding: 10, 287 | marginRight: 10, 288 | marginBottom: 10, 289 | width: 100, 290 | }, 291 | actionButtonText: { 292 | color: 'white', 293 | fontSize: 12, 294 | alignSelf: 'center', 295 | }, 296 | inputField: { 297 | backgroundColor: 'white', 298 | color: primaryBlue, 299 | height: 50, 300 | width: 270, 301 | marginTop: 10, 302 | padding: 4, 303 | paddingLeft: 10, 304 | fontSize: 18, 305 | borderRadius: 10, 306 | alignSelf: 'center', 307 | }, 308 | loading: { 309 | height: 75, 310 | width: 75, 311 | alignSelf: 'center', 312 | }, 313 | centreItems: { 314 | justifyContent: 'center', 315 | alignItems: 'center', 316 | }, 317 | }) 318 | -------------------------------------------------------------------------------- /TrixieUiKit/index.js: -------------------------------------------------------------------------------- 1 | import React, { 2 | Component, 3 | } from 'react'; 4 | import { StackNavigator, TabNavigator } from 'react-navigation'; 5 | import { AppRegistry, Image } from 'react-native'; 6 | 7 | import Home from './pages/home'; 8 | import Menu2 from './pages/menu2'; 9 | import Menu3 from './pages/menu3'; 10 | import Menu4 from './pages/menu4'; 11 | import componentStyle from './components/style/component'; 12 | import { BottomNav } from './components'; 13 | 14 | /* eslint-disable global-require */ 15 | const tabList = [ 16 | { 17 | text: ' Menu1 ', 18 | redirectLink: 'home', 19 | id: 'home', 20 | image: require('./Thumbnails/play-button-small.png'), 21 | selectionImage: require('./Thumbnails/play-button-selected.png'), 22 | }, 23 | { 24 | text: ' Menu2 ', 25 | redirectLink: 'menu2', 26 | id: 'Menu2', 27 | image: require('./Thumbnails/settings.png'), 28 | selectionImage: require('./Thumbnails/settings-selected.png'), 29 | }, 30 | { 31 | text: ' Menu3 ', 32 | redirectLink: 'menu3', 33 | id: 'Menu3', 34 | image: require('./Thumbnails/user.png'), 35 | selectionImage: require('./Thumbnails/user-selected.png'), 36 | }, 37 | { 38 | text: ' Menu4 ', 39 | redirectLink: 'menu4', 40 | id: 'Menu4', 41 | image: require('./Thumbnails/settings.png'), 42 | selectionImage: require('./Thumbnails/settings-selected.png'), 43 | }, 44 | ]; 45 | 46 | const HomeStack = StackNavigator({ 47 | Home: { 48 | screen: Home, 49 | }, 50 | }); 51 | 52 | const Menu2Stack = StackNavigator({ 53 | Menu2: { 54 | screen: Menu2, 55 | }, 56 | }); 57 | 58 | const Menu3Stack = StackNavigator({ 59 | Menu3: { 60 | screen: Menu3, 61 | }, 62 | }); 63 | 64 | const Menu4Stack = StackNavigator({ 65 | Menu4: { 66 | screen: Menu4, 67 | }, 68 | }); 69 | 70 | const tabBarConfiguration = { 71 | tabBarOptions: { 72 | style: { 73 | backgroundColor: 'white', 74 | borderTopWidth: 0, 75 | shadowColor: '#000', 76 | shadowOffset: { width: 0, height: 3 }, 77 | shadowOpacity: 0.2, 78 | shadowRadius: 4, 79 | elevation: 1, 80 | }, 81 | }, 82 | tabBarPosition: 'bottom', 83 | tabBarComponent: BottomNav 84 | }; 85 | 86 | const TrixieUiKitApp = TabNavigator({ 87 | home: { 88 | screen: HomeStack, 89 | navigationOptions: { 90 | tabBarLabel: tabList[0].text, 91 | tabBarIcon: ({ focused, tintColor }) => ( 92 | 96 | ) 97 | } 98 | }, 99 | menu2: { 100 | screen: Menu2Stack, 101 | navigationOptions: { 102 | tabBarLabel: tabList[1].text, 103 | tabBarIcon: ({ focused, tintColor }) => ( 104 | 108 | ) 109 | } 110 | }, 111 | menu3: { 112 | screen: Menu3Stack, 113 | navigationOptions: { 114 | tabBarLabel: tabList[2].text, 115 | tabBarIcon: ({ focused, tintColor }) => ( 116 | 120 | ) 121 | } 122 | }, 123 | menu4: { 124 | screen: Menu4Stack, 125 | navigationOptions: { 126 | tabBarLabel: tabList[3].text, 127 | tabBarIcon: ({ focused, tintColor }) => ( 128 | 132 | ) 133 | } 134 | } 135 | }, tabBarConfiguration); 136 | 137 | AppRegistry.registerComponent('TrixieUiKit', () => TrixieUiKitApp); 138 | -------------------------------------------------------------------------------- /TrixieUiKit/ios/TrixieUiKit-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 | -------------------------------------------------------------------------------- /TrixieUiKit/ios/TrixieUiKit-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 | -------------------------------------------------------------------------------- /TrixieUiKit/ios/TrixieUiKit.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | /* Begin PBXBuildFile section */ 9 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 10 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 11 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 12 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 13 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 14 | 00E356F31AD99517003FC87E /* TrixieUiKitTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* TrixieUiKitTests.m */; }; 15 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 16 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 17 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 18 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 19 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 20 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 21 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 22 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 23 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 25 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 26 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 27 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */; }; 28 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 29 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 30 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 31 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 32 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 33 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 34 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 35 | 2DCD954D1E0B4F2C00145EB5 /* TrixieUiKitTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* TrixieUiKitTests.m */; }; 36 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 37 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 38 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 39 | E4E81A5D46E145C197B916F8 /* libBVLinearGradient.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8443D91E71DD4D5AB7EAB12B /* libBVLinearGradient.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 = TrixieUiKit; 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 = "TrixieUiKit-tvOS"; 112 | }; 113 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 114 | isa = PBXContainerItemProxy; 115 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 116 | proxyType = 2; 117 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 118 | remoteInfo = "RCTImage-tvOS"; 119 | }; 120 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 121 | isa = PBXContainerItemProxy; 122 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 123 | proxyType = 2; 124 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 125 | remoteInfo = "RCTLinking-tvOS"; 126 | }; 127 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 128 | isa = PBXContainerItemProxy; 129 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 130 | proxyType = 2; 131 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 132 | remoteInfo = "RCTNetwork-tvOS"; 133 | }; 134 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 135 | isa = PBXContainerItemProxy; 136 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 137 | proxyType = 2; 138 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 139 | remoteInfo = "RCTSettings-tvOS"; 140 | }; 141 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 142 | isa = PBXContainerItemProxy; 143 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 144 | proxyType = 2; 145 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 146 | remoteInfo = "RCTText-tvOS"; 147 | }; 148 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 149 | isa = PBXContainerItemProxy; 150 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 151 | proxyType = 2; 152 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 153 | remoteInfo = "RCTWebSocket-tvOS"; 154 | }; 155 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 156 | isa = PBXContainerItemProxy; 157 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 158 | proxyType = 2; 159 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 160 | remoteInfo = "React-tvOS"; 161 | }; 162 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 163 | isa = PBXContainerItemProxy; 164 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 165 | proxyType = 2; 166 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 167 | remoteInfo = yoga; 168 | }; 169 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 170 | isa = PBXContainerItemProxy; 171 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 172 | proxyType = 2; 173 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 174 | remoteInfo = "yoga-tvOS"; 175 | }; 176 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 177 | isa = PBXContainerItemProxy; 178 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 179 | proxyType = 2; 180 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 181 | remoteInfo = cxxreact; 182 | }; 183 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 184 | isa = PBXContainerItemProxy; 185 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 186 | proxyType = 2; 187 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 188 | remoteInfo = "cxxreact-tvOS"; 189 | }; 190 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 191 | isa = PBXContainerItemProxy; 192 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 193 | proxyType = 2; 194 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 195 | remoteInfo = jschelpers; 196 | }; 197 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 198 | isa = PBXContainerItemProxy; 199 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 200 | proxyType = 2; 201 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 202 | remoteInfo = "jschelpers-tvOS"; 203 | }; 204 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 205 | isa = PBXContainerItemProxy; 206 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 207 | proxyType = 2; 208 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 209 | remoteInfo = RCTAnimation; 210 | }; 211 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 212 | isa = PBXContainerItemProxy; 213 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 214 | proxyType = 2; 215 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 216 | remoteInfo = "RCTAnimation-tvOS"; 217 | }; 218 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 219 | isa = PBXContainerItemProxy; 220 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 221 | proxyType = 2; 222 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 223 | remoteInfo = RCTLinking; 224 | }; 225 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 226 | isa = PBXContainerItemProxy; 227 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 228 | proxyType = 2; 229 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 230 | remoteInfo = RCTText; 231 | }; 232 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 233 | isa = PBXContainerItemProxy; 234 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 235 | proxyType = 2; 236 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 237 | remoteInfo = RCTBlob; 238 | }; 239 | /* End PBXContainerItemProxy section */ 240 | 241 | /* Begin PBXFileReference section */ 242 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 243 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 244 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 245 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 246 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 247 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 248 | 00E356EE1AD99517003FC87E /* TrixieUiKitTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TrixieUiKitTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 249 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 250 | 00E356F21AD99517003FC87E /* TrixieUiKitTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TrixieUiKitTests.m; sourceTree = ""; }; 251 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 252 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 253 | 13B07F961A680F5B00A75B9A /* TrixieUiKit.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TrixieUiKit.app; sourceTree = BUILT_PRODUCTS_DIR; }; 254 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = TrixieUiKit/AppDelegate.h; sourceTree = ""; }; 255 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = TrixieUiKit/AppDelegate.m; sourceTree = ""; }; 256 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 257 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = TrixieUiKit/Images.xcassets; sourceTree = ""; }; 258 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = TrixieUiKit/Info.plist; sourceTree = ""; }; 259 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = TrixieUiKit/main.m; sourceTree = ""; }; 260 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 261 | 2D02E47B1E0B4A5D006451C7 /* TrixieUiKit-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "TrixieUiKit-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 262 | 2D02E4901E0B4A5D006451C7 /* TrixieUiKit-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "TrixieUiKit-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 263 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 264 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 265 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 266 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 267 | A25B88C1DE27466390FD42FB /* BVLinearGradient.xcodeproj */ = {isa = PBXFileReference; name = "BVLinearGradient.xcodeproj"; path = "../node_modules/react-native-linear-gradient/BVLinearGradient.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 268 | 8443D91E71DD4D5AB7EAB12B /* libBVLinearGradient.a */ = {isa = PBXFileReference; name = "libBVLinearGradient.a"; path = "libBVLinearGradient.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 269 | /* End PBXFileReference section */ 270 | 271 | /* Begin PBXFrameworksBuildPhase section */ 272 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 273 | isa = PBXFrameworksBuildPhase; 274 | buildActionMask = 2147483647; 275 | files = ( 276 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 277 | ); 278 | runOnlyForDeploymentPostprocessing = 0; 279 | }; 280 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 281 | isa = PBXFrameworksBuildPhase; 282 | buildActionMask = 2147483647; 283 | files = ( 284 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 285 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 286 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 287 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 288 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 289 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 290 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 291 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 292 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 293 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 294 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 295 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 296 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 297 | E4E81A5D46E145C197B916F8 /* libBVLinearGradient.a in Frameworks */, 298 | ); 299 | runOnlyForDeploymentPostprocessing = 0; 300 | }; 301 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 302 | isa = PBXFrameworksBuildPhase; 303 | buildActionMask = 2147483647; 304 | files = ( 305 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, 306 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */, 307 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 308 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 309 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 310 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 311 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 312 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 313 | ); 314 | runOnlyForDeploymentPostprocessing = 0; 315 | }; 316 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 317 | isa = PBXFrameworksBuildPhase; 318 | buildActionMask = 2147483647; 319 | files = ( 320 | ); 321 | runOnlyForDeploymentPostprocessing = 0; 322 | }; 323 | /* End PBXFrameworksBuildPhase section */ 324 | 325 | /* Begin PBXGroup section */ 326 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 327 | isa = PBXGroup; 328 | children = ( 329 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 330 | ); 331 | name = Products; 332 | sourceTree = ""; 333 | }; 334 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 335 | isa = PBXGroup; 336 | children = ( 337 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 338 | ); 339 | name = Products; 340 | sourceTree = ""; 341 | }; 342 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 343 | isa = PBXGroup; 344 | children = ( 345 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 346 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 347 | ); 348 | name = Products; 349 | sourceTree = ""; 350 | }; 351 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 352 | isa = PBXGroup; 353 | children = ( 354 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 355 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 356 | ); 357 | name = Products; 358 | sourceTree = ""; 359 | }; 360 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 361 | isa = PBXGroup; 362 | children = ( 363 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 364 | ); 365 | name = Products; 366 | sourceTree = ""; 367 | }; 368 | 00E356EF1AD99517003FC87E /* TrixieUiKitTests */ = { 369 | isa = PBXGroup; 370 | children = ( 371 | 00E356F21AD99517003FC87E /* TrixieUiKitTests.m */, 372 | 00E356F01AD99517003FC87E /* Supporting Files */, 373 | ); 374 | path = TrixieUiKitTests; 375 | sourceTree = ""; 376 | }; 377 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 378 | isa = PBXGroup; 379 | children = ( 380 | 00E356F11AD99517003FC87E /* Info.plist */, 381 | ); 382 | name = "Supporting Files"; 383 | sourceTree = ""; 384 | }; 385 | 139105B71AF99BAD00B5F7CC /* Products */ = { 386 | isa = PBXGroup; 387 | children = ( 388 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 389 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 390 | ); 391 | name = Products; 392 | sourceTree = ""; 393 | }; 394 | 139FDEE71B06529A00C62182 /* Products */ = { 395 | isa = PBXGroup; 396 | children = ( 397 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 398 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 399 | ); 400 | name = Products; 401 | sourceTree = ""; 402 | }; 403 | 13B07FAE1A68108700A75B9A /* TrixieUiKit */ = { 404 | isa = PBXGroup; 405 | children = ( 406 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 407 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 408 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 409 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 410 | 13B07FB61A68108700A75B9A /* Info.plist */, 411 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 412 | 13B07FB71A68108700A75B9A /* main.m */, 413 | ); 414 | name = TrixieUiKit; 415 | sourceTree = ""; 416 | }; 417 | 146834001AC3E56700842450 /* Products */ = { 418 | isa = PBXGroup; 419 | children = ( 420 | 146834041AC3E56700842450 /* libReact.a */, 421 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 422 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 423 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 424 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 425 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 426 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 427 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 428 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */, 429 | ); 430 | name = Products; 431 | sourceTree = ""; 432 | }; 433 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 434 | isa = PBXGroup; 435 | children = ( 436 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 437 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */, 438 | ); 439 | name = Products; 440 | sourceTree = ""; 441 | }; 442 | 78C398B11ACF4ADC00677621 /* Products */ = { 443 | isa = PBXGroup; 444 | children = ( 445 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 446 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 447 | ); 448 | name = Products; 449 | sourceTree = ""; 450 | }; 451 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 452 | isa = PBXGroup; 453 | children = ( 454 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 455 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 456 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 457 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 458 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 459 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 460 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 461 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 462 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 463 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 464 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 465 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 466 | A25B88C1DE27466390FD42FB /* BVLinearGradient.xcodeproj */, 467 | ); 468 | name = Libraries; 469 | sourceTree = ""; 470 | }; 471 | 832341B11AAA6A8300B99B32 /* Products */ = { 472 | isa = PBXGroup; 473 | children = ( 474 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 475 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 476 | ); 477 | name = Products; 478 | sourceTree = ""; 479 | }; 480 | 83CBB9F61A601CBA00E9B192 = { 481 | isa = PBXGroup; 482 | children = ( 483 | 13B07FAE1A68108700A75B9A /* TrixieUiKit */, 484 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 485 | 00E356EF1AD99517003FC87E /* TrixieUiKitTests */, 486 | 83CBBA001A601CBA00E9B192 /* Products */, 487 | ); 488 | indentWidth = 2; 489 | sourceTree = ""; 490 | tabWidth = 2; 491 | usesTabs = 0; 492 | }; 493 | 83CBBA001A601CBA00E9B192 /* Products */ = { 494 | isa = PBXGroup; 495 | children = ( 496 | 13B07F961A680F5B00A75B9A /* TrixieUiKit.app */, 497 | 00E356EE1AD99517003FC87E /* TrixieUiKitTests.xctest */, 498 | 2D02E47B1E0B4A5D006451C7 /* TrixieUiKit-tvOS.app */, 499 | 2D02E4901E0B4A5D006451C7 /* TrixieUiKit-tvOSTests.xctest */, 500 | ); 501 | name = Products; 502 | sourceTree = ""; 503 | }; 504 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 505 | isa = PBXGroup; 506 | children = ( 507 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 508 | ); 509 | name = Products; 510 | sourceTree = ""; 511 | }; 512 | /* End PBXGroup section */ 513 | 514 | /* Begin PBXNativeTarget section */ 515 | 00E356ED1AD99517003FC87E /* TrixieUiKitTests */ = { 516 | isa = PBXNativeTarget; 517 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "TrixieUiKitTests" */; 518 | buildPhases = ( 519 | 00E356EA1AD99517003FC87E /* Sources */, 520 | 00E356EB1AD99517003FC87E /* Frameworks */, 521 | 00E356EC1AD99517003FC87E /* Resources */, 522 | ); 523 | buildRules = ( 524 | ); 525 | dependencies = ( 526 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 527 | ); 528 | name = TrixieUiKitTests; 529 | productName = TrixieUiKitTests; 530 | productReference = 00E356EE1AD99517003FC87E /* TrixieUiKitTests.xctest */; 531 | productType = "com.apple.product-type.bundle.unit-test"; 532 | }; 533 | 13B07F861A680F5B00A75B9A /* TrixieUiKit */ = { 534 | isa = PBXNativeTarget; 535 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "TrixieUiKit" */; 536 | buildPhases = ( 537 | 13B07F871A680F5B00A75B9A /* Sources */, 538 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 539 | 13B07F8E1A680F5B00A75B9A /* Resources */, 540 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 541 | ); 542 | buildRules = ( 543 | ); 544 | dependencies = ( 545 | ); 546 | name = TrixieUiKit; 547 | productName = "Hello World"; 548 | productReference = 13B07F961A680F5B00A75B9A /* TrixieUiKit.app */; 549 | productType = "com.apple.product-type.application"; 550 | }; 551 | 2D02E47A1E0B4A5D006451C7 /* TrixieUiKit-tvOS */ = { 552 | isa = PBXNativeTarget; 553 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "TrixieUiKit-tvOS" */; 554 | buildPhases = ( 555 | 2D02E4771E0B4A5D006451C7 /* Sources */, 556 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 557 | 2D02E4791E0B4A5D006451C7 /* Resources */, 558 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 559 | ); 560 | buildRules = ( 561 | ); 562 | dependencies = ( 563 | ); 564 | name = "TrixieUiKit-tvOS"; 565 | productName = "TrixieUiKit-tvOS"; 566 | productReference = 2D02E47B1E0B4A5D006451C7 /* TrixieUiKit-tvOS.app */; 567 | productType = "com.apple.product-type.application"; 568 | }; 569 | 2D02E48F1E0B4A5D006451C7 /* TrixieUiKit-tvOSTests */ = { 570 | isa = PBXNativeTarget; 571 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "TrixieUiKit-tvOSTests" */; 572 | buildPhases = ( 573 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 574 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 575 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 576 | ); 577 | buildRules = ( 578 | ); 579 | dependencies = ( 580 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 581 | ); 582 | name = "TrixieUiKit-tvOSTests"; 583 | productName = "TrixieUiKit-tvOSTests"; 584 | productReference = 2D02E4901E0B4A5D006451C7 /* TrixieUiKit-tvOSTests.xctest */; 585 | productType = "com.apple.product-type.bundle.unit-test"; 586 | }; 587 | /* End PBXNativeTarget section */ 588 | 589 | /* Begin PBXProject section */ 590 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 591 | isa = PBXProject; 592 | attributes = { 593 | LastUpgradeCheck = 610; 594 | ORGANIZATIONNAME = Facebook; 595 | TargetAttributes = { 596 | 00E356ED1AD99517003FC87E = { 597 | CreatedOnToolsVersion = 6.2; 598 | TestTargetID = 13B07F861A680F5B00A75B9A; 599 | }; 600 | 2D02E47A1E0B4A5D006451C7 = { 601 | CreatedOnToolsVersion = 8.2.1; 602 | ProvisioningStyle = Automatic; 603 | }; 604 | 2D02E48F1E0B4A5D006451C7 = { 605 | CreatedOnToolsVersion = 8.2.1; 606 | ProvisioningStyle = Automatic; 607 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 608 | }; 609 | }; 610 | }; 611 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "TrixieUiKit" */; 612 | compatibilityVersion = "Xcode 3.2"; 613 | developmentRegion = English; 614 | hasScannedForEncodings = 0; 615 | knownRegions = ( 616 | en, 617 | Base, 618 | ); 619 | mainGroup = 83CBB9F61A601CBA00E9B192; 620 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 621 | projectDirPath = ""; 622 | projectReferences = ( 623 | { 624 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 625 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 626 | }, 627 | { 628 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 629 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 630 | }, 631 | { 632 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 633 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 634 | }, 635 | { 636 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 637 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 638 | }, 639 | { 640 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 641 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 642 | }, 643 | { 644 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 645 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 646 | }, 647 | { 648 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 649 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 650 | }, 651 | { 652 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 653 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 654 | }, 655 | { 656 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 657 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 658 | }, 659 | { 660 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 661 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 662 | }, 663 | { 664 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 665 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 666 | }, 667 | { 668 | ProductGroup = 146834001AC3E56700842450 /* Products */; 669 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 670 | }, 671 | ); 672 | projectRoot = ""; 673 | targets = ( 674 | 13B07F861A680F5B00A75B9A /* TrixieUiKit */, 675 | 00E356ED1AD99517003FC87E /* TrixieUiKitTests */, 676 | 2D02E47A1E0B4A5D006451C7 /* TrixieUiKit-tvOS */, 677 | 2D02E48F1E0B4A5D006451C7 /* TrixieUiKit-tvOSTests */, 678 | ); 679 | }; 680 | /* End PBXProject section */ 681 | 682 | /* Begin PBXReferenceProxy section */ 683 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 684 | isa = PBXReferenceProxy; 685 | fileType = archive.ar; 686 | path = libRCTActionSheet.a; 687 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 688 | sourceTree = BUILT_PRODUCTS_DIR; 689 | }; 690 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 691 | isa = PBXReferenceProxy; 692 | fileType = archive.ar; 693 | path = libRCTGeolocation.a; 694 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 695 | sourceTree = BUILT_PRODUCTS_DIR; 696 | }; 697 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 698 | isa = PBXReferenceProxy; 699 | fileType = archive.ar; 700 | path = libRCTImage.a; 701 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 702 | sourceTree = BUILT_PRODUCTS_DIR; 703 | }; 704 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 705 | isa = PBXReferenceProxy; 706 | fileType = archive.ar; 707 | path = libRCTNetwork.a; 708 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 709 | sourceTree = BUILT_PRODUCTS_DIR; 710 | }; 711 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 712 | isa = PBXReferenceProxy; 713 | fileType = archive.ar; 714 | path = libRCTVibration.a; 715 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 716 | sourceTree = BUILT_PRODUCTS_DIR; 717 | }; 718 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 719 | isa = PBXReferenceProxy; 720 | fileType = archive.ar; 721 | path = libRCTSettings.a; 722 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 723 | sourceTree = BUILT_PRODUCTS_DIR; 724 | }; 725 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 726 | isa = PBXReferenceProxy; 727 | fileType = archive.ar; 728 | path = libRCTWebSocket.a; 729 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 730 | sourceTree = BUILT_PRODUCTS_DIR; 731 | }; 732 | 146834041AC3E56700842450 /* libReact.a */ = { 733 | isa = PBXReferenceProxy; 734 | fileType = archive.ar; 735 | path = libReact.a; 736 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 737 | sourceTree = BUILT_PRODUCTS_DIR; 738 | }; 739 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 740 | isa = PBXReferenceProxy; 741 | fileType = archive.ar; 742 | path = "libRCTImage-tvOS.a"; 743 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 744 | sourceTree = BUILT_PRODUCTS_DIR; 745 | }; 746 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 747 | isa = PBXReferenceProxy; 748 | fileType = archive.ar; 749 | path = "libRCTLinking-tvOS.a"; 750 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 751 | sourceTree = BUILT_PRODUCTS_DIR; 752 | }; 753 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 754 | isa = PBXReferenceProxy; 755 | fileType = archive.ar; 756 | path = "libRCTNetwork-tvOS.a"; 757 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 758 | sourceTree = BUILT_PRODUCTS_DIR; 759 | }; 760 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 761 | isa = PBXReferenceProxy; 762 | fileType = archive.ar; 763 | path = "libRCTSettings-tvOS.a"; 764 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 765 | sourceTree = BUILT_PRODUCTS_DIR; 766 | }; 767 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 768 | isa = PBXReferenceProxy; 769 | fileType = archive.ar; 770 | path = "libRCTText-tvOS.a"; 771 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 772 | sourceTree = BUILT_PRODUCTS_DIR; 773 | }; 774 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 775 | isa = PBXReferenceProxy; 776 | fileType = archive.ar; 777 | path = "libRCTWebSocket-tvOS.a"; 778 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 779 | sourceTree = BUILT_PRODUCTS_DIR; 780 | }; 781 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */ = { 782 | isa = PBXReferenceProxy; 783 | fileType = archive.ar; 784 | path = "libReact-tvOS.a"; 785 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 786 | sourceTree = BUILT_PRODUCTS_DIR; 787 | }; 788 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 789 | isa = PBXReferenceProxy; 790 | fileType = archive.ar; 791 | path = libyoga.a; 792 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 793 | sourceTree = BUILT_PRODUCTS_DIR; 794 | }; 795 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 796 | isa = PBXReferenceProxy; 797 | fileType = archive.ar; 798 | path = libyoga.a; 799 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 800 | sourceTree = BUILT_PRODUCTS_DIR; 801 | }; 802 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 803 | isa = PBXReferenceProxy; 804 | fileType = archive.ar; 805 | path = libcxxreact.a; 806 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 807 | sourceTree = BUILT_PRODUCTS_DIR; 808 | }; 809 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 810 | isa = PBXReferenceProxy; 811 | fileType = archive.ar; 812 | path = libcxxreact.a; 813 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 814 | sourceTree = BUILT_PRODUCTS_DIR; 815 | }; 816 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 817 | isa = PBXReferenceProxy; 818 | fileType = archive.ar; 819 | path = libjschelpers.a; 820 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 821 | sourceTree = BUILT_PRODUCTS_DIR; 822 | }; 823 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 824 | isa = PBXReferenceProxy; 825 | fileType = archive.ar; 826 | path = libjschelpers.a; 827 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 828 | sourceTree = BUILT_PRODUCTS_DIR; 829 | }; 830 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 831 | isa = PBXReferenceProxy; 832 | fileType = archive.ar; 833 | path = libRCTAnimation.a; 834 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 835 | sourceTree = BUILT_PRODUCTS_DIR; 836 | }; 837 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */ = { 838 | isa = PBXReferenceProxy; 839 | fileType = archive.ar; 840 | path = "libRCTAnimation-tvOS.a"; 841 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 842 | sourceTree = BUILT_PRODUCTS_DIR; 843 | }; 844 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 845 | isa = PBXReferenceProxy; 846 | fileType = archive.ar; 847 | path = libRCTLinking.a; 848 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 849 | sourceTree = BUILT_PRODUCTS_DIR; 850 | }; 851 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 852 | isa = PBXReferenceProxy; 853 | fileType = archive.ar; 854 | path = libRCTText.a; 855 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 856 | sourceTree = BUILT_PRODUCTS_DIR; 857 | }; 858 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 859 | isa = PBXReferenceProxy; 860 | fileType = archive.ar; 861 | path = libRCTBlob.a; 862 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 863 | sourceTree = BUILT_PRODUCTS_DIR; 864 | }; 865 | /* End PBXReferenceProxy section */ 866 | 867 | /* Begin PBXResourcesBuildPhase section */ 868 | 00E356EC1AD99517003FC87E /* Resources */ = { 869 | isa = PBXResourcesBuildPhase; 870 | buildActionMask = 2147483647; 871 | files = ( 872 | ); 873 | runOnlyForDeploymentPostprocessing = 0; 874 | }; 875 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 876 | isa = PBXResourcesBuildPhase; 877 | buildActionMask = 2147483647; 878 | files = ( 879 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 880 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 881 | ); 882 | runOnlyForDeploymentPostprocessing = 0; 883 | }; 884 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 885 | isa = PBXResourcesBuildPhase; 886 | buildActionMask = 2147483647; 887 | files = ( 888 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 889 | ); 890 | runOnlyForDeploymentPostprocessing = 0; 891 | }; 892 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 893 | isa = PBXResourcesBuildPhase; 894 | buildActionMask = 2147483647; 895 | files = ( 896 | ); 897 | runOnlyForDeploymentPostprocessing = 0; 898 | }; 899 | /* End PBXResourcesBuildPhase section */ 900 | 901 | /* Begin PBXShellScriptBuildPhase section */ 902 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 903 | isa = PBXShellScriptBuildPhase; 904 | buildActionMask = 2147483647; 905 | files = ( 906 | ); 907 | inputPaths = ( 908 | ); 909 | name = "Bundle React Native code and images"; 910 | outputPaths = ( 911 | ); 912 | runOnlyForDeploymentPostprocessing = 0; 913 | shellPath = /bin/sh; 914 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 915 | }; 916 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 917 | isa = PBXShellScriptBuildPhase; 918 | buildActionMask = 2147483647; 919 | files = ( 920 | ); 921 | inputPaths = ( 922 | ); 923 | name = "Bundle React Native Code And Images"; 924 | outputPaths = ( 925 | ); 926 | runOnlyForDeploymentPostprocessing = 0; 927 | shellPath = /bin/sh; 928 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 929 | }; 930 | /* End PBXShellScriptBuildPhase section */ 931 | 932 | /* Begin PBXSourcesBuildPhase section */ 933 | 00E356EA1AD99517003FC87E /* Sources */ = { 934 | isa = PBXSourcesBuildPhase; 935 | buildActionMask = 2147483647; 936 | files = ( 937 | 00E356F31AD99517003FC87E /* TrixieUiKitTests.m in Sources */, 938 | ); 939 | runOnlyForDeploymentPostprocessing = 0; 940 | }; 941 | 13B07F871A680F5B00A75B9A /* Sources */ = { 942 | isa = PBXSourcesBuildPhase; 943 | buildActionMask = 2147483647; 944 | files = ( 945 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 946 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 947 | ); 948 | runOnlyForDeploymentPostprocessing = 0; 949 | }; 950 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 951 | isa = PBXSourcesBuildPhase; 952 | buildActionMask = 2147483647; 953 | files = ( 954 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 955 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 956 | ); 957 | runOnlyForDeploymentPostprocessing = 0; 958 | }; 959 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 960 | isa = PBXSourcesBuildPhase; 961 | buildActionMask = 2147483647; 962 | files = ( 963 | 2DCD954D1E0B4F2C00145EB5 /* TrixieUiKitTests.m in Sources */, 964 | ); 965 | runOnlyForDeploymentPostprocessing = 0; 966 | }; 967 | /* End PBXSourcesBuildPhase section */ 968 | 969 | /* Begin PBXTargetDependency section */ 970 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 971 | isa = PBXTargetDependency; 972 | target = 13B07F861A680F5B00A75B9A /* TrixieUiKit */; 973 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 974 | }; 975 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 976 | isa = PBXTargetDependency; 977 | target = 2D02E47A1E0B4A5D006451C7 /* TrixieUiKit-tvOS */; 978 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 979 | }; 980 | /* End PBXTargetDependency section */ 981 | 982 | /* Begin PBXVariantGroup section */ 983 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 984 | isa = PBXVariantGroup; 985 | children = ( 986 | 13B07FB21A68108700A75B9A /* Base */, 987 | ); 988 | name = LaunchScreen.xib; 989 | path = TrixieUiKit; 990 | sourceTree = ""; 991 | }; 992 | /* End PBXVariantGroup section */ 993 | 994 | /* Begin XCBuildConfiguration section */ 995 | 00E356F61AD99517003FC87E /* Debug */ = { 996 | isa = XCBuildConfiguration; 997 | buildSettings = { 998 | BUNDLE_LOADER = "$(TEST_HOST)"; 999 | GCC_PREPROCESSOR_DEFINITIONS = ( 1000 | "DEBUG=1", 1001 | "$(inherited)", 1002 | ); 1003 | INFOPLIST_FILE = TrixieUiKitTests/Info.plist; 1004 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1005 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1006 | OTHER_LDFLAGS = ( 1007 | "-ObjC", 1008 | "-lc++", 1009 | ); 1010 | PRODUCT_NAME = "$(TARGET_NAME)"; 1011 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TrixieUiKit.app/TrixieUiKit"; 1012 | LIBRARY_SEARCH_PATHS = ( 1013 | "$(inherited)", 1014 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1015 | ); 1016 | HEADER_SEARCH_PATHS = ( 1017 | "$(inherited)", 1018 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1019 | ); 1020 | }; 1021 | name = Debug; 1022 | }; 1023 | 00E356F71AD99517003FC87E /* Release */ = { 1024 | isa = XCBuildConfiguration; 1025 | buildSettings = { 1026 | BUNDLE_LOADER = "$(TEST_HOST)"; 1027 | COPY_PHASE_STRIP = NO; 1028 | INFOPLIST_FILE = TrixieUiKitTests/Info.plist; 1029 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1030 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1031 | OTHER_LDFLAGS = ( 1032 | "-ObjC", 1033 | "-lc++", 1034 | ); 1035 | PRODUCT_NAME = "$(TARGET_NAME)"; 1036 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TrixieUiKit.app/TrixieUiKit"; 1037 | LIBRARY_SEARCH_PATHS = ( 1038 | "$(inherited)", 1039 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1040 | ); 1041 | HEADER_SEARCH_PATHS = ( 1042 | "$(inherited)", 1043 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1044 | ); 1045 | }; 1046 | name = Release; 1047 | }; 1048 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1049 | isa = XCBuildConfiguration; 1050 | buildSettings = { 1051 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1052 | CURRENT_PROJECT_VERSION = 1; 1053 | DEAD_CODE_STRIPPING = NO; 1054 | INFOPLIST_FILE = TrixieUiKit/Info.plist; 1055 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1056 | OTHER_LDFLAGS = ( 1057 | "$(inherited)", 1058 | "-ObjC", 1059 | "-lc++", 1060 | ); 1061 | PRODUCT_NAME = TrixieUiKit; 1062 | VERSIONING_SYSTEM = "apple-generic"; 1063 | HEADER_SEARCH_PATHS = ( 1064 | "$(inherited)", 1065 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1066 | ); 1067 | }; 1068 | name = Debug; 1069 | }; 1070 | 13B07F951A680F5B00A75B9A /* Release */ = { 1071 | isa = XCBuildConfiguration; 1072 | buildSettings = { 1073 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1074 | CURRENT_PROJECT_VERSION = 1; 1075 | INFOPLIST_FILE = TrixieUiKit/Info.plist; 1076 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1077 | OTHER_LDFLAGS = ( 1078 | "$(inherited)", 1079 | "-ObjC", 1080 | "-lc++", 1081 | ); 1082 | PRODUCT_NAME = TrixieUiKit; 1083 | VERSIONING_SYSTEM = "apple-generic"; 1084 | HEADER_SEARCH_PATHS = ( 1085 | "$(inherited)", 1086 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1087 | ); 1088 | }; 1089 | name = Release; 1090 | }; 1091 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1092 | isa = XCBuildConfiguration; 1093 | buildSettings = { 1094 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1095 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1096 | CLANG_ANALYZER_NONNULL = YES; 1097 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1098 | CLANG_WARN_INFINITE_RECURSION = YES; 1099 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1100 | DEBUG_INFORMATION_FORMAT = dwarf; 1101 | ENABLE_TESTABILITY = YES; 1102 | GCC_NO_COMMON_BLOCKS = YES; 1103 | INFOPLIST_FILE = "TrixieUiKit-tvOS/Info.plist"; 1104 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1105 | OTHER_LDFLAGS = ( 1106 | "-ObjC", 1107 | "-lc++", 1108 | ); 1109 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.TrixieUiKit-tvOS"; 1110 | PRODUCT_NAME = "$(TARGET_NAME)"; 1111 | SDKROOT = appletvos; 1112 | TARGETED_DEVICE_FAMILY = 3; 1113 | TVOS_DEPLOYMENT_TARGET = 9.2; 1114 | LIBRARY_SEARCH_PATHS = ( 1115 | "$(inherited)", 1116 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1117 | ); 1118 | HEADER_SEARCH_PATHS = ( 1119 | "$(inherited)", 1120 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1121 | ); 1122 | }; 1123 | name = Debug; 1124 | }; 1125 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1126 | isa = XCBuildConfiguration; 1127 | buildSettings = { 1128 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1129 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1130 | CLANG_ANALYZER_NONNULL = YES; 1131 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1132 | CLANG_WARN_INFINITE_RECURSION = YES; 1133 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1134 | COPY_PHASE_STRIP = NO; 1135 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1136 | GCC_NO_COMMON_BLOCKS = YES; 1137 | INFOPLIST_FILE = "TrixieUiKit-tvOS/Info.plist"; 1138 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1139 | OTHER_LDFLAGS = ( 1140 | "-ObjC", 1141 | "-lc++", 1142 | ); 1143 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.TrixieUiKit-tvOS"; 1144 | PRODUCT_NAME = "$(TARGET_NAME)"; 1145 | SDKROOT = appletvos; 1146 | TARGETED_DEVICE_FAMILY = 3; 1147 | TVOS_DEPLOYMENT_TARGET = 9.2; 1148 | LIBRARY_SEARCH_PATHS = ( 1149 | "$(inherited)", 1150 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1151 | ); 1152 | HEADER_SEARCH_PATHS = ( 1153 | "$(inherited)", 1154 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1155 | ); 1156 | }; 1157 | name = Release; 1158 | }; 1159 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1160 | isa = XCBuildConfiguration; 1161 | buildSettings = { 1162 | BUNDLE_LOADER = "$(TEST_HOST)"; 1163 | CLANG_ANALYZER_NONNULL = YES; 1164 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1165 | CLANG_WARN_INFINITE_RECURSION = YES; 1166 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1167 | DEBUG_INFORMATION_FORMAT = dwarf; 1168 | ENABLE_TESTABILITY = YES; 1169 | GCC_NO_COMMON_BLOCKS = YES; 1170 | INFOPLIST_FILE = "TrixieUiKit-tvOSTests/Info.plist"; 1171 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1172 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.TrixieUiKit-tvOSTests"; 1173 | PRODUCT_NAME = "$(TARGET_NAME)"; 1174 | SDKROOT = appletvos; 1175 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TrixieUiKit-tvOS.app/TrixieUiKit-tvOS"; 1176 | TVOS_DEPLOYMENT_TARGET = 10.1; 1177 | LIBRARY_SEARCH_PATHS = ( 1178 | "$(inherited)", 1179 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1180 | ); 1181 | }; 1182 | name = Debug; 1183 | }; 1184 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1185 | isa = XCBuildConfiguration; 1186 | buildSettings = { 1187 | BUNDLE_LOADER = "$(TEST_HOST)"; 1188 | CLANG_ANALYZER_NONNULL = YES; 1189 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1190 | CLANG_WARN_INFINITE_RECURSION = YES; 1191 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1192 | COPY_PHASE_STRIP = NO; 1193 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1194 | GCC_NO_COMMON_BLOCKS = YES; 1195 | INFOPLIST_FILE = "TrixieUiKit-tvOSTests/Info.plist"; 1196 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1197 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.TrixieUiKit-tvOSTests"; 1198 | PRODUCT_NAME = "$(TARGET_NAME)"; 1199 | SDKROOT = appletvos; 1200 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TrixieUiKit-tvOS.app/TrixieUiKit-tvOS"; 1201 | TVOS_DEPLOYMENT_TARGET = 10.1; 1202 | LIBRARY_SEARCH_PATHS = ( 1203 | "$(inherited)", 1204 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1205 | ); 1206 | }; 1207 | name = Release; 1208 | }; 1209 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1210 | isa = XCBuildConfiguration; 1211 | buildSettings = { 1212 | ALWAYS_SEARCH_USER_PATHS = NO; 1213 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1214 | CLANG_CXX_LIBRARY = "libc++"; 1215 | CLANG_ENABLE_MODULES = YES; 1216 | CLANG_ENABLE_OBJC_ARC = YES; 1217 | CLANG_WARN_BOOL_CONVERSION = YES; 1218 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1219 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1220 | CLANG_WARN_EMPTY_BODY = YES; 1221 | CLANG_WARN_ENUM_CONVERSION = YES; 1222 | CLANG_WARN_INT_CONVERSION = YES; 1223 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1224 | CLANG_WARN_UNREACHABLE_CODE = YES; 1225 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1226 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1227 | COPY_PHASE_STRIP = NO; 1228 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1229 | GCC_C_LANGUAGE_STANDARD = gnu99; 1230 | GCC_DYNAMIC_NO_PIC = NO; 1231 | GCC_OPTIMIZATION_LEVEL = 0; 1232 | GCC_PREPROCESSOR_DEFINITIONS = ( 1233 | "DEBUG=1", 1234 | "$(inherited)", 1235 | ); 1236 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1237 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1238 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1239 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1240 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1241 | GCC_WARN_UNUSED_FUNCTION = YES; 1242 | GCC_WARN_UNUSED_VARIABLE = YES; 1243 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1244 | MTL_ENABLE_DEBUG_INFO = YES; 1245 | ONLY_ACTIVE_ARCH = YES; 1246 | SDKROOT = iphoneos; 1247 | }; 1248 | name = Debug; 1249 | }; 1250 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1251 | isa = XCBuildConfiguration; 1252 | buildSettings = { 1253 | ALWAYS_SEARCH_USER_PATHS = NO; 1254 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1255 | CLANG_CXX_LIBRARY = "libc++"; 1256 | CLANG_ENABLE_MODULES = YES; 1257 | CLANG_ENABLE_OBJC_ARC = YES; 1258 | CLANG_WARN_BOOL_CONVERSION = YES; 1259 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1260 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1261 | CLANG_WARN_EMPTY_BODY = YES; 1262 | CLANG_WARN_ENUM_CONVERSION = YES; 1263 | CLANG_WARN_INT_CONVERSION = YES; 1264 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1265 | CLANG_WARN_UNREACHABLE_CODE = YES; 1266 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1267 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1268 | COPY_PHASE_STRIP = YES; 1269 | ENABLE_NS_ASSERTIONS = NO; 1270 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1271 | GCC_C_LANGUAGE_STANDARD = gnu99; 1272 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1273 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1274 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1275 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1276 | GCC_WARN_UNUSED_FUNCTION = YES; 1277 | GCC_WARN_UNUSED_VARIABLE = YES; 1278 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1279 | MTL_ENABLE_DEBUG_INFO = NO; 1280 | SDKROOT = iphoneos; 1281 | VALIDATE_PRODUCT = YES; 1282 | }; 1283 | name = Release; 1284 | }; 1285 | /* End XCBuildConfiguration section */ 1286 | 1287 | /* Begin XCConfigurationList section */ 1288 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "TrixieUiKitTests" */ = { 1289 | isa = XCConfigurationList; 1290 | buildConfigurations = ( 1291 | 00E356F61AD99517003FC87E /* Debug */, 1292 | 00E356F71AD99517003FC87E /* Release */, 1293 | ); 1294 | defaultConfigurationIsVisible = 0; 1295 | defaultConfigurationName = Release; 1296 | }; 1297 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "TrixieUiKit" */ = { 1298 | isa = XCConfigurationList; 1299 | buildConfigurations = ( 1300 | 13B07F941A680F5B00A75B9A /* Debug */, 1301 | 13B07F951A680F5B00A75B9A /* Release */, 1302 | ); 1303 | defaultConfigurationIsVisible = 0; 1304 | defaultConfigurationName = Release; 1305 | }; 1306 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "TrixieUiKit-tvOS" */ = { 1307 | isa = XCConfigurationList; 1308 | buildConfigurations = ( 1309 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1310 | 2D02E4981E0B4A5E006451C7 /* Release */, 1311 | ); 1312 | defaultConfigurationIsVisible = 0; 1313 | defaultConfigurationName = Release; 1314 | }; 1315 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "TrixieUiKit-tvOSTests" */ = { 1316 | isa = XCConfigurationList; 1317 | buildConfigurations = ( 1318 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1319 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1320 | ); 1321 | defaultConfigurationIsVisible = 0; 1322 | defaultConfigurationName = Release; 1323 | }; 1324 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "TrixieUiKit" */ = { 1325 | isa = XCConfigurationList; 1326 | buildConfigurations = ( 1327 | 83CBBA201A601CBA00E9B192 /* Debug */, 1328 | 83CBBA211A601CBA00E9B192 /* Release */, 1329 | ); 1330 | defaultConfigurationIsVisible = 0; 1331 | defaultConfigurationName = Release; 1332 | }; 1333 | /* End XCConfigurationList section */ 1334 | }; 1335 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1336 | } 1337 | -------------------------------------------------------------------------------- /TrixieUiKit/ios/TrixieUiKit.xcodeproj/xcshareddata/xcschemes/TrixieUiKit-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 | -------------------------------------------------------------------------------- /TrixieUiKit/ios/TrixieUiKit.xcodeproj/xcshareddata/xcschemes/TrixieUiKit.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 | -------------------------------------------------------------------------------- /TrixieUiKit/ios/TrixieUiKit/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 | -------------------------------------------------------------------------------- /TrixieUiKit/ios/TrixieUiKit/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:@"TrixieUiKit" 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 | -------------------------------------------------------------------------------- /TrixieUiKit/ios/TrixieUiKit/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 | -------------------------------------------------------------------------------- /TrixieUiKit/ios/TrixieUiKit/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 | } -------------------------------------------------------------------------------- /TrixieUiKit/ios/TrixieUiKit/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | TrixieUiKit 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 | -------------------------------------------------------------------------------- /TrixieUiKit/ios/TrixieUiKit/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 | -------------------------------------------------------------------------------- /TrixieUiKit/ios/TrixieUiKitTests/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 | -------------------------------------------------------------------------------- /TrixieUiKit/ios/TrixieUiKitTests/TrixieUiKitTests.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 TrixieUiKitTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation TrixieUiKitTests 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 | -------------------------------------------------------------------------------- /TrixieUiKit/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TrixieUiKit", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "precommit": "lint-staged", 8 | "lint": "eslint pages components --quiet --ext .jsx --ext .js", 9 | "format": "prettier --config=./.prettierrc --write './pages/**/*.js' './components/**/*.js'" 10 | }, 11 | "lint-staged": { 12 | "gitDir": "../", 13 | "linters": { 14 | "TrixieUiKit/components/**/*.{js,jsx}": "eslint" 15 | } 16 | }, 17 | "dependencies": { 18 | "prop-types": "^15.6.0", 19 | "react": "16.0.0-beta.5", 20 | "react-native": "0.49.3", 21 | "react-native-back-android": "^3.1.0", 22 | "react-native-linear-gradient": "^2.3.0", 23 | "react-native-simple-radio-button": "^2.7.0", 24 | "react-navigation": "^1.0.0-beta.13" 25 | }, 26 | "devDependencies": { 27 | "babel-eslint": "^8.0.1", 28 | "babel-jest": "21.2.0", 29 | "babel-preset-react-native": "4.0.0", 30 | "eslint": "^4.18.2", 31 | "eslint-config-airbnb": "^16.1.0", 32 | "eslint-config-prettier": "^2.9.0", 33 | "eslint-plugin-import": "^2.8.0", 34 | "eslint-plugin-jsx-a11y": "^6.0.2", 35 | "eslint-plugin-react": "^7.4.0", 36 | "eslint-plugin-react-native": "^3.1.0", 37 | "husky": "^0.14.3", 38 | "jest": "21.2.1", 39 | "lint-staged": "^4.3.0", 40 | "prettier": "1.11.1", 41 | "react-test-renderer": "16.0.0-beta.5" 42 | }, 43 | "jest": { 44 | "preset": "react-native" 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /TrixieUiKit/pages/global.js: -------------------------------------------------------------------------------- 1 | import { Platform } from 'react-native' 2 | 3 | if (Platform.OS === 'ios') { 4 | global.headerFontSize = 22 5 | global.extraMarginValue = 30 6 | global.buttonPrimaryTextPadding = 5 7 | global.buttonBorderedTextPadding = 5 8 | } else { 9 | global.headerFontSize = 19 10 | global.extraMarginValue = 25 11 | global.buttonPrimaryTextPadding = 0 12 | global.buttonBorderedTextPadding = 3 13 | } 14 | -------------------------------------------------------------------------------- /TrixieUiKit/pages/home.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import PropTypes from 'prop-types' 3 | 4 | import { Text, View, ScrollView, Image, ListView, TouchableHighlight } from 'react-native' 5 | 6 | import { exitApp } from 'react-native-back-android' 7 | 8 | import LinearGradient from 'react-native-linear-gradient' 9 | 10 | import globalStyle from './style/style' 11 | 12 | const createEllipses = function createEllipses(str) { 13 | return str.length > 14 ? `${str.substring(0, 11)}...` : str 14 | } 15 | 16 | const logo = require('../Thumbnails/logo.png') 17 | 18 | class Home extends Component { 19 | static navigationOptions = { 20 | header: null, 21 | } 22 | 23 | static propTypes = { 24 | navigation: PropTypes.shape({ 25 | goBack: PropTypes.func, 26 | navigate: PropTypes.func, 27 | state: PropTypes.shape({ 28 | key: PropTypes.string, 29 | }), 30 | }), 31 | } 32 | 33 | static defaultProps = { 34 | navigation: { 35 | navigate: () => {}, 36 | goBack: () => {}, 37 | state: { 38 | key: '', 39 | }, 40 | }, 41 | } 42 | constructor(props) { 43 | super(props) 44 | const dsVertical = new ListView.DataSource({ rowHasChanged: (r1, r2) => r1 !== r2 }) 45 | const dsHorizonatl = new ListView.DataSource({ rowHasChanged: (r1, r2) => r1 !== r2 }) 46 | this.handleBack = this.handleBack.bind(this) 47 | this.state = { 48 | dataSourceVertical: dsVertical.cloneWithRows(['Item 1', 'Item 2', 'Item 3']), 49 | dataSourceHorizontal: dsHorizonatl.cloneWithRows(['Item 4', 'Item 5', 'Item 6']), 50 | } 51 | } 52 | 53 | handleBack() { 54 | const { goBack } = this.props.navigation 55 | goBack(this.props.navigation.state.key) 56 | } 57 | 58 | handleHardwareBackPress = () => { 59 | exitApp() 60 | return true 61 | } 62 | 63 | redirect = routeName => { 64 | const { navigate } = this.props.navigation 65 | navigate(routeName) 66 | } 67 | 68 | showHorizontalList() { 69 | return ( 70 | 71 | Horizontal List 72 | this.renderListRow(rowData, sectionID, rowID)} 78 | /> 79 | 80 | ) 81 | } 82 | 83 | showVerticalList() { 84 | return ( 85 | this.renderRow(rowData, sectionID, rowID)} 89 | /> 90 | ) 91 | } 92 | 93 | /* eslint-disable class-methods-use-this */ 94 | renderRow(rowData) { 95 | const name = rowData 96 | return ( 97 | 98 | 99 | 100 | 101 | 102 | {name} 103 | 104 | 105 | 106 | 107 | ) 108 | } 109 | 110 | renderListRow(rowData) { 111 | const name = rowData 112 | return ( 113 | 114 | 115 | 116 | {createEllipses(name)} 117 | 118 | 119 | ) 120 | } 121 | 122 | render() { 123 | return ( 124 | 125 | 126 | 132 | 133 | List Views 134 | 135 | 136 | 137 | {this.showHorizontalList()} 138 | Vertical List 139 | {this.showVerticalList()} 140 | 141 | 142 | 143 | ) 144 | } 145 | } 146 | 147 | export default Home 148 | -------------------------------------------------------------------------------- /TrixieUiKit/pages/menu2.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import { Text, View, ScrollView } from 'react-native' 3 | import { exitApp } from 'react-native-back-android' 4 | import LinearGradient from 'react-native-linear-gradient' 5 | 6 | import globalStyle from './style/style' 7 | import { 8 | ButtonBordered, 9 | ButtonPrimary, 10 | ChatBubble, 11 | GridItem, 12 | InputField, 13 | PillPrimary, 14 | Pills, 15 | RadioButtonRound, 16 | } from '../components' 17 | 18 | class Menu2 extends Component { 19 | static navigationOptions = { 20 | header: null, 21 | } 22 | 23 | constructor(props) { 24 | super(props) 25 | this.handleBack = this.handleBack.bind(this) 26 | this.state = {} 27 | } 28 | 29 | handleBack = () => { 30 | const { goBack } = this.props.navigation 31 | goBack(this.props.navigation.state.key) 32 | } 33 | 34 | handleHardwareBackPress = () => { 35 | exitApp() 36 | return true 37 | } 38 | 39 | redirect = routeName => { 40 | const { navigate } = this.props.navigation 41 | navigate(routeName) 42 | } 43 | 44 | render = () => { 45 | const types = [{ label: 'Label1', value: 0 }, { label: 'Label2', value: 1 }] 46 | return ( 47 | 48 | 49 | 55 | 56 | Components 57 | 58 | 59 | 60 | 61 | List of all components used 62 | 63 | 64 | Buttons 65 | 66 | 67 | 68 | 69 | Small buttons 70 | 71 | 72 | 73 | 74 | Conversation 75 | 76 | 77 | 78 | 79 | Input 80 | 81 | 82 | Grid 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | ) 97 | } 98 | } 99 | 100 | export default Menu2 101 | -------------------------------------------------------------------------------- /TrixieUiKit/pages/menu3.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import { Text, View, ScrollView } from 'react-native' 3 | import { exitApp } from 'react-native-back-android' 4 | import LinearGradient from 'react-native-linear-gradient' 5 | 6 | import globalStyle from './style/style' 7 | 8 | class Menu3 extends Component { 9 | static navigationOptions = { 10 | header: null, 11 | } 12 | constructor(props) { 13 | super(props) 14 | this.handleBack = this.handleBack.bind(this) 15 | this.state = {} 16 | } 17 | 18 | handleBack() { 19 | const { goBack } = this.props.navigation 20 | goBack(this.props.navigation.state.key) 21 | } 22 | 23 | handleHardwareBackPress = () => { 24 | exitApp() 25 | return true 26 | } 27 | 28 | redirect = routeName => { 29 | const { navigate } = this.props.navigation 30 | navigate(routeName) 31 | } 32 | 33 | render() { 34 | return ( 35 | 36 | 37 | 43 | 44 | Header 3 45 | 46 | 47 | 48 | 49 | ) 50 | } 51 | } 52 | 53 | export default Menu3 54 | -------------------------------------------------------------------------------- /TrixieUiKit/pages/menu4.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import { exitApp } from 'react-native-back-android' 3 | 4 | import { Loader } from '../components' 5 | 6 | class Menu4 extends Component { 7 | static navigationOptions = { 8 | header: null, 9 | } 10 | constructor(props) { 11 | super(props) 12 | this.handleBack = this.handleBack.bind(this) 13 | this.state = {} 14 | } 15 | 16 | handleBack = () => { 17 | const { goBack } = this.props.navigation 18 | goBack(this.props.navigation.state.key) 19 | } 20 | 21 | handleHardwareBackPress = () => { 22 | exitApp() 23 | return true 24 | } 25 | 26 | redirect = routeName => { 27 | const { navigate } = this.props.navigation 28 | navigate(routeName) 29 | } 30 | 31 | render() { 32 | return 33 | } 34 | } 35 | 36 | export default Menu4 37 | -------------------------------------------------------------------------------- /TrixieUiKit/pages/style/style.js: -------------------------------------------------------------------------------- 1 | import { StyleSheet, Dimensions } from 'react-native' 2 | 3 | function vw(percentageWidth) { 4 | return Dimensions.get('window').width * (percentageWidth / 100) 5 | } 6 | 7 | const COLUMNS = 2 8 | const MARGIN = vw(1) 9 | const SPACING = (COLUMNS + 1) / COLUMNS * MARGIN 10 | 11 | const primaryBlue = '#4990E2' 12 | const titleColor = '#ffffff' 13 | const backgroundPrimary = '#F2F6FE' 14 | const borderColor = '#fff' 15 | const primaryTextColor = '#444444' 16 | const secondoryTextColor = '#D9DAE8' 17 | const primaryRed = '#FF758C' 18 | 19 | const { headerFontSize, extraMarginValue } = global 20 | 21 | export default StyleSheet.create({ 22 | container: { 23 | flex: 1, 24 | justifyContent: 'center', 25 | backgroundColor: backgroundPrimary, 26 | }, 27 | marginTopValue: { 28 | marginTop: 80, 29 | }, 30 | slide: { 31 | flex: 1, 32 | justifyContent: 'center', 33 | alignItems: 'center', 34 | backgroundColor: 'white', 35 | padding: 15, 36 | }, 37 | slideTite: { 38 | color: primaryTextColor, 39 | fontSize: 25, 40 | marginTop: 20, 41 | }, 42 | slideDesc: { 43 | color: primaryTextColor, 44 | fontSize: 15, 45 | marginTop: 20, 46 | lineHeight: 20, 47 | textAlign: 'center', 48 | marginRight: 20, 49 | marginLeft: 20, 50 | }, 51 | listItem: { 52 | borderColor, 53 | borderWidth: 1, 54 | borderStyle: 'solid', 55 | backgroundColor: 'white', 56 | paddingLeft: 10, 57 | paddingTop: 2, 58 | paddingBottom: 2, 59 | marginTop: 15, 60 | borderRadius: 10, 61 | shadowColor: '#444', 62 | shadowOffset: { width: 5, height: 5 }, 63 | shadowOpacity: 0.2, 64 | shadowRadius: 8, 65 | elevation: 1, 66 | marginLeft: 15, 67 | marginRight: 15, 68 | }, 69 | listMenuItem: { 70 | padding: 25, 71 | color: primaryTextColor, 72 | fontSize: 15, 73 | flex: 0.8, 74 | textAlign: 'left', 75 | }, 76 | listItemRow: { 77 | flexDirection: 'row', 78 | }, 79 | list_icon: { 80 | height: 35, 81 | width: 35, 82 | marginTop: 17, 83 | marginLeft: 20, 84 | }, 85 | title: { 86 | fontSize: headerFontSize, 87 | marginBottom: 20, 88 | color: titleColor, 89 | textAlign: 'center', 90 | }, 91 | subTitle: { 92 | fontSize: 14, 93 | color: titleColor, 94 | textAlign: 'center', 95 | }, 96 | audioTitle: { 97 | fontSize: 23, 98 | marginTop: 35, 99 | marginBottom: 15, 100 | color: primaryBlue, 101 | textAlign: 'center', 102 | }, 103 | buttonTitle: { 104 | fontSize: 23, 105 | marginTop: 30, 106 | marginBottom: 15, 107 | color: titleColor, 108 | textAlign: 'left', 109 | flex: 0.6, 110 | }, 111 | text: { 112 | flex: 1, 113 | padding: 10, 114 | justifyContent: 'center', 115 | }, 116 | textWhite: { 117 | color: primaryTextColor, 118 | fontSize: 16, 119 | padding: 10, 120 | alignSelf: 'center', 121 | }, 122 | textSmall: { 123 | color: secondoryTextColor, 124 | fontSize: 13, 125 | padding: 10, 126 | textAlign: 'justify', 127 | }, 128 | arrow: { 129 | flex: 0.1, 130 | alignSelf: 'center', 131 | marginRight: 20, 132 | height: 20, 133 | }, 134 | name: { 135 | color: primaryBlue, 136 | fontSize: 17, 137 | textAlign: 'left', 138 | justifyContent: 'center', 139 | }, 140 | nameLeft: { 141 | color: primaryTextColor, 142 | fontSize: 17, 143 | marginTop: 19, 144 | textAlign: 'left', 145 | paddingLeft: 20, 146 | }, 147 | description: { 148 | color: primaryTextColor, 149 | fontSize: 15, 150 | padding: 20, 151 | textAlign: 'justify', 152 | lineHeight: 30, 153 | }, 154 | label: { 155 | color: primaryTextColor, 156 | fontSize: 15, 157 | textAlign: 'center', 158 | marginBottom: 5, 159 | }, 160 | row: { 161 | flexDirection: 'row', 162 | }, 163 | titleContainer: { 164 | backgroundColor: 'transparent', 165 | }, 166 | header: { 167 | alignItems: 'center', 168 | borderBottomWidth: 1, 169 | borderBottomColor: borderColor, 170 | height: 155, 171 | position: 'absolute', 172 | left: 0, 173 | top: 0, 174 | right: 0, 175 | flex: 1, 176 | flexDirection: 'row', 177 | justifyContent: 'center', 178 | }, 179 | countValue: { 180 | fontSize: 50, 181 | textAlign: 'center', 182 | color: primaryBlue, 183 | marginTop: 30, 184 | marginBottom: 50, 185 | }, 186 | buttonHeader: { 187 | flexDirection: 'row', 188 | borderBottomWidth: 1, 189 | borderBottomColor: borderColor, 190 | height: 155, 191 | backgroundColor: '#4990E2', 192 | position: 'absolute', 193 | left: 0, 194 | top: 0, 195 | right: 0, 196 | flex: 1, 197 | justifyContent: 'center', 198 | }, 199 | flash: { 200 | height: 40, 201 | backgroundColor: '#00ff00', 202 | padding: 10, 203 | alignSelf: 'center', 204 | }, 205 | loader: { 206 | marginTop: 20, 207 | }, 208 | thumb: { 209 | marginTop: 8, 210 | marginBottom: 8, 211 | width: 90, 212 | height: 80, 213 | borderRadius: 10, 214 | }, 215 | recentlyPlayedThumb: { 216 | width: 90, 217 | height: 80, 218 | borderRadius: 10, 219 | }, 220 | center: { 221 | alignSelf: 'center', 222 | }, 223 | right: { 224 | alignSelf: 'flex-end', 225 | }, 226 | profileCard: { 227 | borderRadius: 10, 228 | shadowColor: '#444', 229 | shadowOffset: { width: 5, height: 5 }, 230 | shadowOpacity: 0.2, 231 | shadowRadius: 8, 232 | elevation: 1, 233 | marginLeft: 15, 234 | marginRight: 15, 235 | backgroundColor: 'white', 236 | marginTop: 20, 237 | paddingBottom: 20, 238 | paddingTop: 20, 239 | }, 240 | profileCardInner: { 241 | flexDirection: 'row', 242 | }, 243 | profileMetricsContainer: { 244 | flex: 1, 245 | flexWrap: 'wrap', 246 | flexDirection: 'row', 247 | justifyContent: 'flex-start', 248 | paddingLeft: 2 * SPACING, 249 | }, 250 | profileMetrics: { 251 | marginLeft: MARGIN, 252 | marginTop: MARGIN, 253 | borderRadius: 10, 254 | backgroundColor: 'white', 255 | width: vw(100) / COLUMNS - SPACING - 2 * SPACING, 256 | }, 257 | recentlyPlayed: { 258 | margin: 10, 259 | borderRadius: 10, 260 | shadowColor: '#444', 261 | shadowOffset: { width: 5, height: 5 }, 262 | shadowOpacity: 0.2, 263 | shadowRadius: 8, 264 | elevation: 1, 265 | paddingLeft: 10, 266 | paddingTop: 10, 267 | padding: 5, 268 | backgroundColor: 'white', 269 | height: 150, 270 | }, 271 | error: { 272 | color: '#EC644B', 273 | paddingTop: 10, 274 | }, 275 | errorBox: { 276 | backgroundColor: 'white', 277 | justifyContent: 'center', 278 | marginTop: 20, 279 | alignItems: 'center', 280 | }, 281 | largeImage: { 282 | height: 150, 283 | width: 150, 284 | alignSelf: 'center', 285 | marginTop: 10, 286 | marginBottom: 10, 287 | }, 288 | largeMarginTop: { 289 | marginTop: 100, 290 | borderTopColor: secondoryTextColor, 291 | borderTopWidth: 2, 292 | }, 293 | seperator: { 294 | borderBottomWidth: 1, 295 | borderColor: secondoryTextColor, 296 | marginTop: 20, 297 | }, 298 | tagline: { 299 | fontSize: 15, 300 | marginBottom: 15, 301 | color: primaryTextColor, 302 | }, 303 | taglineHeader: { 304 | fontSize: 25, 305 | marginBottom: 15, 306 | color: primaryTextColor, 307 | }, 308 | extraMargin: { 309 | marginTop: extraMarginValue, 310 | }, 311 | textCenter: { 312 | textAlign: 'center', 313 | }, 314 | alignCenter: { 315 | alignSelf: 'center', 316 | }, 317 | padding20: { 318 | padding: 20, 319 | }, 320 | padding10: { 321 | padding: 10, 322 | }, 323 | mt20: { 324 | marginTop: 20, 325 | }, 326 | mt10: { 327 | marginTop: 10, 328 | }, 329 | mt100: { 330 | marginTop: 100, 331 | }, 332 | mb20: { 333 | marginBottom: 20, 334 | }, 335 | mb10: { 336 | marginBottom: 10, 337 | }, 338 | paddingLeftValue: { 339 | paddingLeft: 10, 340 | }, 341 | strong: {}, 342 | primaryBlue: { 343 | color: primaryBlue, 344 | }, 345 | alignLeft: { 346 | textAlign: 'left', 347 | }, 348 | smallText: { 349 | color: primaryTextColor, 350 | fontSize: 12, 351 | alignSelf: 'center', 352 | marginTop: 5, 353 | }, 354 | small: { 355 | fontSize: 12, 356 | color: primaryTextColor, 357 | }, 358 | lh2: { 359 | lineHeight: 20, 360 | }, 361 | shadow: { 362 | shadowColor: '#444', 363 | shadowOffset: { width: 5, height: 5 }, 364 | shadowOpacity: 0.2, 365 | shadowRadius: 8, 366 | elevation: 1, 367 | }, 368 | paddingPseudo: { 369 | paddingBottom: 80, 370 | }, 371 | redText: { 372 | color: primaryRed, 373 | }, 374 | centreItems: { 375 | justifyContent: 'center', 376 | alignItems: 'center', 377 | }, 378 | }) 379 | -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-minimal -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- 1 | # Components 2 | 3 | **Button** 4 | 5 | ```sh 6 | 7 | 8 | ``` 9 | text property can be customized to change the text that appears on the button 10 | 11 | 12 | **Chat Bubble** 13 | 14 | ```sh 15 | 16 | ``` 17 | text property can be customized to change the text 18 | 19 | 20 | **Pills** 21 | 22 | ```sh 23 | 24 | 25 | ``` 26 | text property can be customized to change the text 27 | 28 | 29 | **Input field** 30 | 31 | ```sh 32 | 33 | ``` 34 | placeholder property can be customized to change the placeholder text 35 | 36 | **Loader** 37 | 38 | ```sh 39 | 40 | ``` 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | --------------------------------------------------------------------------------