├── .babelrc ├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── README.md ├── __tests__ ├── index.android.js └── index.ios.js ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ └── fonts │ │ │ ├── Entypo.ttf │ │ │ ├── EvilIcons.ttf │ │ │ ├── FontAwesome.ttf │ │ │ ├── Foundation.ttf │ │ │ ├── Ionicons.ttf │ │ │ ├── MaterialCommunityIcons.ttf │ │ │ ├── MaterialIcons.ttf │ │ │ ├── Octicons.ttf │ │ │ ├── SimpleLineIcons.ttf │ │ │ └── Zocial.ttf │ │ ├── java │ │ └── com │ │ │ └── todo │ │ │ ├── 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 ├── index.android.js ├── index.ios.js ├── ios ├── todo-tvOS │ └── Info.plist ├── todo-tvOSTests │ └── Info.plist ├── todo.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── todo-tvOS.xcscheme │ │ └── todo.xcscheme ├── todo │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── todoTests │ ├── Info.plist │ └── todoTests.m ├── package.json ├── screenshot.png ├── src ├── components │ ├── Menu │ │ ├── View.js │ │ ├── actions.js │ │ ├── components │ │ │ └── TodoListForm │ │ │ │ ├── View.js │ │ │ │ ├── actions.js │ │ │ │ └── index.js │ │ └── index.js │ └── NavBar.js ├── epics │ └── index.js ├── helpers │ └── index.js ├── index.js ├── reducers │ ├── currentList.js │ ├── drawerOpen.js │ ├── index.js │ ├── login.js │ ├── todoLists.js │ ├── todos.js │ ├── token.js │ └── user.js ├── routes │ ├── Home │ │ ├── View.js │ │ ├── actions.js │ │ ├── components │ │ │ ├── ShareForm.js │ │ │ ├── TodoForm.js │ │ │ └── TodoItem.js │ │ └── index.js │ ├── Loading │ │ ├── View.js │ │ ├── actions.js │ │ └── index.js │ ├── Login │ │ ├── View.js │ │ ├── actions.js │ │ └── index.js │ ├── Signup │ │ ├── View.js │ │ └── index.js │ └── index.js └── store.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | .*/Libraries/react-native/ReactNative.js 16 | 17 | [include] 18 | 19 | [libs] 20 | node_modules/react-native/Libraries/react-native/react-native-interface.js 21 | node_modules/react-native/flow 22 | flow/ 23 | 24 | [options] 25 | emoji=true 26 | 27 | module.system=haste 28 | 29 | experimental.strict_type_args=true 30 | 31 | munge_underscores=true 32 | 33 | 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' 34 | 35 | suppress_type=$FlowIssue 36 | suppress_type=$FlowFixMe 37 | suppress_type=$FixMe 38 | 39 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-8]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 40 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-8]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 41 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 42 | 43 | unsafe.enable_getters_and_setters=true 44 | 45 | [version] 46 | ^0.38.0 47 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 50 | 51 | fastlane/report.xml 52 | fastlane/Preview.html 53 | fastlane/screenshots 54 | 55 | .tern-port 56 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # React Native To Do List App 2 | 3 | ![screenshot](/screenshot.png) 4 | 5 | ## Built with 6 | 7 | * React Native 8 | * GraphQL (subscriptions) 9 | * Redux 10 | * RxJS (redux-observable) 11 | 12 | Uses this Feathersjs server as its backend: [https://github.com/benawad/react-native-todo-server](https://github.com/benawad/react-native-todo-server) 13 | -------------------------------------------------------------------------------- /__tests__/index.android.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.android.js'; 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 | -------------------------------------------------------------------------------- /__tests__/index.ios.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.ios.js'; 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 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | import re 2 | 3 | # To learn about Buck see [Docs](https://buckbuild.com/). 4 | # To run your application with Buck: 5 | # - install Buck 6 | # - `npm start` - to start the packager 7 | # - `cd android` 8 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 9 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 10 | # - `buck install -r android/app` - compile, install and run application 11 | # 12 | 13 | lib_deps = [] 14 | for jarfile in glob(['libs/*.jar']): 15 | name = 'jars__' + re.sub(r'^.*/([^/]+)\.jar$', r'\1', jarfile) 16 | lib_deps.append(':' + name) 17 | prebuilt_jar( 18 | name = name, 19 | binary_jar = jarfile, 20 | ) 21 | 22 | for aarfile in glob(['libs/*.aar']): 23 | name = 'aars__' + re.sub(r'^.*/([^/]+)\.aar$', r'\1', aarfile) 24 | lib_deps.append(':' + name) 25 | android_prebuilt_aar( 26 | name = name, 27 | aar = aarfile, 28 | ) 29 | 30 | android_library( 31 | name = 'all-libs', 32 | exported_deps = lib_deps 33 | ) 34 | 35 | android_library( 36 | name = 'app-code', 37 | srcs = glob([ 38 | 'src/main/java/**/*.java', 39 | ]), 40 | deps = [ 41 | ':all-libs', 42 | ':build_config', 43 | ':res', 44 | ], 45 | ) 46 | 47 | android_build_config( 48 | name = 'build_config', 49 | package = 'com.todo', 50 | ) 51 | 52 | android_resource( 53 | name = 'res', 54 | res = 'src/main/res', 55 | package = 'com.todo', 56 | ) 57 | 58 | android_binary( 59 | name = 'app', 60 | package_type = 'debug', 61 | manifest = 'src/main/AndroidManifest.xml', 62 | keystore = '//android/keystores:debug', 63 | deps = [ 64 | ':app-code', 65 | ], 66 | ) 67 | -------------------------------------------------------------------------------- /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 | * // the root of your project, i.e. where "package.json" lives 37 | * root: "../../", 38 | * 39 | * // where to put the JS bundle asset in debug mode 40 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 41 | * 42 | * // where to put the JS bundle asset in release mode 43 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 44 | * 45 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 46 | * // require('./image.png')), in debug mode 47 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 48 | * 49 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 50 | * // require('./image.png')), in release mode 51 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 52 | * 53 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 54 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 55 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 56 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 57 | * // for example, you might want to remove it from here. 58 | * inputExcludes: ["android/**", "ios/**"], 59 | * 60 | * // override which node gets called and with what additional arguments 61 | * nodeExecutableAndArgs: ["node"] 62 | * 63 | * // supply additional arguments to the packager 64 | * extraPackagerArgs: [] 65 | * ] 66 | */ 67 | 68 | apply from: "../../node_modules/react-native/react.gradle" 69 | 70 | /** 71 | * Set this to true to create two separate APKs instead of one: 72 | * - An APK that only works on ARM devices 73 | * - An APK that only works on x86 devices 74 | * The advantage is the size of the APK is reduced by about 4MB. 75 | * Upload all the APKs to the Play Store and people will download 76 | * the correct one based on the CPU architecture of their device. 77 | */ 78 | def enableSeparateBuildPerCPUArchitecture = false 79 | 80 | /** 81 | * Run Proguard to shrink the Java bytecode in release builds. 82 | */ 83 | def enableProguardInReleaseBuilds = false 84 | 85 | android { 86 | compileSdkVersion 23 87 | buildToolsVersion "23.0.1" 88 | 89 | defaultConfig { 90 | applicationId "com.todo" 91 | minSdkVersion 16 92 | targetSdkVersion 22 93 | versionCode 1 94 | versionName "1.0" 95 | ndk { 96 | abiFilters "armeabi-v7a", "x86" 97 | } 98 | } 99 | splits { 100 | abi { 101 | reset() 102 | enable enableSeparateBuildPerCPUArchitecture 103 | universalApk false // If true, also generate a universal APK 104 | include "armeabi-v7a", "x86" 105 | } 106 | } 107 | buildTypes { 108 | release { 109 | minifyEnabled enableProguardInReleaseBuilds 110 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 111 | } 112 | } 113 | // applicationVariants are e.g. debug, release 114 | applicationVariants.all { variant -> 115 | variant.outputs.each { output -> 116 | // For each separate APK per architecture, set a unique version code as described here: 117 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 118 | def versionCodes = ["armeabi-v7a":1, "x86":2] 119 | def abi = output.getFilter(OutputFile.ABI) 120 | if (abi != null) { // null for the universal-debug, universal-release variants 121 | output.versionCodeOverride = 122 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 123 | } 124 | } 125 | } 126 | } 127 | 128 | dependencies { 129 | compile project(':react-native-vector-icons') 130 | compile fileTree(dir: "libs", include: ["*.jar"]) 131 | compile "com.android.support:appcompat-v7:23.0.1" 132 | compile "com.facebook.react:react-native:+" // From node_modules 133 | } 134 | 135 | // Run this once to be able to run the application with BUCK 136 | // puts all compile dependencies into folder libs for BUCK to use 137 | task copyDownloadableDepsToLibs(type: Copy) { 138 | from configurations.compile 139 | into 'libs' 140 | } 141 | -------------------------------------------------------------------------------- /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 | # okhttp 54 | 55 | -keepattributes Signature 56 | -keepattributes *Annotation* 57 | -keep class okhttp3.** { *; } 58 | -keep interface okhttp3.** { *; } 59 | -dontwarn okhttp3.** 60 | 61 | # okio 62 | 63 | -keep class sun.misc.Unsafe { *; } 64 | -dontwarn java.nio.file.* 65 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 66 | -dontwarn okio.** 67 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /android/app/src/main/java/com/todo/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.todo; 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 "todo"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/todo/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.todo; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.oblador.vectoricons.VectorIconsPackage; 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 VectorIconsPackage() 28 | ); 29 | } 30 | }; 31 | 32 | @Override 33 | public ReactNativeHost getReactNativeHost() { 34 | return mReactNativeHost; 35 | } 36 | 37 | @Override 38 | public void onCreate() { 39 | super.onCreate(); 40 | SoLoader.init(this, /* native exopackage */ false); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | todo 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | 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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = 'debug', 3 | store = 'debug.keystore', 4 | properties = 'debug.keystore.properties', 5 | visibility = [ 6 | 'PUBLIC', 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'todo' 2 | include ':react-native-vector-icons' 3 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /index.android.js: -------------------------------------------------------------------------------- 1 | import { AppRegistry } from 'react-native'; 2 | import AppContainer from './src'; 3 | 4 | AppRegistry.registerComponent('todo', () => AppContainer); 5 | -------------------------------------------------------------------------------- /index.ios.js: -------------------------------------------------------------------------------- 1 | import { AppRegistry } from 'react-native'; 2 | import AppContainer from './src'; 3 | 4 | AppRegistry.registerComponent('todo', () => AppContainer); 5 | -------------------------------------------------------------------------------- /ios/todo-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /ios/todo-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/todo.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 /* todoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* todoTests.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 /* todoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* todoTests.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 | 5422A2B188FB40FB9632383A /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C3423BC4E9194EBDB226895C /* libRNVectorIcons.a */; }; 39 | A9BEF79BC664475AA8B0AFF6 /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 28D7099DD86E450084FD37CF /* Entypo.ttf */; }; 40 | 4F6E3911925442E6BF75BB9E /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D9267EFBCA764D868FC83AD7 /* EvilIcons.ttf */; }; 41 | 3AB2DA7E962443FBBB4D8FA6 /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D000AE107B0546AEAF76EB93 /* FontAwesome.ttf */; }; 42 | 030032E5C6E340079B7D366F /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 13D82E22253848BB90B2D676 /* Foundation.ttf */; }; 43 | 103EDC3B186241F3B285DBB6 /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 1D8D07F314E84DF295471A0B /* Ionicons.ttf */; }; 44 | B3B338BBD1F14CF88FD82366 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F6DB12D182804D5A9AA28976 /* MaterialCommunityIcons.ttf */; }; 45 | 718E3C07F3F3406DBB2A13F7 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7857BDB351E543A6B75C7037 /* MaterialIcons.ttf */; }; 46 | 4C8F582A8D9041E2AC4D76C6 /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 71813A2F51AB4AE2A9BCA26A /* Octicons.ttf */; }; 47 | 6091EAEC10E349559530C031 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 1A7DA8AA3A344BE7B37DB402 /* SimpleLineIcons.ttf */; }; 48 | 045CDA0FF6BA407A95364FAA /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 46A7FBAAB41A4ECB909EF70B /* Zocial.ttf */; }; 49 | /* End PBXBuildFile section */ 50 | 51 | /* Begin PBXContainerItemProxy section */ 52 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 53 | isa = PBXContainerItemProxy; 54 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 55 | proxyType = 2; 56 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 57 | remoteInfo = RCTActionSheet; 58 | }; 59 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 60 | isa = PBXContainerItemProxy; 61 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 62 | proxyType = 2; 63 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 64 | remoteInfo = RCTGeolocation; 65 | }; 66 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 67 | isa = PBXContainerItemProxy; 68 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 69 | proxyType = 2; 70 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 71 | remoteInfo = RCTImage; 72 | }; 73 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 74 | isa = PBXContainerItemProxy; 75 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 76 | proxyType = 2; 77 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 78 | remoteInfo = RCTNetwork; 79 | }; 80 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 81 | isa = PBXContainerItemProxy; 82 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 83 | proxyType = 2; 84 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 85 | remoteInfo = RCTVibration; 86 | }; 87 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 88 | isa = PBXContainerItemProxy; 89 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 90 | proxyType = 1; 91 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 92 | remoteInfo = todo; 93 | }; 94 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 95 | isa = PBXContainerItemProxy; 96 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 97 | proxyType = 2; 98 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 99 | remoteInfo = RCTSettings; 100 | }; 101 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 102 | isa = PBXContainerItemProxy; 103 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 104 | proxyType = 2; 105 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 106 | remoteInfo = RCTWebSocket; 107 | }; 108 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 109 | isa = PBXContainerItemProxy; 110 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 111 | proxyType = 2; 112 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 113 | remoteInfo = React; 114 | }; 115 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 116 | isa = PBXContainerItemProxy; 117 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 118 | proxyType = 1; 119 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 120 | remoteInfo = "todo-tvOS"; 121 | }; 122 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 123 | isa = PBXContainerItemProxy; 124 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 125 | proxyType = 2; 126 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 127 | remoteInfo = "RCTImage-tvOS"; 128 | }; 129 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 130 | isa = PBXContainerItemProxy; 131 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 132 | proxyType = 2; 133 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 134 | remoteInfo = "RCTLinking-tvOS"; 135 | }; 136 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 137 | isa = PBXContainerItemProxy; 138 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 139 | proxyType = 2; 140 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 141 | remoteInfo = "RCTNetwork-tvOS"; 142 | }; 143 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 144 | isa = PBXContainerItemProxy; 145 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 146 | proxyType = 2; 147 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 148 | remoteInfo = "RCTSettings-tvOS"; 149 | }; 150 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 151 | isa = PBXContainerItemProxy; 152 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 153 | proxyType = 2; 154 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 155 | remoteInfo = "RCTText-tvOS"; 156 | }; 157 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 158 | isa = PBXContainerItemProxy; 159 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 160 | proxyType = 2; 161 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 162 | remoteInfo = "RCTWebSocket-tvOS"; 163 | }; 164 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 165 | isa = PBXContainerItemProxy; 166 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 167 | proxyType = 2; 168 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 169 | remoteInfo = "React-tvOS"; 170 | }; 171 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 172 | isa = PBXContainerItemProxy; 173 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 174 | proxyType = 2; 175 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 176 | remoteInfo = yoga; 177 | }; 178 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 179 | isa = PBXContainerItemProxy; 180 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 181 | proxyType = 2; 182 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 183 | remoteInfo = "yoga-tvOS"; 184 | }; 185 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 186 | isa = PBXContainerItemProxy; 187 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 188 | proxyType = 2; 189 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 190 | remoteInfo = cxxreact; 191 | }; 192 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 193 | isa = PBXContainerItemProxy; 194 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 195 | proxyType = 2; 196 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 197 | remoteInfo = "cxxreact-tvOS"; 198 | }; 199 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 200 | isa = PBXContainerItemProxy; 201 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 202 | proxyType = 2; 203 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 204 | remoteInfo = jschelpers; 205 | }; 206 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 207 | isa = PBXContainerItemProxy; 208 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 209 | proxyType = 2; 210 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 211 | remoteInfo = "jschelpers-tvOS"; 212 | }; 213 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 214 | isa = PBXContainerItemProxy; 215 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 216 | proxyType = 2; 217 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 218 | remoteInfo = RCTAnimation; 219 | }; 220 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 221 | isa = PBXContainerItemProxy; 222 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 223 | proxyType = 2; 224 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 225 | remoteInfo = "RCTAnimation-tvOS"; 226 | }; 227 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 228 | isa = PBXContainerItemProxy; 229 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 230 | proxyType = 2; 231 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 232 | remoteInfo = RCTLinking; 233 | }; 234 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 235 | isa = PBXContainerItemProxy; 236 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 237 | proxyType = 2; 238 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 239 | remoteInfo = RCTText; 240 | }; 241 | /* End PBXContainerItemProxy section */ 242 | 243 | /* Begin PBXFileReference section */ 244 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 245 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 246 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 247 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 248 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 249 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 250 | 00E356EE1AD99517003FC87E /* todoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = todoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 251 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 252 | 00E356F21AD99517003FC87E /* todoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = todoTests.m; sourceTree = ""; }; 253 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 254 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 255 | 13B07F961A680F5B00A75B9A /* todo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = todo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 256 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = todo/AppDelegate.h; sourceTree = ""; }; 257 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = todo/AppDelegate.m; sourceTree = ""; }; 258 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 259 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = todo/Images.xcassets; sourceTree = ""; }; 260 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = todo/Info.plist; sourceTree = ""; }; 261 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = todo/main.m; sourceTree = ""; }; 262 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 263 | 2D02E47B1E0B4A5D006451C7 /* todo-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "todo-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 264 | 2D02E4901E0B4A5D006451C7 /* todo-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "todo-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 265 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 266 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 267 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 268 | BD5E81B02F334855AB011088 /* RNVectorIcons.xcodeproj */ = {isa = PBXFileReference; name = "RNVectorIcons.xcodeproj"; path = "../node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 269 | C3423BC4E9194EBDB226895C /* libRNVectorIcons.a */ = {isa = PBXFileReference; name = "libRNVectorIcons.a"; path = "libRNVectorIcons.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 270 | 28D7099DD86E450084FD37CF /* Entypo.ttf */ = {isa = PBXFileReference; name = "Entypo.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 271 | D9267EFBCA764D868FC83AD7 /* EvilIcons.ttf */ = {isa = PBXFileReference; name = "EvilIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 272 | D000AE107B0546AEAF76EB93 /* FontAwesome.ttf */ = {isa = PBXFileReference; name = "FontAwesome.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 273 | 13D82E22253848BB90B2D676 /* Foundation.ttf */ = {isa = PBXFileReference; name = "Foundation.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 274 | 1D8D07F314E84DF295471A0B /* Ionicons.ttf */ = {isa = PBXFileReference; name = "Ionicons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 275 | F6DB12D182804D5A9AA28976 /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; name = "MaterialCommunityIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 276 | 7857BDB351E543A6B75C7037 /* MaterialIcons.ttf */ = {isa = PBXFileReference; name = "MaterialIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 277 | 71813A2F51AB4AE2A9BCA26A /* Octicons.ttf */ = {isa = PBXFileReference; name = "Octicons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 278 | 1A7DA8AA3A344BE7B37DB402 /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; name = "SimpleLineIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 279 | 46A7FBAAB41A4ECB909EF70B /* Zocial.ttf */ = {isa = PBXFileReference; name = "Zocial.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 280 | /* End PBXFileReference section */ 281 | 282 | /* Begin PBXFrameworksBuildPhase section */ 283 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 284 | isa = PBXFrameworksBuildPhase; 285 | buildActionMask = 2147483647; 286 | files = ( 287 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 288 | ); 289 | runOnlyForDeploymentPostprocessing = 0; 290 | }; 291 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 292 | isa = PBXFrameworksBuildPhase; 293 | buildActionMask = 2147483647; 294 | files = ( 295 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 296 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 297 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 298 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 299 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 300 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 301 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 302 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 303 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 304 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 305 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 306 | 5422A2B188FB40FB9632383A /* libRNVectorIcons.a in Frameworks */, 307 | ); 308 | runOnlyForDeploymentPostprocessing = 0; 309 | }; 310 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 311 | isa = PBXFrameworksBuildPhase; 312 | buildActionMask = 2147483647; 313 | files = ( 314 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, 315 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */, 316 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 317 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 318 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 319 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 320 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 321 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 322 | ); 323 | runOnlyForDeploymentPostprocessing = 0; 324 | }; 325 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 326 | isa = PBXFrameworksBuildPhase; 327 | buildActionMask = 2147483647; 328 | files = ( 329 | ); 330 | runOnlyForDeploymentPostprocessing = 0; 331 | }; 332 | /* End PBXFrameworksBuildPhase section */ 333 | 334 | /* Begin PBXGroup section */ 335 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 336 | isa = PBXGroup; 337 | children = ( 338 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 339 | ); 340 | name = Products; 341 | sourceTree = ""; 342 | }; 343 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 344 | isa = PBXGroup; 345 | children = ( 346 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 347 | ); 348 | name = Products; 349 | sourceTree = ""; 350 | }; 351 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 352 | isa = PBXGroup; 353 | children = ( 354 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 355 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 356 | ); 357 | name = Products; 358 | sourceTree = ""; 359 | }; 360 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 361 | isa = PBXGroup; 362 | children = ( 363 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 364 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 365 | ); 366 | name = Products; 367 | sourceTree = ""; 368 | }; 369 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 370 | isa = PBXGroup; 371 | children = ( 372 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 373 | ); 374 | name = Products; 375 | sourceTree = ""; 376 | }; 377 | 00E356EF1AD99517003FC87E /* todoTests */ = { 378 | isa = PBXGroup; 379 | children = ( 380 | 00E356F21AD99517003FC87E /* todoTests.m */, 381 | 00E356F01AD99517003FC87E /* Supporting Files */, 382 | ); 383 | path = todoTests; 384 | sourceTree = ""; 385 | }; 386 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 387 | isa = PBXGroup; 388 | children = ( 389 | 00E356F11AD99517003FC87E /* Info.plist */, 390 | ); 391 | name = "Supporting Files"; 392 | sourceTree = ""; 393 | }; 394 | 139105B71AF99BAD00B5F7CC /* Products */ = { 395 | isa = PBXGroup; 396 | children = ( 397 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 398 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 399 | ); 400 | name = Products; 401 | sourceTree = ""; 402 | }; 403 | 139FDEE71B06529A00C62182 /* Products */ = { 404 | isa = PBXGroup; 405 | children = ( 406 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 407 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 408 | ); 409 | name = Products; 410 | sourceTree = ""; 411 | }; 412 | 13B07FAE1A68108700A75B9A /* todo */ = { 413 | isa = PBXGroup; 414 | children = ( 415 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 416 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 417 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 418 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 419 | 13B07FB61A68108700A75B9A /* Info.plist */, 420 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 421 | 13B07FB71A68108700A75B9A /* main.m */, 422 | ); 423 | name = todo; 424 | sourceTree = ""; 425 | }; 426 | 146834001AC3E56700842450 /* Products */ = { 427 | isa = PBXGroup; 428 | children = ( 429 | 146834041AC3E56700842450 /* libReact.a */, 430 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 431 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 432 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 433 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 434 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 435 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 436 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 437 | ); 438 | name = Products; 439 | sourceTree = ""; 440 | }; 441 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 442 | isa = PBXGroup; 443 | children = ( 444 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 445 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */, 446 | ); 447 | name = Products; 448 | sourceTree = ""; 449 | }; 450 | 78C398B11ACF4ADC00677621 /* Products */ = { 451 | isa = PBXGroup; 452 | children = ( 453 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 454 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 455 | ); 456 | name = Products; 457 | sourceTree = ""; 458 | }; 459 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 460 | isa = PBXGroup; 461 | children = ( 462 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 463 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 464 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 465 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 466 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 467 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 468 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 469 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 470 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 471 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 472 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 473 | BD5E81B02F334855AB011088 /* RNVectorIcons.xcodeproj */, 474 | ); 475 | name = Libraries; 476 | sourceTree = ""; 477 | }; 478 | 832341B11AAA6A8300B99B32 /* Products */ = { 479 | isa = PBXGroup; 480 | children = ( 481 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 482 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 483 | ); 484 | name = Products; 485 | sourceTree = ""; 486 | }; 487 | 83CBB9F61A601CBA00E9B192 = { 488 | isa = PBXGroup; 489 | children = ( 490 | 13B07FAE1A68108700A75B9A /* todo */, 491 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 492 | 00E356EF1AD99517003FC87E /* todoTests */, 493 | 83CBBA001A601CBA00E9B192 /* Products */, 494 | 785799EFE5B64FCB85654502 /* Resources */, 495 | ); 496 | indentWidth = 2; 497 | sourceTree = ""; 498 | tabWidth = 2; 499 | }; 500 | 83CBBA001A601CBA00E9B192 /* Products */ = { 501 | isa = PBXGroup; 502 | children = ( 503 | 13B07F961A680F5B00A75B9A /* todo.app */, 504 | 00E356EE1AD99517003FC87E /* todoTests.xctest */, 505 | 2D02E47B1E0B4A5D006451C7 /* todo-tvOS.app */, 506 | 2D02E4901E0B4A5D006451C7 /* todo-tvOSTests.xctest */, 507 | ); 508 | name = Products; 509 | sourceTree = ""; 510 | }; 511 | 785799EFE5B64FCB85654502 /* Resources */ = { 512 | isa = PBXGroup; 513 | children = ( 514 | 28D7099DD86E450084FD37CF /* Entypo.ttf */, 515 | D9267EFBCA764D868FC83AD7 /* EvilIcons.ttf */, 516 | D000AE107B0546AEAF76EB93 /* FontAwesome.ttf */, 517 | 13D82E22253848BB90B2D676 /* Foundation.ttf */, 518 | 1D8D07F314E84DF295471A0B /* Ionicons.ttf */, 519 | F6DB12D182804D5A9AA28976 /* MaterialCommunityIcons.ttf */, 520 | 7857BDB351E543A6B75C7037 /* MaterialIcons.ttf */, 521 | 71813A2F51AB4AE2A9BCA26A /* Octicons.ttf */, 522 | 1A7DA8AA3A344BE7B37DB402 /* SimpleLineIcons.ttf */, 523 | 46A7FBAAB41A4ECB909EF70B /* Zocial.ttf */, 524 | ); 525 | name = Resources; 526 | path = ""; 527 | sourceTree = ""; 528 | }; 529 | /* End PBXGroup section */ 530 | 531 | /* Begin PBXNativeTarget section */ 532 | 00E356ED1AD99517003FC87E /* todoTests */ = { 533 | isa = PBXNativeTarget; 534 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "todoTests" */; 535 | buildPhases = ( 536 | 00E356EA1AD99517003FC87E /* Sources */, 537 | 00E356EB1AD99517003FC87E /* Frameworks */, 538 | 00E356EC1AD99517003FC87E /* Resources */, 539 | ); 540 | buildRules = ( 541 | ); 542 | dependencies = ( 543 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 544 | ); 545 | name = todoTests; 546 | productName = todoTests; 547 | productReference = 00E356EE1AD99517003FC87E /* todoTests.xctest */; 548 | productType = "com.apple.product-type.bundle.unit-test"; 549 | }; 550 | 13B07F861A680F5B00A75B9A /* todo */ = { 551 | isa = PBXNativeTarget; 552 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "todo" */; 553 | buildPhases = ( 554 | 13B07F871A680F5B00A75B9A /* Sources */, 555 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 556 | 13B07F8E1A680F5B00A75B9A /* Resources */, 557 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 558 | ); 559 | buildRules = ( 560 | ); 561 | dependencies = ( 562 | ); 563 | name = todo; 564 | productName = "Hello World"; 565 | productReference = 13B07F961A680F5B00A75B9A /* todo.app */; 566 | productType = "com.apple.product-type.application"; 567 | }; 568 | 2D02E47A1E0B4A5D006451C7 /* todo-tvOS */ = { 569 | isa = PBXNativeTarget; 570 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "todo-tvOS" */; 571 | buildPhases = ( 572 | 2D02E4771E0B4A5D006451C7 /* Sources */, 573 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 574 | 2D02E4791E0B4A5D006451C7 /* Resources */, 575 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 576 | ); 577 | buildRules = ( 578 | ); 579 | dependencies = ( 580 | ); 581 | name = "todo-tvOS"; 582 | productName = "todo-tvOS"; 583 | productReference = 2D02E47B1E0B4A5D006451C7 /* todo-tvOS.app */; 584 | productType = "com.apple.product-type.application"; 585 | }; 586 | 2D02E48F1E0B4A5D006451C7 /* todo-tvOSTests */ = { 587 | isa = PBXNativeTarget; 588 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "todo-tvOSTests" */; 589 | buildPhases = ( 590 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 591 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 592 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 593 | ); 594 | buildRules = ( 595 | ); 596 | dependencies = ( 597 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 598 | ); 599 | name = "todo-tvOSTests"; 600 | productName = "todo-tvOSTests"; 601 | productReference = 2D02E4901E0B4A5D006451C7 /* todo-tvOSTests.xctest */; 602 | productType = "com.apple.product-type.bundle.unit-test"; 603 | }; 604 | /* End PBXNativeTarget section */ 605 | 606 | /* Begin PBXProject section */ 607 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 608 | isa = PBXProject; 609 | attributes = { 610 | LastUpgradeCheck = 610; 611 | ORGANIZATIONNAME = Facebook; 612 | TargetAttributes = { 613 | 00E356ED1AD99517003FC87E = { 614 | CreatedOnToolsVersion = 6.2; 615 | TestTargetID = 13B07F861A680F5B00A75B9A; 616 | }; 617 | 2D02E47A1E0B4A5D006451C7 = { 618 | CreatedOnToolsVersion = 8.2.1; 619 | ProvisioningStyle = Automatic; 620 | }; 621 | 2D02E48F1E0B4A5D006451C7 = { 622 | CreatedOnToolsVersion = 8.2.1; 623 | ProvisioningStyle = Automatic; 624 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 625 | }; 626 | }; 627 | }; 628 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "todo" */; 629 | compatibilityVersion = "Xcode 3.2"; 630 | developmentRegion = English; 631 | hasScannedForEncodings = 0; 632 | knownRegions = ( 633 | en, 634 | Base, 635 | ); 636 | mainGroup = 83CBB9F61A601CBA00E9B192; 637 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 638 | projectDirPath = ""; 639 | projectReferences = ( 640 | { 641 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 642 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 643 | }, 644 | { 645 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 646 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 647 | }, 648 | { 649 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 650 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 651 | }, 652 | { 653 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 654 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 655 | }, 656 | { 657 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 658 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 659 | }, 660 | { 661 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 662 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 663 | }, 664 | { 665 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 666 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 667 | }, 668 | { 669 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 670 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 671 | }, 672 | { 673 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 674 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 675 | }, 676 | { 677 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 678 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 679 | }, 680 | { 681 | ProductGroup = 146834001AC3E56700842450 /* Products */; 682 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 683 | }, 684 | ); 685 | projectRoot = ""; 686 | targets = ( 687 | 13B07F861A680F5B00A75B9A /* todo */, 688 | 00E356ED1AD99517003FC87E /* todoTests */, 689 | 2D02E47A1E0B4A5D006451C7 /* todo-tvOS */, 690 | 2D02E48F1E0B4A5D006451C7 /* todo-tvOSTests */, 691 | ); 692 | }; 693 | /* End PBXProject section */ 694 | 695 | /* Begin PBXReferenceProxy section */ 696 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 697 | isa = PBXReferenceProxy; 698 | fileType = archive.ar; 699 | path = libRCTActionSheet.a; 700 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 701 | sourceTree = BUILT_PRODUCTS_DIR; 702 | }; 703 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 704 | isa = PBXReferenceProxy; 705 | fileType = archive.ar; 706 | path = libRCTGeolocation.a; 707 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 708 | sourceTree = BUILT_PRODUCTS_DIR; 709 | }; 710 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 711 | isa = PBXReferenceProxy; 712 | fileType = archive.ar; 713 | path = libRCTImage.a; 714 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 715 | sourceTree = BUILT_PRODUCTS_DIR; 716 | }; 717 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 718 | isa = PBXReferenceProxy; 719 | fileType = archive.ar; 720 | path = libRCTNetwork.a; 721 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 722 | sourceTree = BUILT_PRODUCTS_DIR; 723 | }; 724 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 725 | isa = PBXReferenceProxy; 726 | fileType = archive.ar; 727 | path = libRCTVibration.a; 728 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 729 | sourceTree = BUILT_PRODUCTS_DIR; 730 | }; 731 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 732 | isa = PBXReferenceProxy; 733 | fileType = archive.ar; 734 | path = libRCTSettings.a; 735 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 736 | sourceTree = BUILT_PRODUCTS_DIR; 737 | }; 738 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 739 | isa = PBXReferenceProxy; 740 | fileType = archive.ar; 741 | path = libRCTWebSocket.a; 742 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 743 | sourceTree = BUILT_PRODUCTS_DIR; 744 | }; 745 | 146834041AC3E56700842450 /* libReact.a */ = { 746 | isa = PBXReferenceProxy; 747 | fileType = archive.ar; 748 | path = libReact.a; 749 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 750 | sourceTree = BUILT_PRODUCTS_DIR; 751 | }; 752 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 753 | isa = PBXReferenceProxy; 754 | fileType = archive.ar; 755 | path = "libRCTImage-tvOS.a"; 756 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 757 | sourceTree = BUILT_PRODUCTS_DIR; 758 | }; 759 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 760 | isa = PBXReferenceProxy; 761 | fileType = archive.ar; 762 | path = "libRCTLinking-tvOS.a"; 763 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 764 | sourceTree = BUILT_PRODUCTS_DIR; 765 | }; 766 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 767 | isa = PBXReferenceProxy; 768 | fileType = archive.ar; 769 | path = "libRCTNetwork-tvOS.a"; 770 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 771 | sourceTree = BUILT_PRODUCTS_DIR; 772 | }; 773 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 774 | isa = PBXReferenceProxy; 775 | fileType = archive.ar; 776 | path = "libRCTSettings-tvOS.a"; 777 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 778 | sourceTree = BUILT_PRODUCTS_DIR; 779 | }; 780 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 781 | isa = PBXReferenceProxy; 782 | fileType = archive.ar; 783 | path = "libRCTText-tvOS.a"; 784 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 785 | sourceTree = BUILT_PRODUCTS_DIR; 786 | }; 787 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 788 | isa = PBXReferenceProxy; 789 | fileType = archive.ar; 790 | path = "libRCTWebSocket-tvOS.a"; 791 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 792 | sourceTree = BUILT_PRODUCTS_DIR; 793 | }; 794 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 795 | isa = PBXReferenceProxy; 796 | fileType = archive.ar; 797 | path = libReact.a; 798 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 799 | sourceTree = BUILT_PRODUCTS_DIR; 800 | }; 801 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 802 | isa = PBXReferenceProxy; 803 | fileType = archive.ar; 804 | path = libyoga.a; 805 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 806 | sourceTree = BUILT_PRODUCTS_DIR; 807 | }; 808 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 809 | isa = PBXReferenceProxy; 810 | fileType = archive.ar; 811 | path = libyoga.a; 812 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 813 | sourceTree = BUILT_PRODUCTS_DIR; 814 | }; 815 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 816 | isa = PBXReferenceProxy; 817 | fileType = archive.ar; 818 | path = libcxxreact.a; 819 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 820 | sourceTree = BUILT_PRODUCTS_DIR; 821 | }; 822 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 823 | isa = PBXReferenceProxy; 824 | fileType = archive.ar; 825 | path = libcxxreact.a; 826 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 827 | sourceTree = BUILT_PRODUCTS_DIR; 828 | }; 829 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 830 | isa = PBXReferenceProxy; 831 | fileType = archive.ar; 832 | path = libjschelpers.a; 833 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 834 | sourceTree = BUILT_PRODUCTS_DIR; 835 | }; 836 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 837 | isa = PBXReferenceProxy; 838 | fileType = archive.ar; 839 | path = libjschelpers.a; 840 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 841 | sourceTree = BUILT_PRODUCTS_DIR; 842 | }; 843 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 844 | isa = PBXReferenceProxy; 845 | fileType = archive.ar; 846 | path = libRCTAnimation.a; 847 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 848 | sourceTree = BUILT_PRODUCTS_DIR; 849 | }; 850 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */ = { 851 | isa = PBXReferenceProxy; 852 | fileType = archive.ar; 853 | path = "libRCTAnimation-tvOS.a"; 854 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 855 | sourceTree = BUILT_PRODUCTS_DIR; 856 | }; 857 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 858 | isa = PBXReferenceProxy; 859 | fileType = archive.ar; 860 | path = libRCTLinking.a; 861 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 862 | sourceTree = BUILT_PRODUCTS_DIR; 863 | }; 864 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 865 | isa = PBXReferenceProxy; 866 | fileType = archive.ar; 867 | path = libRCTText.a; 868 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 869 | sourceTree = BUILT_PRODUCTS_DIR; 870 | }; 871 | /* End PBXReferenceProxy section */ 872 | 873 | /* Begin PBXResourcesBuildPhase section */ 874 | 00E356EC1AD99517003FC87E /* Resources */ = { 875 | isa = PBXResourcesBuildPhase; 876 | buildActionMask = 2147483647; 877 | files = ( 878 | ); 879 | runOnlyForDeploymentPostprocessing = 0; 880 | }; 881 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 882 | isa = PBXResourcesBuildPhase; 883 | buildActionMask = 2147483647; 884 | files = ( 885 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 886 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 887 | A9BEF79BC664475AA8B0AFF6 /* Entypo.ttf in Resources */, 888 | 4F6E3911925442E6BF75BB9E /* EvilIcons.ttf in Resources */, 889 | 3AB2DA7E962443FBBB4D8FA6 /* FontAwesome.ttf in Resources */, 890 | 030032E5C6E340079B7D366F /* Foundation.ttf in Resources */, 891 | 103EDC3B186241F3B285DBB6 /* Ionicons.ttf in Resources */, 892 | B3B338BBD1F14CF88FD82366 /* MaterialCommunityIcons.ttf in Resources */, 893 | 718E3C07F3F3406DBB2A13F7 /* MaterialIcons.ttf in Resources */, 894 | 4C8F582A8D9041E2AC4D76C6 /* Octicons.ttf in Resources */, 895 | 6091EAEC10E349559530C031 /* SimpleLineIcons.ttf in Resources */, 896 | 045CDA0FF6BA407A95364FAA /* Zocial.ttf in Resources */, 897 | ); 898 | runOnlyForDeploymentPostprocessing = 0; 899 | }; 900 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 901 | isa = PBXResourcesBuildPhase; 902 | buildActionMask = 2147483647; 903 | files = ( 904 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 905 | ); 906 | runOnlyForDeploymentPostprocessing = 0; 907 | }; 908 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 909 | isa = PBXResourcesBuildPhase; 910 | buildActionMask = 2147483647; 911 | files = ( 912 | ); 913 | runOnlyForDeploymentPostprocessing = 0; 914 | }; 915 | /* End PBXResourcesBuildPhase section */ 916 | 917 | /* Begin PBXShellScriptBuildPhase section */ 918 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 919 | isa = PBXShellScriptBuildPhase; 920 | buildActionMask = 2147483647; 921 | files = ( 922 | ); 923 | inputPaths = ( 924 | ); 925 | name = "Bundle React Native code and images"; 926 | outputPaths = ( 927 | ); 928 | runOnlyForDeploymentPostprocessing = 0; 929 | shellPath = /bin/sh; 930 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 931 | }; 932 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 933 | isa = PBXShellScriptBuildPhase; 934 | buildActionMask = 2147483647; 935 | files = ( 936 | ); 937 | inputPaths = ( 938 | ); 939 | name = "Bundle React Native Code And Images"; 940 | outputPaths = ( 941 | ); 942 | runOnlyForDeploymentPostprocessing = 0; 943 | shellPath = /bin/sh; 944 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 945 | }; 946 | /* End PBXShellScriptBuildPhase section */ 947 | 948 | /* Begin PBXSourcesBuildPhase section */ 949 | 00E356EA1AD99517003FC87E /* Sources */ = { 950 | isa = PBXSourcesBuildPhase; 951 | buildActionMask = 2147483647; 952 | files = ( 953 | 00E356F31AD99517003FC87E /* todoTests.m in Sources */, 954 | ); 955 | runOnlyForDeploymentPostprocessing = 0; 956 | }; 957 | 13B07F871A680F5B00A75B9A /* Sources */ = { 958 | isa = PBXSourcesBuildPhase; 959 | buildActionMask = 2147483647; 960 | files = ( 961 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 962 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 963 | ); 964 | runOnlyForDeploymentPostprocessing = 0; 965 | }; 966 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 967 | isa = PBXSourcesBuildPhase; 968 | buildActionMask = 2147483647; 969 | files = ( 970 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 971 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 972 | ); 973 | runOnlyForDeploymentPostprocessing = 0; 974 | }; 975 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 976 | isa = PBXSourcesBuildPhase; 977 | buildActionMask = 2147483647; 978 | files = ( 979 | 2DCD954D1E0B4F2C00145EB5 /* todoTests.m in Sources */, 980 | ); 981 | runOnlyForDeploymentPostprocessing = 0; 982 | }; 983 | /* End PBXSourcesBuildPhase section */ 984 | 985 | /* Begin PBXTargetDependency section */ 986 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 987 | isa = PBXTargetDependency; 988 | target = 13B07F861A680F5B00A75B9A /* todo */; 989 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 990 | }; 991 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 992 | isa = PBXTargetDependency; 993 | target = 2D02E47A1E0B4A5D006451C7 /* todo-tvOS */; 994 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 995 | }; 996 | /* End PBXTargetDependency section */ 997 | 998 | /* Begin PBXVariantGroup section */ 999 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1000 | isa = PBXVariantGroup; 1001 | children = ( 1002 | 13B07FB21A68108700A75B9A /* Base */, 1003 | ); 1004 | name = LaunchScreen.xib; 1005 | path = todo; 1006 | sourceTree = ""; 1007 | }; 1008 | /* End PBXVariantGroup section */ 1009 | 1010 | /* Begin XCBuildConfiguration section */ 1011 | 00E356F61AD99517003FC87E /* Debug */ = { 1012 | isa = XCBuildConfiguration; 1013 | buildSettings = { 1014 | BUNDLE_LOADER = "$(TEST_HOST)"; 1015 | GCC_PREPROCESSOR_DEFINITIONS = ( 1016 | "DEBUG=1", 1017 | "$(inherited)", 1018 | ); 1019 | INFOPLIST_FILE = todoTests/Info.plist; 1020 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1021 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1022 | OTHER_LDFLAGS = ( 1023 | "-ObjC", 1024 | "-lc++", 1025 | ); 1026 | PRODUCT_NAME = "$(TARGET_NAME)"; 1027 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/todo.app/todo"; 1028 | LIBRARY_SEARCH_PATHS = ( 1029 | "$(inherited)", 1030 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1031 | ); 1032 | HEADER_SEARCH_PATHS = ( 1033 | "$(inherited)", 1034 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1035 | ); 1036 | }; 1037 | name = Debug; 1038 | }; 1039 | 00E356F71AD99517003FC87E /* Release */ = { 1040 | isa = XCBuildConfiguration; 1041 | buildSettings = { 1042 | BUNDLE_LOADER = "$(TEST_HOST)"; 1043 | COPY_PHASE_STRIP = NO; 1044 | INFOPLIST_FILE = todoTests/Info.plist; 1045 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1046 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1047 | OTHER_LDFLAGS = ( 1048 | "-ObjC", 1049 | "-lc++", 1050 | ); 1051 | PRODUCT_NAME = "$(TARGET_NAME)"; 1052 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/todo.app/todo"; 1053 | LIBRARY_SEARCH_PATHS = ( 1054 | "$(inherited)", 1055 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1056 | ); 1057 | HEADER_SEARCH_PATHS = ( 1058 | "$(inherited)", 1059 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1060 | ); 1061 | }; 1062 | name = Release; 1063 | }; 1064 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1065 | isa = XCBuildConfiguration; 1066 | buildSettings = { 1067 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1068 | CURRENT_PROJECT_VERSION = 1; 1069 | DEAD_CODE_STRIPPING = NO; 1070 | INFOPLIST_FILE = todo/Info.plist; 1071 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1072 | OTHER_LDFLAGS = ( 1073 | "$(inherited)", 1074 | "-ObjC", 1075 | "-lc++", 1076 | ); 1077 | PRODUCT_NAME = todo; 1078 | VERSIONING_SYSTEM = "apple-generic"; 1079 | HEADER_SEARCH_PATHS = ( 1080 | "$(inherited)", 1081 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1082 | ); 1083 | }; 1084 | name = Debug; 1085 | }; 1086 | 13B07F951A680F5B00A75B9A /* Release */ = { 1087 | isa = XCBuildConfiguration; 1088 | buildSettings = { 1089 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1090 | CURRENT_PROJECT_VERSION = 1; 1091 | INFOPLIST_FILE = todo/Info.plist; 1092 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1093 | OTHER_LDFLAGS = ( 1094 | "$(inherited)", 1095 | "-ObjC", 1096 | "-lc++", 1097 | ); 1098 | PRODUCT_NAME = todo; 1099 | VERSIONING_SYSTEM = "apple-generic"; 1100 | HEADER_SEARCH_PATHS = ( 1101 | "$(inherited)", 1102 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1103 | ); 1104 | }; 1105 | name = Release; 1106 | }; 1107 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1108 | isa = XCBuildConfiguration; 1109 | buildSettings = { 1110 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1111 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1112 | CLANG_ANALYZER_NONNULL = YES; 1113 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1114 | CLANG_WARN_INFINITE_RECURSION = YES; 1115 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1116 | DEBUG_INFORMATION_FORMAT = dwarf; 1117 | ENABLE_TESTABILITY = YES; 1118 | GCC_NO_COMMON_BLOCKS = YES; 1119 | INFOPLIST_FILE = "todo-tvOS/Info.plist"; 1120 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1121 | OTHER_LDFLAGS = ( 1122 | "-ObjC", 1123 | "-lc++", 1124 | ); 1125 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.todo-tvOS"; 1126 | PRODUCT_NAME = "$(TARGET_NAME)"; 1127 | SDKROOT = appletvos; 1128 | TARGETED_DEVICE_FAMILY = 3; 1129 | TVOS_DEPLOYMENT_TARGET = 9.2; 1130 | LIBRARY_SEARCH_PATHS = ( 1131 | "$(inherited)", 1132 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1133 | ); 1134 | HEADER_SEARCH_PATHS = ( 1135 | "$(inherited)", 1136 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1137 | ); 1138 | }; 1139 | name = Debug; 1140 | }; 1141 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1142 | isa = XCBuildConfiguration; 1143 | buildSettings = { 1144 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1145 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1146 | CLANG_ANALYZER_NONNULL = YES; 1147 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1148 | CLANG_WARN_INFINITE_RECURSION = YES; 1149 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1150 | COPY_PHASE_STRIP = NO; 1151 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1152 | GCC_NO_COMMON_BLOCKS = YES; 1153 | INFOPLIST_FILE = "todo-tvOS/Info.plist"; 1154 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1155 | OTHER_LDFLAGS = ( 1156 | "-ObjC", 1157 | "-lc++", 1158 | ); 1159 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.todo-tvOS"; 1160 | PRODUCT_NAME = "$(TARGET_NAME)"; 1161 | SDKROOT = appletvos; 1162 | TARGETED_DEVICE_FAMILY = 3; 1163 | TVOS_DEPLOYMENT_TARGET = 9.2; 1164 | LIBRARY_SEARCH_PATHS = ( 1165 | "$(inherited)", 1166 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1167 | ); 1168 | HEADER_SEARCH_PATHS = ( 1169 | "$(inherited)", 1170 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1171 | ); 1172 | }; 1173 | name = Release; 1174 | }; 1175 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1176 | isa = XCBuildConfiguration; 1177 | buildSettings = { 1178 | BUNDLE_LOADER = "$(TEST_HOST)"; 1179 | CLANG_ANALYZER_NONNULL = YES; 1180 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1181 | CLANG_WARN_INFINITE_RECURSION = YES; 1182 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1183 | DEBUG_INFORMATION_FORMAT = dwarf; 1184 | ENABLE_TESTABILITY = YES; 1185 | GCC_NO_COMMON_BLOCKS = YES; 1186 | INFOPLIST_FILE = "todo-tvOSTests/Info.plist"; 1187 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1188 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.todo-tvOSTests"; 1189 | PRODUCT_NAME = "$(TARGET_NAME)"; 1190 | SDKROOT = appletvos; 1191 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/todo-tvOS.app/todo-tvOS"; 1192 | TVOS_DEPLOYMENT_TARGET = 10.1; 1193 | LIBRARY_SEARCH_PATHS = ( 1194 | "$(inherited)", 1195 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1196 | ); 1197 | }; 1198 | name = Debug; 1199 | }; 1200 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1201 | isa = XCBuildConfiguration; 1202 | buildSettings = { 1203 | BUNDLE_LOADER = "$(TEST_HOST)"; 1204 | CLANG_ANALYZER_NONNULL = YES; 1205 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1206 | CLANG_WARN_INFINITE_RECURSION = YES; 1207 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1208 | COPY_PHASE_STRIP = NO; 1209 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1210 | GCC_NO_COMMON_BLOCKS = YES; 1211 | INFOPLIST_FILE = "todo-tvOSTests/Info.plist"; 1212 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1213 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.todo-tvOSTests"; 1214 | PRODUCT_NAME = "$(TARGET_NAME)"; 1215 | SDKROOT = appletvos; 1216 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/todo-tvOS.app/todo-tvOS"; 1217 | TVOS_DEPLOYMENT_TARGET = 10.1; 1218 | LIBRARY_SEARCH_PATHS = ( 1219 | "$(inherited)", 1220 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1221 | ); 1222 | }; 1223 | name = Release; 1224 | }; 1225 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1226 | isa = XCBuildConfiguration; 1227 | buildSettings = { 1228 | ALWAYS_SEARCH_USER_PATHS = NO; 1229 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1230 | CLANG_CXX_LIBRARY = "libc++"; 1231 | CLANG_ENABLE_MODULES = YES; 1232 | CLANG_ENABLE_OBJC_ARC = YES; 1233 | CLANG_WARN_BOOL_CONVERSION = YES; 1234 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1235 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1236 | CLANG_WARN_EMPTY_BODY = YES; 1237 | CLANG_WARN_ENUM_CONVERSION = YES; 1238 | CLANG_WARN_INT_CONVERSION = YES; 1239 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1240 | CLANG_WARN_UNREACHABLE_CODE = YES; 1241 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1242 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1243 | COPY_PHASE_STRIP = NO; 1244 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1245 | GCC_C_LANGUAGE_STANDARD = gnu99; 1246 | GCC_DYNAMIC_NO_PIC = NO; 1247 | GCC_OPTIMIZATION_LEVEL = 0; 1248 | GCC_PREPROCESSOR_DEFINITIONS = ( 1249 | "DEBUG=1", 1250 | "$(inherited)", 1251 | ); 1252 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1253 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1254 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1255 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1256 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1257 | GCC_WARN_UNUSED_FUNCTION = YES; 1258 | GCC_WARN_UNUSED_VARIABLE = YES; 1259 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1260 | MTL_ENABLE_DEBUG_INFO = YES; 1261 | ONLY_ACTIVE_ARCH = YES; 1262 | SDKROOT = iphoneos; 1263 | }; 1264 | name = Debug; 1265 | }; 1266 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1267 | isa = XCBuildConfiguration; 1268 | buildSettings = { 1269 | ALWAYS_SEARCH_USER_PATHS = NO; 1270 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1271 | CLANG_CXX_LIBRARY = "libc++"; 1272 | CLANG_ENABLE_MODULES = YES; 1273 | CLANG_ENABLE_OBJC_ARC = YES; 1274 | CLANG_WARN_BOOL_CONVERSION = YES; 1275 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1276 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1277 | CLANG_WARN_EMPTY_BODY = YES; 1278 | CLANG_WARN_ENUM_CONVERSION = YES; 1279 | CLANG_WARN_INT_CONVERSION = YES; 1280 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1281 | CLANG_WARN_UNREACHABLE_CODE = YES; 1282 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1283 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1284 | COPY_PHASE_STRIP = YES; 1285 | ENABLE_NS_ASSERTIONS = NO; 1286 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1287 | GCC_C_LANGUAGE_STANDARD = gnu99; 1288 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1289 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1290 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1291 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1292 | GCC_WARN_UNUSED_FUNCTION = YES; 1293 | GCC_WARN_UNUSED_VARIABLE = YES; 1294 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1295 | MTL_ENABLE_DEBUG_INFO = NO; 1296 | SDKROOT = iphoneos; 1297 | VALIDATE_PRODUCT = YES; 1298 | }; 1299 | name = Release; 1300 | }; 1301 | /* End XCBuildConfiguration section */ 1302 | 1303 | /* Begin XCConfigurationList section */ 1304 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "todoTests" */ = { 1305 | isa = XCConfigurationList; 1306 | buildConfigurations = ( 1307 | 00E356F61AD99517003FC87E /* Debug */, 1308 | 00E356F71AD99517003FC87E /* Release */, 1309 | ); 1310 | defaultConfigurationIsVisible = 0; 1311 | defaultConfigurationName = Release; 1312 | }; 1313 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "todo" */ = { 1314 | isa = XCConfigurationList; 1315 | buildConfigurations = ( 1316 | 13B07F941A680F5B00A75B9A /* Debug */, 1317 | 13B07F951A680F5B00A75B9A /* Release */, 1318 | ); 1319 | defaultConfigurationIsVisible = 0; 1320 | defaultConfigurationName = Release; 1321 | }; 1322 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "todo-tvOS" */ = { 1323 | isa = XCConfigurationList; 1324 | buildConfigurations = ( 1325 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1326 | 2D02E4981E0B4A5E006451C7 /* Release */, 1327 | ); 1328 | defaultConfigurationIsVisible = 0; 1329 | defaultConfigurationName = Release; 1330 | }; 1331 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "todo-tvOSTests" */ = { 1332 | isa = XCConfigurationList; 1333 | buildConfigurations = ( 1334 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1335 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1336 | ); 1337 | defaultConfigurationIsVisible = 0; 1338 | defaultConfigurationName = Release; 1339 | }; 1340 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "todo" */ = { 1341 | isa = XCConfigurationList; 1342 | buildConfigurations = ( 1343 | 83CBBA201A601CBA00E9B192 /* Debug */, 1344 | 83CBBA211A601CBA00E9B192 /* Release */, 1345 | ); 1346 | defaultConfigurationIsVisible = 0; 1347 | defaultConfigurationName = Release; 1348 | }; 1349 | /* End XCConfigurationList section */ 1350 | }; 1351 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1352 | } 1353 | -------------------------------------------------------------------------------- /ios/todo.xcodeproj/xcshareddata/xcschemes/todo-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/todo.xcodeproj/xcshareddata/xcschemes/todo.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/todo/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 | -------------------------------------------------------------------------------- /ios/todo/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.ios" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"todo" 25 | initialProperties:nil 26 | launchOptions:launchOptions]; 27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 28 | 29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 30 | UIViewController *rootViewController = [UIViewController new]; 31 | rootViewController.view = rootView; 32 | self.window.rootViewController = rootViewController; 33 | [self.window makeKeyAndVisible]; 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /ios/todo/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /ios/todo/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /ios/todo/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 | NSExceptionDomains 44 | 45 | localhost 46 | 47 | NSExceptionAllowsInsecureHTTPLoads 48 | 49 | 50 | 51 | 52 | UIAppFonts 53 | 54 | Entypo.ttf 55 | EvilIcons.ttf 56 | FontAwesome.ttf 57 | Foundation.ttf 58 | Ionicons.ttf 59 | MaterialCommunityIcons.ttf 60 | MaterialIcons.ttf 61 | Octicons.ttf 62 | SimpleLineIcons.ttf 63 | Zocial.ttf 64 | 65 | 66 | -------------------------------------------------------------------------------- /ios/todo/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 | -------------------------------------------------------------------------------- /ios/todoTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/todoTests/todoTests.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 todoTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation todoTests 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 = [[[[UIApplication sharedApplication] 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 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "todo", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "dependencies": { 10 | "graphql-tag": "^1.3.1", 11 | "isomorphic-fetch": "^2.2.1", 12 | "react": "~15.4.1", 13 | "react-apollo": "^1.0.0-rc.2", 14 | "react-native": "0.42.0", 15 | "react-native-elements": "^0.9.7", 16 | "react-native-router-flux": "^3.38.0", 17 | "react-native-vector-icons": "^4.0.0", 18 | "react-redux": "^5.0.3", 19 | "redux": "^3.6.0", 20 | "redux-form": "^6.5.0", 21 | "redux-observable": "^0.14.1", 22 | "rxjs": "^5.2.0", 23 | "subscriptions-transport-ws": "^0.5.5-alpha.0" 24 | }, 25 | "devDependencies": { 26 | "babel-jest": "19.0.0", 27 | "babel-preset-react-native": "1.9.1", 28 | "jest": "19.0.2", 29 | "react-test-renderer": "~15.4.1" 30 | }, 31 | "jest": { 32 | "preset": "react-native" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/react-native-todo/0a613d4c49220557426421c8604335b58fb62ffe/screenshot.png -------------------------------------------------------------------------------- /src/components/Menu/View.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { 3 | StyleSheet, Text, 4 | View, 5 | ScrollView, 6 | } from 'react-native'; 7 | import { 8 | List, 9 | ListItem 10 | } from 'react-native-elements'; 11 | import { Actions } from 'react-native-router-flux'; 12 | import { graphql } from 'react-apollo'; 13 | import gql from 'graphql-tag'; 14 | 15 | import TodoListForm from './components/TodoListForm'; 16 | 17 | class Menu extends React.Component { 18 | 19 | render() { 20 | return ( 21 | 22 | 23 | {this.props.user.email || ''}} 26 | /> 27 | { 28 | this.props.todoLists.map((tl, i) => ( 29 | { 33 | this.props.toggleDrawer(); 34 | this.props.changeList(i) 35 | }} 36 | onLongPress={() => { 37 | this.props.deleteTodoList(tl.id, this.props.token); 38 | }} 39 | /> 40 | )) 41 | } 42 | { 46 | this.props.toggleDrawer(); 47 | Actions.login({}); 48 | this.props.logout(); 49 | }} 50 | /> 51 | { 55 | this.props.toggleDrawer(); 56 | Actions.signup({}); 57 | }} 58 | /> 59 | 60 | 61 | 62 | ); 63 | } 64 | } 65 | 66 | const deleteTodoListMutation = gql` 67 | mutation($id: String!, $token: String!) { 68 | deleteTodoList(id: $id, token: $token) { 69 | id 70 | } 71 | } 72 | `; 73 | 74 | 75 | const deleteTodoList = graphql(deleteTodoListMutation, { 76 | props: ({ ownProps, mutate }) => ({ 77 | deleteTodoList(id, token) { 78 | return mutate({ 79 | variables: { 80 | id, 81 | token, 82 | } 83 | }); 84 | }, 85 | }), 86 | }); 87 | 88 | 89 | export default deleteTodoList(Menu); 90 | -------------------------------------------------------------------------------- /src/components/Menu/actions.js: -------------------------------------------------------------------------------- 1 | export const logout = () => ({ type: 'LOGOUT' }); 2 | 3 | export const changeList = (newList) => ({ type: 'CHANGE_LIST', newList }); 4 | 5 | export const toggleDrawer = () => ({ type: 'TOGGLE_DRAWER' }); 6 | -------------------------------------------------------------------------------- /src/components/Menu/components/TodoListForm/View.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { 3 | StyleSheet, 4 | Text, 5 | View, 6 | ScrollView, 7 | TouchableOpacity, 8 | TextInput, 9 | } from 'react-native'; 10 | import { 11 | FormLabel, 12 | FormInput, 13 | Button, 14 | FormValidationMessage, 15 | } from 'react-native-elements' 16 | import { Field, reduxForm, SubmissionError } from 'redux-form'; 17 | import { graphql } from 'react-apollo'; 18 | import gql from 'graphql-tag'; 19 | 20 | const textField = ({ input: { onChange, ...otherProps }, meta: { touched, error } }) => ( 21 | 22 | 25 | { touched && error && { error } } 26 | 27 | ); 28 | 29 | const submit = ({ name='' }, createTodoList) => { 30 | const errors = { 31 | _error: 'Empty todo list!' 32 | } 33 | 34 | let error = false; 35 | 36 | if (!name.trim()) { 37 | errors.name = 'Required' 38 | error = true; 39 | } 40 | 41 | if (error) { 42 | throw new SubmissionError(errors); 43 | } else { 44 | createTodoList(name); 45 | } 46 | } 47 | 48 | const TodoListForm = ({ handleSubmit, createTodoList, toggleDrawer }) => { 49 | return ( 50 | 51 | Add TodoList 52 | 53 |