[
  {
    "path": ".flowconfig",
    "content": "[ignore]\n\n# We fork some components by platform.\n.*/*.web.js\n.*/*.android.js\n\n# Some modules have their own node_modules with overlap\n.*/node_modules/node-haste/.*\n\n# Ugh\n.*/node_modules/babel.*\n.*/node_modules/babylon.*\n.*/node_modules/invariant.*\n\n# Ignore react and fbjs where there are overlaps, but don't ignore\n# anything that react-native relies on\n.*/node_modules/fbjs-haste/.*/__tests__/.*\n.*/node_modules/fbjs-haste/__forks__/Map.js\n.*/node_modules/fbjs-haste/__forks__/Promise.js\n.*/node_modules/fbjs-haste/__forks__/fetch.js\n.*/node_modules/fbjs-haste/core/ExecutionEnvironment.js\n.*/node_modules/fbjs-haste/core/isEmpty.js\n.*/node_modules/fbjs-haste/crypto/crc32.js\n.*/node_modules/fbjs-haste/stubs/ErrorUtils.js\n.*/node_modules/react-haste/React.js\n.*/node_modules/react-haste/renderers/dom/ReactDOM.js\n.*/node_modules/react-haste/renderers/shared/event/eventPlugins/ResponderEventPlugin.js\n\n# Ignore commoner tests\n.*/node_modules/commoner/test/.*\n\n# See https://github.com/facebook/flow/issues/442\n.*/react-tools/node_modules/commoner/lib/reader.js\n\n# Ignore jest\n.*/node_modules/jest-cli/.*\n\n# Ignore Website\n.*/website/.*\n\n[include]\n\n[libs]\nnode_modules/react-native/Libraries/react-native/react-native-interface.js\n\n[options]\nmodule.system=haste\n\nmunge_underscores=true\n\nmodule.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'\nmodule.name_mapper='^[./a-zA-Z0-9$_-]+\\.png$' -> 'RelativeImageStub'\n\nsuppress_type=$FlowIssue\nsuppress_type=$FlowFixMe\nsuppress_type=$FixMe\n\nsuppress_comment=\\\\(.\\\\|\\n\\\\)*\\\\$FlowFixMe\\\\($\\\\|[^(]\\\\|(\\\\(>=0\\\\.\\\\(1[0-9]\\\\|[0-9]\\\\).[0-9]\\\\)? *\\\\(site=[a-z,_]*react_native[a-z,_]*\\\\)?)\\\\)\nsuppress_comment=\\\\(.\\\\|\\n\\\\)*\\\\$FlowIssue\\\\((\\\\(>=0\\\\.\\\\(1[0-9]\\\\|[0-9]\\\\).[0-9]\\\\)? *\\\\(site=[a-z,_]*react_native[a-z,_]*\\\\)?)\\\\)? #[0-9]+\nsuppress_comment=\\\\(.\\\\|\\n\\\\)*\\\\$FlowFixedInNextDeploy\n\n[version]\n0.19.0\n"
  },
  {
    "path": ".gitignore",
    "content": "# OSX\n#\n.DS_Store\n\n# Xcode\n#\nbuild/\n*.pbxuser\n!default.pbxuser\n*.mode1v3\n!default.mode1v3\n*.mode2v3\n!default.mode2v3\n*.perspectivev3\n!default.perspectivev3\nxcuserdata\n*.xccheckout\n*.moved-aside\nDerivedData\n*.hmap\n*.ipa\n*.xcuserstate\nproject.xcworkspace\n\n# Android/IJ\n#\n.idea\n.gradle\nlocal.properties\n*.keystore\n\n# node.js\n#\nnode_modules/\nnpm-debug.log\n"
  },
  {
    "path": ".watchmanconfig",
    "content": "{}"
  },
  {
    "path": "LICENSE",
    "content": "The MIT License (MIT)\n\nCopyright (c) 2016 Eddie Weng\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "# What's This?\nA smart camera app using react-native and tensorflow\n\n<img src=\"http://i.imgur.com/pk0UW7J.jpg\" height=\"400\" />&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"http://i.imgur.com/ROM2Esr.jpg\" height=\"400\" />\n\n<a href=\"https://itunes.apple.com/us/app/whats-this-learn-vocabularies/id1071698102\" target=\"_blank\"><img src=\"http://i.imgur.com/Akywpc7.png\" height=\"75\"/></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"https://play.google.com/store/apps/details?id=com.northfoxz.whatsthis\" target=\"_blank\"><img src=\"http://i.imgur.com/D5B4zOT.png\" height=\"75\"/></a>\n\n### The server part:\n1. First install <a href=\"https://www.tensorflow.org/\" target=\"_blank\">tensorflow</a> in you server\n2. Make sure you run <a href=\"https://www.tensorflow.org/versions/master/tutorials/image_recognition/index.html#image-recognition\">this tutorial</a> first(it will help you install inception-v3 engine in your /.tmp folder)\n3. Clone this project and go inside the ~server folder\n4. run `python inception-server.py`\n5. You can post your image file to server of port 8000, and it will respond results formatted in json.\n\n### The app part:\n1. First install <a href=\"https://facebook.github.io/react-native/\">react native</a> to your computer\n2. run `npm install`\n3. configure the dependencies of this project\n4. Run in android and iOS!\n\n### LICENSE\nMIT\n\n### For fun\nI built this just for fun. If you like this project, be sure to star this and email me how you think!\nfirstera15@gmail.com\n"
  },
  {
    "path": "android/Whats this.iml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<module external.linked.project.id=\"Whats this\" external.linked.project.path=\"$MODULE_DIR$\" external.root.project.path=\"$MODULE_DIR$\" external.system.id=\"GRADLE\" external.system.module.group=\"\" external.system.module.version=\"unspecified\" type=\"JAVA_MODULE\" version=\"4\">\n  <component name=\"FacetManager\">\n    <facet type=\"java-gradle\" name=\"Java-Gradle\">\n      <configuration>\n        <option name=\"BUILD_FOLDER_PATH\" value=\"$MODULE_DIR$/build\" />\n        <option name=\"BUILDABLE\" value=\"false\" />\n      </configuration>\n    </facet>\n  </component>\n  <component name=\"NewModuleRootManager\" LANGUAGE_LEVEL=\"JDK_1_7\" inherit-compiler-output=\"true\">\n    <exclude-output />\n    <content url=\"file://$MODULE_DIR$\">\n      <excludeFolder url=\"file://$MODULE_DIR$/.gradle\" />\n    </content>\n    <orderEntry type=\"inheritedJdk\" />\n    <orderEntry type=\"sourceFolder\" forTests=\"false\" />\n  </component>\n</module>"
  },
  {
    "path": "android/app/app.iml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<module external.linked.project.id=\":app\" external.linked.project.path=\"$MODULE_DIR$\" external.root.project.path=\"$MODULE_DIR$/..\" external.system.id=\"GRADLE\" external.system.module.group=\"Whats this\" external.system.module.version=\"unspecified\" type=\"JAVA_MODULE\" version=\"4\">\n  <component name=\"FacetManager\">\n    <facet type=\"android-gradle\" name=\"Android-Gradle\">\n      <configuration>\n        <option name=\"GRADLE_PROJECT_PATH\" value=\":app\" />\n      </configuration>\n    </facet>\n    <facet type=\"android\" name=\"Android\">\n      <configuration>\n        <option name=\"SELECTED_BUILD_VARIANT\" value=\"debug\" />\n        <option name=\"SELECTED_TEST_ARTIFACT\" value=\"_android_test_\" />\n        <option name=\"ASSEMBLE_TASK_NAME\" value=\"assembleDebug\" />\n        <option name=\"COMPILE_JAVA_TASK_NAME\" value=\"compileDebugSources\" />\n        <option name=\"ASSEMBLE_TEST_TASK_NAME\" value=\"assembleDebugAndroidTest\" />\n        <option name=\"COMPILE_JAVA_TEST_TASK_NAME\" value=\"compileDebugAndroidTestSources\" />\n        <afterSyncTasks>\n          <task>generateDebugAndroidTestSources</task>\n          <task>generateDebugSources</task>\n        </afterSyncTasks>\n        <option name=\"ALLOW_USER_CONFIGURATION\" value=\"false\" />\n        <option name=\"MANIFEST_FILE_RELATIVE_PATH\" value=\"/src/main/AndroidManifest.xml\" />\n        <option name=\"RES_FOLDER_RELATIVE_PATH\" value=\"/src/main/res\" />\n        <option name=\"RES_FOLDERS_RELATIVE_PATH\" value=\"file://$MODULE_DIR$/src/main/res\" />\n        <option name=\"ASSETS_FOLDER_RELATIVE_PATH\" value=\"/src/main/assets\" />\n      </configuration>\n    </facet>\n  </component>\n  <component name=\"NewModuleRootManager\" LANGUAGE_LEVEL=\"JDK_1_7\" inherit-compiler-output=\"false\">\n    <output url=\"file://$MODULE_DIR$/build/intermediates/classes/debug\" />\n    <output-test url=\"file://$MODULE_DIR$/build/intermediates/classes/androidTest/debug\" />\n    <exclude-output />\n    <content url=\"file://$MODULE_DIR$\">\n      <sourceFolder url=\"file://$MODULE_DIR$/build/generated/source/r/debug\" isTestSource=\"false\" generated=\"true\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/build/generated/source/aidl/debug\" isTestSource=\"false\" generated=\"true\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/build/generated/source/buildConfig/debug\" isTestSource=\"false\" generated=\"true\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/build/generated/source/rs/debug\" isTestSource=\"false\" generated=\"true\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/build/generated/res/rs/debug\" type=\"java-resource\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/build/generated/res/resValues/debug\" type=\"java-resource\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/build/generated/source/r/androidTest/debug\" isTestSource=\"true\" generated=\"true\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/build/generated/source/aidl/androidTest/debug\" isTestSource=\"true\" generated=\"true\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/debug\" isTestSource=\"true\" generated=\"true\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/build/generated/source/rs/androidTest/debug\" isTestSource=\"true\" generated=\"true\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/build/generated/res/rs/androidTest/debug\" type=\"java-test-resource\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/build/generated/res/resValues/androidTest/debug\" type=\"java-test-resource\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/debug/res\" type=\"java-resource\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/debug/resources\" type=\"java-resource\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/debug/assets\" type=\"java-resource\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/debug/aidl\" isTestSource=\"false\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/debug/java\" isTestSource=\"false\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/debug/jni\" isTestSource=\"false\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/debug/rs\" isTestSource=\"false\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/main/res\" type=\"java-resource\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/main/resources\" type=\"java-resource\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/main/assets\" type=\"java-resource\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/main/aidl\" isTestSource=\"false\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/main/java\" isTestSource=\"false\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/main/jni\" isTestSource=\"false\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/main/rs\" isTestSource=\"false\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/androidTest/res\" type=\"java-test-resource\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/androidTest/resources\" type=\"java-test-resource\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/androidTest/assets\" type=\"java-test-resource\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/androidTest/aidl\" isTestSource=\"true\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/androidTest/java\" isTestSource=\"true\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/androidTest/jni\" isTestSource=\"true\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/src/androidTest/rs\" isTestSource=\"true\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/assets\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/classes\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/debug\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/dependency-cache\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/dex\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/jars\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/23.0.1/jars\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/23.0.1/jars\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/drawee/0.8.1/jars\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fbcore/0.8.1/jars\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fresco/0.8.1/jars\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline-okhttp/0.8.1/jars\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline/0.8.1/jars\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.react/react-native/0.17.1/jars\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/exploded-aar/org.webkit/android-jsc/r174650/jars\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/incremental\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/manifests\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/pre-dexed\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/release\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/res\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/rs\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/symbols\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/intermediates/tmp\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/outputs\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build/tmp\" />\n    </content>\n    <orderEntry type=\"jdk\" jdkName=\"Android API 23 Platform\" jdkType=\"Android SDK\" />\n    <orderEntry type=\"sourceFolder\" forTests=\"false\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"okhttp-ws-2.5.0\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"library-2.4.0\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"okio-1.6.0\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"stetho-okhttp-1.2.0\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"okhttp-2.5.0\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"stetho-1.2.0\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"jsr305-3.0.0\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"jackson-core-2.2.3\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"fbcore-0.8.1\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"commons-cli-1.2\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"recyclerview-v7-23.0.1\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"imagepipeline-0.8.1\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"react-native-0.17.1\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"android-jsc-r174650\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"fresco-0.8.1\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"imagepipeline-okhttp-0.8.1\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"core-3.2.0\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"bolts-android-1.1.4\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"support-v4-23.0.1\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"drawee-0.8.1\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"appcompat-v7-23.0.1\" level=\"project\" />\n    <orderEntry type=\"library\" exported=\"\" name=\"support-annotations-23.0.1\" level=\"project\" />\n    <orderEntry type=\"module\" module-name=\"react-native-fs\" exported=\"\" />\n    <orderEntry type=\"module\" module-name=\"react-native-camera-android\" exported=\"\" />\n  </component>\n</module>"
  },
  {
    "path": "android/app/build.gradle",
    "content": "apply plugin: \"com.android.application\"\n\n/**\n * The react.gradle file registers two tasks: bundleDebugJsAndAssets and bundleReleaseJsAndAssets.\n * These basically call `react-native bundle` with the correct arguments during the Android build\n * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the\n * bundle directly from the development server. Below you can see all the possible configurations\n * and their defaults. If you decide to add a configuration block, make sure to add it before the\n * `apply from: \"react.gradle\"` line.\n *\n * project.ext.react = [\n *   // the name of the generated asset file containing your JS bundle\n *   bundleAssetName: \"index.android.bundle\",\n *\n *   // the entry file for bundle generation\n *   entryFile: \"index.android.js\",\n *\n *   // whether to bundle JS and assets in debug mode\n *   bundleInDebug: false,\n *\n *   // whether to bundle JS and assets in release mode\n *   bundleInRelease: true,\n *\n *   // the root of your project, i.e. where \"package.json\" lives\n *   root: \"../../\",\n *\n *   // where to put the JS bundle asset in debug mode\n *   jsBundleDirDebug: \"$buildDir/intermediates/assets/debug\",\n *\n *   // where to put the JS bundle asset in release mode\n *   jsBundleDirRelease: \"$buildDir/intermediates/assets/release\",\n *\n *   // where to put drawable resources / React Native assets, e.g. the ones you use via\n *   // require('./image.png')), in debug mode\n *   resourcesDirDebug: \"$buildDir/intermediates/res/merged/debug\",\n *\n *   // where to put drawable resources / React Native assets, e.g. the ones you use via\n *   // require('./image.png')), in release mode\n *   resourcesDirRelease: \"$buildDir/intermediates/res/merged/release\",\n *\n *   // by default the gradle tasks are skipped if none of the JS files or assets change; this means\n *   // that we don't look at files in android/ or ios/ to determine whether the tasks are up to\n *   // date; if you have any other folders that you want to ignore for performance reasons (gradle\n *   // indexes the entire tree), add them here. Alternatively, if you have JS files in android/\n *   // for example, you might want to remove it from here.\n *   inputExcludes: [\"android/**\", \"ios/**\"]\n * ]\n */\n\napply from: \"react.gradle\"\n\nandroid {\n    compileSdkVersion 23\n    buildToolsVersion \"23.0.1\"\n\n    defaultConfig {\n        applicationId \"com.northfoxz.whatsthis\"\n        minSdkVersion 16\n        targetSdkVersion 22\n        versionCode 1\n        versionName \"1.0\"\n        ndk {\n            abiFilters \"armeabi-v7a\", \"x86\"\n        }\n    }\n    signingConfigs {\n        release {\n            storeFile file(MYAPP_RELEASE_STORE_FILE)\n            storePassword MYAPP_RELEASE_STORE_PASSWORD\n            keyAlias MYAPP_RELEASE_KEY_ALIAS\n            keyPassword MYAPP_RELEASE_KEY_PASSWORD\n        }\n    }\n    buildTypes {\n        release {\n            minifyEnabled false  // Set this to true to enable Proguard\n            proguardFiles getDefaultProguardFile(\"proguard-android.txt\"), \"proguard-rules.pro\"\n            signingConfig signingConfigs.release\n        }\n    }\n}\n\ndependencies {\n    compile fileTree(dir: \"libs\", include: [\"*.jar\"])\n    compile \"com.android.support:appcompat-v7:23.0.1\"\n    compile \"com.facebook.react:react-native:0.17.+\"\n    compile project(':react-native-fs')\n    compile project(':react-native-camera-android')\n}\n"
  },
  {
    "path": "android/app/proguard-rules.pro",
    "content": "# Add project specific ProGuard rules here.\n# By default, the flags in this file are appended to flags specified\n# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt\n# You can edit the include path and order by changing the proguardFiles\n# directive in build.gradle.\n#\n# For more details, see\n#   http://developer.android.com/guide/developing/tools/proguard.html\n\n# Add any project specific keep options here:\n\n# If your project uses WebView with JS, uncomment the following\n# and specify the fully qualified class name to the JavaScript interface\n# class:\n#-keepclassmembers class fqcn.of.javascript.interface.for.webview {\n#   public *;\n#}\n\n# Disabling obfuscation is useful if you collect stack traces from production crashes\n# (unless you are using a system that supports de-obfuscate the stack traces).\n-dontobfuscate\n\n# React Native\n\n# Keep our interfaces so they can be used by other ProGuard rules.\n# See http://sourceforge.net/p/proguard/bugs/466/\n-keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip\n-keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters\n\n# Do not strip any method/class that is annotated with @DoNotStrip\n-keep @com.facebook.proguard.annotations.DoNotStrip class *\n-keepclassmembers class * {\n    @com.facebook.proguard.annotations.DoNotStrip *;\n}\n\n-keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * {\n  void set*(***);\n  *** get*();\n}\n\n-keep class * extends com.facebook.react.bridge.JavaScriptModule { *; }\n-keep class * extends com.facebook.react.bridge.NativeModule { *; }\n-keepclassmembers class *  { @com.facebook.react.uimanager.UIProp <fields>; }\n-keepclassmembers class *  { @com.facebook.react.uimanager.ReactProp <methods>; }\n-keepclassmembers class *  { @com.facebook.react.uimanager.ReactPropGroup <methods>; }\n\n# okhttp\n\n-keepattributes Signature\n-keepattributes *Annotation*\n-keep class com.squareup.okhttp.** { *; }\n-keep interface com.squareup.okhttp.** { *; }\n-dontwarn com.squareup.okhttp.**\n\n# okio\n\n-keep class sun.misc.Unsafe { *; }\n-dontwarn java.nio.file.*\n-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement\n-dontwarn okio.**\n"
  },
  {
    "path": "android/app/react.gradle",
    "content": "import org.apache.tools.ant.taskdefs.condition.Os\n\ndef config = project.hasProperty(\"react\") ? project.react : [];\n\ndef bundleAssetName = config.bundleAssetName ?: \"index.android.bundle\"\ndef entryFile = config.entryFile ?: \"index.android.js\"\n\n// because elvis operator\ndef elvisFile(thing) {\n    return thing ? file(thing) : null;\n}\n\ndef reactRoot = elvisFile(config.root) ?: file(\"../../\")\ndef jsBundleDirDebug = elvisFile(config.jsBundleDirDebug) ?:\n        file(\"$buildDir/intermediates/assets/debug\")\ndef jsBundleDirRelease = elvisFile(config.jsBundleDirRelease) ?:\n        file(\"$buildDir/intermediates/assets/release\")\ndef resourcesDirDebug = elvisFile(config.resourcesDirDebug) ?:\n        file(\"$buildDir/intermediates/res/merged/debug\")\ndef resourcesDirRelease = elvisFile(config.resourcesDirRelease) ?:\n        file(\"$buildDir/intermediates/res/merged/release\")\ndef inputExcludes = config.inputExcludes ?: [\"android/**\", \"ios/**\"]\n\ndef jsBundleFileDebug = file(\"$jsBundleDirDebug/$bundleAssetName\")\ndef jsBundleFileRelease = file(\"$jsBundleDirRelease/$bundleAssetName\")\n\ntask bundleDebugJsAndAssets(type: Exec) {\n    // create dirs if they are not there (e.g. the \"clean\" task just ran)\n    doFirst {\n        jsBundleDirDebug.mkdirs()\n        resourcesDirDebug.mkdirs()\n    }\n\n    // set up inputs and outputs so gradle can cache the result\n    inputs.files fileTree(dir: reactRoot, excludes: inputExcludes)\n    outputs.dir jsBundleDirDebug\n    outputs.dir resourcesDirDebug\n\n    // set up the call to the react-native cli\n    workingDir reactRoot\n    if (Os.isFamily(Os.FAMILY_WINDOWS)) {\n        commandLine \"cmd\", \"/c\", \"react-native\", \"bundle\", \"--platform\", \"android\", \"--dev\", \"true\", \"--entry-file\",\n            entryFile, \"--bundle-output\", jsBundleFileDebug, \"--assets-dest\", resourcesDirDebug\n    } else {\n        commandLine \"react-native\", \"bundle\", \"--platform\", \"android\", \"--dev\", \"true\", \"--entry-file\",\n            entryFile, \"--bundle-output\", jsBundleFileDebug, \"--assets-dest\", resourcesDirDebug\n    }\n\n    enabled config.bundleInDebug ?: false\n}\n\ntask bundleReleaseJsAndAssets(type: Exec) {\n    // create dirs if they are not there (e.g. the \"clean\" task just ran)\n    doFirst {\n        jsBundleDirRelease.mkdirs()\n        resourcesDirRelease.mkdirs()\n    }\n\n    // set up inputs and outputs so gradle can cache the result\n    inputs.files fileTree(dir: reactRoot, excludes: inputExcludes)\n    outputs.dir jsBundleDirRelease\n    outputs.dir resourcesDirRelease\n\n    // set up the call to the react-native cli\n    workingDir reactRoot\n    if (Os.isFamily(Os.FAMILY_WINDOWS)) {\n        commandLine \"cmd\",\"/c\", \"react-native\", \"bundle\", \"--platform\", \"android\", \"--dev\", \"false\", \"--entry-file\",\n            entryFile, \"--bundle-output\", jsBundleFileRelease, \"--assets-dest\", resourcesDirRelease\n    } else {\n        commandLine \"react-native\", \"bundle\", \"--platform\", \"android\", \"--dev\", \"false\", \"--entry-file\",\n            entryFile, \"--bundle-output\", jsBundleFileRelease, \"--assets-dest\", resourcesDirRelease\n    }\n\n    enabled config.bundleInRelease ?: true\n}\n\ngradle.projectsEvaluated {\n    // hook bundleDebugJsAndAssets into the android build process\n    bundleDebugJsAndAssets.dependsOn mergeDebugResources\n    bundleDebugJsAndAssets.dependsOn mergeDebugAssets\n    processDebugResources.dependsOn bundleDebugJsAndAssets\n\n    // hook bundleReleaseJsAndAssets into the android build process\n    bundleReleaseJsAndAssets.dependsOn mergeReleaseResources\n    bundleReleaseJsAndAssets.dependsOn mergeReleaseAssets\n    processReleaseResources.dependsOn bundleReleaseJsAndAssets\n}\n"
  },
  {
    "path": "android/app/src/main/AndroidManifest.xml",
    "content": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    package=\"com.whatsthis\">\n\n    <uses-permission android:name=\"android.permission.INTERNET\" />\n\n    <application\n      android:allowBackup=\"true\"\n      android:label=\"@string/app_name\"\n      android:icon=\"@mipmap/ic_launcher\"\n      android:theme=\"@style/AppTheme\">\n      <activity\n        android:name=\".MainActivity\"\n        android:label=\"@string/app_name\"\n        android:screenOrientation=\"portrait\"\n        android:configChanges=\"keyboard|keyboardHidden|orientation|screenSize\">\n        <intent-filter>\n            <action android:name=\"android.intent.action.MAIN\" />\n            <category android:name=\"android.intent.category.LAUNCHER\" />\n        </intent-filter>\n      </activity>\n      <activity android:name=\"com.facebook.react.devsupport.DevSettingsActivity\" />\n    </application>\n\n</manifest>\n"
  },
  {
    "path": "android/app/src/main/java/com/whatsthis/MainActivity.java",
    "content": "package com.whatsthis;\nimport android.content.Intent;\nimport com.rnfs.RNFSPackage;\nimport com.ReactCamera.RNCameraViewPackage;\n\nimport android.app.Activity;\nimport android.os.Bundle;\nimport android.view.KeyEvent;\n\nimport com.facebook.react.LifecycleState;\nimport com.facebook.react.ReactInstanceManager;\nimport com.facebook.react.ReactRootView;\nimport com.facebook.react.modules.core.DefaultHardwareBackBtnHandler;\nimport com.facebook.react.shell.MainReactPackage;\nimport com.facebook.soloader.SoLoader;\n\npublic class MainActivity extends Activity implements DefaultHardwareBackBtnHandler {\n\n    private ReactInstanceManager mReactInstanceManager;\n    private ReactRootView mReactRootView;\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        mReactRootView = new ReactRootView(this);\n\n        mReactInstanceManager = ReactInstanceManager.builder()\n                .setApplication(getApplication())\n                .setBundleAssetName(\"index.android.bundle\")\n                .setJSMainModuleName(\"index.android\")\n                .addPackage(new MainReactPackage())\n\n                // register package here\n                .addPackage(new RNFSPackage())\n                .addPackage(new RNCameraViewPackage())\n\n                .setUseDeveloperSupport(BuildConfig.DEBUG)\n                .setInitialLifecycleState(LifecycleState.RESUMED)\n                .build();\n\n        mReactRootView.startReactApplication(mReactInstanceManager, \"whatsthis\", null);\n\n        setContentView(mReactRootView);\n    }\n\n    @Override\n    public boolean onKeyUp(int keyCode, KeyEvent event) {\n        if (keyCode == KeyEvent.KEYCODE_MENU && mReactInstanceManager != null) {\n            mReactInstanceManager.showDevOptionsDialog();\n            return true;\n        }\n        return super.onKeyUp(keyCode, event);\n    }\n\n    @Override\n    public void onBackPressed() {\n      if (mReactInstanceManager != null) {\n        mReactInstanceManager.onBackPressed();\n      } else {\n        super.onBackPressed();\n      }\n    }\n\n    @Override\n    public void invokeDefaultOnBackPressed() {\n      super.onBackPressed();\n    }\n\n    @Override\n    protected void onPause() {\n        super.onPause();\n\n        if (mReactInstanceManager != null) {\n            mReactInstanceManager.onPause();\n        }\n    }\n\n    @Override\n    protected void onResume() {\n        super.onResume();\n\n        if (mReactInstanceManager != null) {\n            mReactInstanceManager.onResume(this, this);\n        }\n    }\n}\n"
  },
  {
    "path": "android/app/src/main/res/values/strings.xml",
    "content": "<resources>\n    <string name=\"app_name\">What\\'s This?</string>\n</resources>\n"
  },
  {
    "path": "android/app/src/main/res/values/styles.xml",
    "content": "<resources>\n\n    <!-- Base application theme. -->\n    <style name=\"AppTheme\" parent=\"Theme.AppCompat.Light.NoActionBar\">\n        <!-- Customize your theme here. -->\n    </style>\n\n</resources>\n"
  },
  {
    "path": "android/build.gradle",
    "content": "// Top-level build file where you can add configuration options common to all sub-projects/modules.\n\nbuildscript {\n    repositories {\n        jcenter()\n    }\n    dependencies {\n        classpath 'com.android.tools.build:gradle:1.3.1'\n\n        // NOTE: Do not place your application dependencies here; they belong\n        // in the individual module build.gradle files\n    }\n}\n\nallprojects {\n    repositories {\n        mavenLocal()\n        jcenter()\n    }\n}\n"
  },
  {
    "path": "android/gradle/wrapper/gradle-wrapper.properties",
    "content": "distributionBase=GRADLE_USER_HOME\ndistributionPath=wrapper/dists\nzipStoreBase=GRADLE_USER_HOME\nzipStorePath=wrapper/dists\ndistributionUrl=https\\://services.gradle.org/distributions/gradle-2.4-all.zip\n"
  },
  {
    "path": "android/gradle.properties",
    "content": "# Project-wide Gradle settings.\n\n# IDE (e.g. Android Studio) users:\n# Gradle settings configured through the IDE *will override*\n# any settings specified in this file.\n\n# For more details on how to configure your build environment visit\n# http://www.gradle.org/docs/current/userguide/build_environment.html\n\n# Specifies the JVM arguments used for the daemon process.\n# The setting is particularly useful for tweaking memory settings.\n# Default value: -Xmx10248m -XX:MaxPermSize=256m\n# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8\n\n# When configured, Gradle will run in incubating parallel mode.\n# This option should only be used with decoupled projects. More details, visit\n# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects\n# org.gradle.parallel=true\n\nandroid.useDeprecatedNdk=true\n"
  },
  {
    "path": "android/gradlew",
    "content": "#!/usr/bin/env bash\n\n##############################################################################\n##\n##  Gradle start up script for UN*X\n##\n##############################################################################\n\n# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.\nDEFAULT_JVM_OPTS=\"\"\n\nAPP_NAME=\"Gradle\"\nAPP_BASE_NAME=`basename \"$0\"`\n\n# Use the maximum available, or set MAX_FD != -1 to use that value.\nMAX_FD=\"maximum\"\n\nwarn ( ) {\n    echo \"$*\"\n}\n\ndie ( ) {\n    echo\n    echo \"$*\"\n    echo\n    exit 1\n}\n\n# OS specific support (must be 'true' or 'false').\ncygwin=false\nmsys=false\ndarwin=false\ncase \"`uname`\" in\n  CYGWIN* )\n    cygwin=true\n    ;;\n  Darwin* )\n    darwin=true\n    ;;\n  MINGW* )\n    msys=true\n    ;;\nesac\n\n# For Cygwin, ensure paths are in UNIX format before anything is touched.\nif $cygwin ; then\n    [ -n \"$JAVA_HOME\" ] && JAVA_HOME=`cygpath --unix \"$JAVA_HOME\"`\nfi\n\n# Attempt to set APP_HOME\n# Resolve links: $0 may be a link\nPRG=\"$0\"\n# Need this for relative symlinks.\nwhile [ -h \"$PRG\" ] ; do\n    ls=`ls -ld \"$PRG\"`\n    link=`expr \"$ls\" : '.*-> \\(.*\\)$'`\n    if expr \"$link\" : '/.*' > /dev/null; then\n        PRG=\"$link\"\n    else\n        PRG=`dirname \"$PRG\"`\"/$link\"\n    fi\ndone\nSAVED=\"`pwd`\"\ncd \"`dirname \\\"$PRG\\\"`/\" >&-\nAPP_HOME=\"`pwd -P`\"\ncd \"$SAVED\" >&-\n\nCLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar\n\n# Determine the Java command to use to start the JVM.\nif [ -n \"$JAVA_HOME\" ] ; then\n    if [ -x \"$JAVA_HOME/jre/sh/java\" ] ; then\n        # IBM's JDK on AIX uses strange locations for the executables\n        JAVACMD=\"$JAVA_HOME/jre/sh/java\"\n    else\n        JAVACMD=\"$JAVA_HOME/bin/java\"\n    fi\n    if [ ! -x \"$JAVACMD\" ] ; then\n        die \"ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME\n\nPlease set the JAVA_HOME variable in your environment to match the\nlocation of your Java installation.\"\n    fi\nelse\n    JAVACMD=\"java\"\n    which java >/dev/null 2>&1 || die \"ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.\n\nPlease set the JAVA_HOME variable in your environment to match the\nlocation of your Java installation.\"\nfi\n\n# Increase the maximum file descriptors if we can.\nif [ \"$cygwin\" = \"false\" -a \"$darwin\" = \"false\" ] ; then\n    MAX_FD_LIMIT=`ulimit -H -n`\n    if [ $? -eq 0 ] ; then\n        if [ \"$MAX_FD\" = \"maximum\" -o \"$MAX_FD\" = \"max\" ] ; then\n            MAX_FD=\"$MAX_FD_LIMIT\"\n        fi\n        ulimit -n $MAX_FD\n        if [ $? -ne 0 ] ; then\n            warn \"Could not set maximum file descriptor limit: $MAX_FD\"\n        fi\n    else\n        warn \"Could not query maximum file descriptor limit: $MAX_FD_LIMIT\"\n    fi\nfi\n\n# For Darwin, add options to specify how the application appears in the dock\nif $darwin; then\n    GRADLE_OPTS=\"$GRADLE_OPTS \\\"-Xdock:name=$APP_NAME\\\" \\\"-Xdock:icon=$APP_HOME/media/gradle.icns\\\"\"\nfi\n\n# For Cygwin, switch paths to Windows format before running java\nif $cygwin ; then\n    APP_HOME=`cygpath --path --mixed \"$APP_HOME\"`\n    CLASSPATH=`cygpath --path --mixed \"$CLASSPATH\"`\n\n    # We build the pattern for arguments to be converted via cygpath\n    ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`\n    SEP=\"\"\n    for dir in $ROOTDIRSRAW ; do\n        ROOTDIRS=\"$ROOTDIRS$SEP$dir\"\n        SEP=\"|\"\n    done\n    OURCYGPATTERN=\"(^($ROOTDIRS))\"\n    # Add a user-defined pattern to the cygpath arguments\n    if [ \"$GRADLE_CYGPATTERN\" != \"\" ] ; then\n        OURCYGPATTERN=\"$OURCYGPATTERN|($GRADLE_CYGPATTERN)\"\n    fi\n    # Now convert the arguments - kludge to limit ourselves to /bin/sh\n    i=0\n    for arg in \"$@\" ; do\n        CHECK=`echo \"$arg\"|egrep -c \"$OURCYGPATTERN\" -`\n        CHECK2=`echo \"$arg\"|egrep -c \"^-\"`                                 ### Determine if an option\n\n        if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then                    ### Added a condition\n            eval `echo args$i`=`cygpath --path --ignore --mixed \"$arg\"`\n        else\n            eval `echo args$i`=\"\\\"$arg\\\"\"\n        fi\n        i=$((i+1))\n    done\n    case $i in\n        (0) set -- ;;\n        (1) set -- \"$args0\" ;;\n        (2) set -- \"$args0\" \"$args1\" ;;\n        (3) set -- \"$args0\" \"$args1\" \"$args2\" ;;\n        (4) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" ;;\n        (5) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" ;;\n        (6) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" ;;\n        (7) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" \"$args6\" ;;\n        (8) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" \"$args6\" \"$args7\" ;;\n        (9) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" \"$args6\" \"$args7\" \"$args8\" ;;\n    esac\nfi\n\n# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules\nfunction splitJvmOpts() {\n    JVM_OPTS=(\"$@\")\n}\neval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS\nJVM_OPTS[${#JVM_OPTS[*]}]=\"-Dorg.gradle.appname=$APP_BASE_NAME\"\n\nexec \"$JAVACMD\" \"${JVM_OPTS[@]}\" -classpath \"$CLASSPATH\" org.gradle.wrapper.GradleWrapperMain \"$@\"\n"
  },
  {
    "path": "android/gradlew.bat",
    "content": "@if \"%DEBUG%\" == \"\" @echo off\r\n@rem ##########################################################################\r\n@rem\r\n@rem  Gradle startup script for Windows\r\n@rem\r\n@rem ##########################################################################\r\n\r\n@rem Set local scope for the variables with windows NT shell\r\nif \"%OS%\"==\"Windows_NT\" setlocal\r\n\r\n@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.\r\nset DEFAULT_JVM_OPTS=\r\n\r\nset DIRNAME=%~dp0\r\nif \"%DIRNAME%\" == \"\" set DIRNAME=.\r\nset APP_BASE_NAME=%~n0\r\nset APP_HOME=%DIRNAME%\r\n\r\n@rem Find java.exe\r\nif defined JAVA_HOME goto findJavaFromJavaHome\r\n\r\nset JAVA_EXE=java.exe\r\n%JAVA_EXE% -version >NUL 2>&1\r\nif \"%ERRORLEVEL%\" == \"0\" goto init\r\n\r\necho.\r\necho ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.\r\necho.\r\necho Please set the JAVA_HOME variable in your environment to match the\r\necho location of your Java installation.\r\n\r\ngoto fail\r\n\r\n:findJavaFromJavaHome\r\nset JAVA_HOME=%JAVA_HOME:\"=%\r\nset JAVA_EXE=%JAVA_HOME%/bin/java.exe\r\n\r\nif exist \"%JAVA_EXE%\" goto init\r\n\r\necho.\r\necho ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%\r\necho.\r\necho Please set the JAVA_HOME variable in your environment to match the\r\necho location of your Java installation.\r\n\r\ngoto fail\r\n\r\n:init\r\n@rem Get command-line arguments, handling Windowz variants\r\n\r\nif not \"%OS%\" == \"Windows_NT\" goto win9xME_args\r\nif \"%@eval[2+2]\" == \"4\" goto 4NT_args\r\n\r\n:win9xME_args\r\n@rem Slurp the command line arguments.\r\nset CMD_LINE_ARGS=\r\nset _SKIP=2\r\n\r\n:win9xME_args_slurp\r\nif \"x%~1\" == \"x\" goto execute\r\n\r\nset CMD_LINE_ARGS=%*\r\ngoto execute\r\n\r\n:4NT_args\r\n@rem Get arguments from the 4NT Shell from JP Software\r\nset CMD_LINE_ARGS=%$\r\n\r\n:execute\r\n@rem Setup the command line\r\n\r\nset CLASSPATH=%APP_HOME%\\gradle\\wrapper\\gradle-wrapper.jar\r\n\r\n@rem Execute Gradle\r\n\"%JAVA_EXE%\" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% \"-Dorg.gradle.appname=%APP_BASE_NAME%\" -classpath \"%CLASSPATH%\" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%\r\n\r\n:end\r\n@rem End local scope for the variables with windows NT shell\r\nif \"%ERRORLEVEL%\"==\"0\" goto mainEnd\r\n\r\n:fail\r\nrem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of\r\nrem the _cmd.exe /c_ return code!\r\nif  not \"\" == \"%GRADLE_EXIT_CONSOLE%\" exit 1\r\nexit /b 1\r\n\r\n:mainEnd\r\nif \"%OS%\"==\"Windows_NT\" endlocal\r\n\r\n:omega\r\n"
  },
  {
    "path": "android/settings.gradle",
    "content": "rootProject.name = 'Whats this'\n\ninclude ':app'\ninclude ':react-native-fs'\nproject(':react-native-fs').projectDir = new File(settingsDir, '../node_modules/react-native-fs/android')\ninclude ':react-native-camera-android'\nproject(':react-native-camera-android').projectDir = new File(settingsDir, '../node_modules/react-native-camera-android/android')"
  },
  {
    "path": "images/icon/ios/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"Icon-Small@2x.png\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\",\n      \"filename\" : \"Icon-Small@3x.png\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"Icon-40@2x.png\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\",\n      \"filename\" : \"Icon-40@3x.png\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"Icon-60@2x.png\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\",\n      \"filename\" : \"Icon-60@3x.png\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\",\n      \"filename\" : \"Icon-Small.png\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"Icon-Small@2x.png\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\",\n      \"filename\" : \"Icon-40.png\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"Icon-40@2x.png\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\",\n      \"filename\" : \"Icon-76.png\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"Icon-76@2x.png\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"83.5x83.5\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"Icon-83.5@2x.png\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"makeappicon\"\n  }\n}"
  },
  {
    "path": "images/icon/ios/README.md",
    "content": "## iTunesArtwork & iTunesArtwork@2x (App Icon) file extension:\n\nPNG extension is prepended to these two files - \n\nWhile Apple suggested to omit the extension for these files, \nthe '.png' extension is actually required for iTunesConnect submission.\n\nThis is done for you so you don't have to.\n\nHowever, for Ad_hoc or Enterprise distirbution, the extension should be removed\nfrom the files before adding to XCode to avoid error.\n\nrefs: https://developer.apple.com/library/ios/qa/qa1686/_index.html\n\n## iTunesArtwork & iTunesArtwork@2x (App Icon) transparency handling:\n\nAs images with alpha channels or transparencies cannot be set as an application's icon on\niTunesConnect, all transparent pixels in your images will be converted into \nsolid blacks.\n\nTo achieve the best result, you're advised to adjust the transparency settings \nin your source files before converting them with makeAppIcon.\n\nrefs: https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/AppIcons.html\n"
  },
  {
    "path": "images/icon/watchkit/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"size\" : \"24x24\",\n      \"idiom\" : \"watch\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"Icon-24@2x.png\",\n      \"role\" : \"notificationCenter\",\n      \"subtype\" : \"38mm\"\n    },\n    {\n      \"size\" : \"27.5x27.5\",\n      \"idiom\" : \"watch\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"Icon-27.5@2x.png\",\n      \"role\" : \"notificationCenter\",\n      \"subtype\" : \"42mm\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"watch\",\n      \"filename\" : \"Icon-29@2x.png\",\n      \"role\" : \"companionSettings\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"watch\",\n      \"filename\" : \"Icon-29@3x.png\",\n      \"role\" : \"companionSettings\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"watch\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"Icon-40@2x.png\",\n      \"role\" : \"appLauncher\",\n      \"subtype\" : \"38mm\"\n    },\n    {\n      \"size\" : \"44x44\",\n      \"idiom\" : \"watch\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"Icon-44@2x.png\",\n      \"role\" : \"longLook\",\n      \"subtype\" : \"42mm\"\n    },\n    {\n      \"size\" : \"86x86\",\n      \"idiom\" : \"watch\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"Icon-86@2x.png\",\n      \"role\" : \"quickLook\",\n      \"subtype\" : \"38mm\"\n    },\n    {\n      \"size\" : \"98x98\",\n      \"idiom\" : \"watch\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"Icon-98@2x.png\",\n      \"role\" : \"quickLook\",\n      \"subtype\" : \"42mm\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"makeappicon\"\n  }\n}"
  },
  {
    "path": "index.android.js",
    "content": "/**\n * Sample React Native App\n * https://github.com/facebook/react-native\n */\n'use strict';\n\nvar React = require('react-native');\nvar {\n  AppRegistry,\n  StyleSheet,\n  Text,\n  View,\n  Navigator,\n  BackAndroid,\n  ToastAndroid,\n  AsyncStorage,\n  Image\n} = React;\n\nvar MainView = require('./main');\nvar LanguageSelectView = require('./main/LanguageSelect');\nvar ImageSelectView = require('./main/ImageSelect');\n\nvar _navigator;\nvar _userDataDefault = {\n\n}\n\nBackAndroid.addEventListener('hardwareBackPress', () => {\n  if (_navigator.getCurrentRoutes().length === 1  ) {\n     return false;\n  }\n  _navigator.pop();\n  return true;\n});\n\nvar NavigationBar = React.createClass({\n  getInitialState: function() {\n    return {\n    }\n  },\n  componentDidMount: function() {\n\n  },\n  render: function() {\n    return (\n      <View><Text>What's This v0.1</Text></View>\n    )\n  }\n})\n\nvar whatsthis = React.createClass({\n\n  getInitialState: function() {\n    return {\n      loading: false,\n      versionKey: 'v0.1',\n      user: _userDataDefault\n    }\n  },\n  componentDidMount() {\n    this._loadInitialState().done();\n  },\n  async _loadInitialState() {\n    try {\n      var value = await AsyncStorage.getItem('userData');\n      if (value !== null){\n        // ToastAndroid.show('Welcome back', 1)\n        this.setState({ user: JSON.parse(value) });\n      } else {\n        // ToastAndroid.show('You are new, welcome.', 1)\n        this._setDefaultUserData().done();\n      }\n    } catch (error) {\n      ToastAndroid.show('存取資料出錯', 1)\n    }\n  },\n  async _setDefaultUserData() {\n    try {\n      await AsyncStorage.setItem('userData', JSON.stringify(_userDataDefault))\n    } catch (error) {\n      ToastAndroid.show(JSON.stringify(error), 1)\n    }\n  },\n  async _saveUserData() {\n    try {\n      await AsyncStorage.setItem('userData', JSON.stringify(this.state.user))\n    } catch (error) {\n      ToastAndroid.show(JSON.stringify(error), 1)\n    }\n  },\n\n  render: function() {\n    return (\n      <View style={{flex:1}}>\n        <Navigator\n          style={{flex:1}}\n          navigationBar={this._renderNavigationBar()}\n          initialRoute = {{ id: 'Home' }}\n          configureScene={this._configureScene}\n          renderScene={this._renderScene}\n        />\n        { this.state.loading ? <LoadingView /> : null }\n      </View>\n    );\n  },\n  _setLoading: function(state) {\n    this.setState({\n      loading: state\n    })\n  },\n  _renderNavigationBar: function() {\n    return (<View></View>);\n  },\n  _configureScene: function(route) {\n    switch(route.id) {\n      case 'Home':\n        return Navigator.SceneConfigs.FadeAndroid;\n      default:\n        return Navigator.SceneConfigs.PushFromRight;\n    }\n  },\n  _renderScene: function(route, navigator) {\n    _navigator = navigator\n    switch(route.id) {\n      case 'Home':\n        return (\n          <MainView\n            setLoading={this._setLoading}\n            getUserData={this._getUserData}\n            setUserData={this._setUserData}\n            navigator={navigator} />\n        );\n      case 'LanguageSelect':\n        return (\n          <LanguageSelectView\n            setLoading={this._setLoading}\n            getUserData={this._getUserData}\n            setUserData={this._setUserData}\n            navigator={navigator} />\n        );\n      case 'ImageSelect':\n        return (\n          <ImageSelectView\n            setLoading={this._setLoading}\n            getUserData={this._getUserData}\n            setUserData={this._setUserData}\n            navigator={navigator} />\n        );\n    }\n  },\n  _setUserData: function(key, value) {\n    var _user = this.state.user;\n    _user[key] = value;\n    this.setState({ user: _user });\n    this._saveUserData().done();\n  },\n  _getUserData: function(key) {\n    var _user = this.state.user;\n    return _user[key];\n  }\n});\n\n\nAppRegistry.registerComponent('whatsthis', () => whatsthis);\n"
  },
  {
    "path": "index.ios.js",
    "content": "/**\n * Sample React Native App\n * https://github.com/facebook/react-native\n */\n'use strict';\n\nvar React = require('react-native');\nvar {\n  AppRegistry,\n  StyleSheet,\n  Text,\n  View,\n  Navigator,\n  AsyncStorage,\n  Image\n} = React;\n\nvar MainView = require('./main');\nvar LanguageSelectView = require('./main/LanguageSelect');\nvar ImageSelectView = require('./main/ImageSelect');\n\nvar _navigator;\nvar _userDataDefault = {\n\n}\n\nvar NavigationBar = React.createClass({\n  getInitialState: function() {\n    return {\n    }\n  },\n  componentDidMount: function() {\n\n  },\n  render: function() {\n    return (\n      <View><Text>What's This v0.1</Text></View>\n    )\n  }\n})\n\nvar whatsthis = React.createClass({\n\n  getInitialState: function() {\n    return {\n      loading: false,\n      versionKey: 'v0.1',\n      user: _userDataDefault\n    }\n  },\n  componentDidMount() {\n    this._loadInitialState().done();\n  },\n  async _loadInitialState() {\n    try {\n      var value = await AsyncStorage.getItem('userData');\n      if (value !== null){\n        // ToastAndroid.show('Welcome back', 1)\n        this.setState({ user: JSON.parse(value) });\n      } else {\n        // ToastAndroid.show('You are new, welcome.', 1)\n        this._setDefaultUserData().done();\n      }\n    } catch (error) {\n      // ToastAndroid.show('存取資料出錯', 1)\n    }\n  },\n  async _setDefaultUserData() {\n    try {\n      await AsyncStorage.setItem('userData', JSON.stringify(_userDataDefault))\n    } catch (error) {\n      // ToastAndroid.show(JSON.stringify(error), 1)\n    }\n  },\n  async _saveUserData() {\n    try {\n      await AsyncStorage.setItem('userData', JSON.stringify(this.state.user))\n    } catch (error) {\n      // ToastAndroid.show(JSON.stringify(error), 1)\n    }\n  },\n\n  render: function() {\n    return (\n      <View style={{flex:1}}>\n        <Navigator\n          style={{flex:1}}\n          navigationBar={this._renderNavigationBar()}\n          initialRoute = {{ id: 'Home' }}\n          configureScene={this._configureScene}\n          renderScene={this._renderScene}\n        />\n        { this.state.loading ? <LoadingView /> : null }\n      </View>\n    );\n  },\n  _setLoading: function(state) {\n    this.setState({\n      loading: state\n    })\n  },\n  _renderNavigationBar: function() {\n    return (<View></View>);\n  },\n  _configureScene: function(route) {\n    switch(route.id) {\n      case 'Home':\n        return Navigator.SceneConfigs.FadeAndroid;\n      default:\n        return Navigator.SceneConfigs.PushFromRight;\n    }\n  },\n  _renderScene: function(route, navigator) {\n    _navigator = navigator\n    switch(route.id) {\n      case 'Home':\n        return (\n          <MainView\n            setLoading={this._setLoading}\n            getUserData={this._getUserData}\n            setUserData={this._setUserData}\n            navigator={navigator} />\n        );\n      case 'LanguageSelect':\n        return (\n          <LanguageSelectView\n            setLoading={this._setLoading}\n            getUserData={this._getUserData}\n            setUserData={this._setUserData}\n            navigator={navigator} />\n        );\n      case 'ImageSelect':\n        return (\n          <ImageSelectView\n            setLoading={this._setLoading}\n            getUserData={this._getUserData}\n            setUserData={this._setUserData}\n            navigator={navigator} />\n        );\n    }\n  },\n  _setUserData: function(key, value) {\n    var _user = this.state.user;\n    _user[key] = value;\n    this.setState({ user: _user });\n    this._saveUserData().done();\n  },\n  _getUserData: function(key) {\n    var _user = this.state.user;\n    return _user[key];\n  }\n});\n\n\nAppRegistry.registerComponent('whatsthis', () => whatsthis);\n"
  },
  {
    "path": "ios/whatsthis/AppDelegate.h",
    "content": "/**\n * Copyright (c) 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n#import <UIKit/UIKit.h>\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (nonatomic, strong) UIWindow *window;\n\n@end\n"
  },
  {
    "path": "ios/whatsthis/AppDelegate.m",
    "content": "/**\n * Copyright (c) 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n#import \"AppDelegate.h\"\n\n#import \"RCTRootView.h\"\n\n@implementation AppDelegate\n\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions\n{\n  NSURL *jsCodeLocation;\n\n  /**\n   * Loading JavaScript code - uncomment the one you want.\n   *\n   * OPTION 1\n   * Load from development server. Start the server from the repository root:\n   *\n   * $ npm start\n   *\n   * To run on device, change `localhost` to the IP address of your computer\n   * (you can get this by typing `ifconfig` into the terminal and selecting the\n   * `inet` value under `en0:`) and make sure your computer and iOS device are\n   * on the same Wi-Fi network.\n   */\n\n  jsCodeLocation = [NSURL URLWithString:@\"http://localhost:8081/index.ios.bundle?platform=ios&dev=true\"];\n\n  /**\n   * OPTION 2\n   * Load from pre-bundled file on disk. The static bundle is automatically\n   * generated by \"Bundle React Native code and images\" build step.\n   */\n\n//   jsCodeLocation = [[NSBundle mainBundle] URLForResource:@\"main\" withExtension:@\"jsbundle\"];\n\n  RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation\n                                                      moduleName:@\"whatsthis\"\n                                               initialProperties:nil\n                                                   launchOptions:launchOptions];\n\n  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];\n  UIViewController *rootViewController = [UIViewController new];\n  rootViewController.view = rootView;\n  self.window.rootViewController = rootViewController;\n  [self.window makeKeyAndVisible];\n  return YES;\n}\n\n@end\n"
  },
  {
    "path": "ios/whatsthis/Base.lproj/LaunchScreen.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"3.0\" toolsVersion=\"9531\" systemVersion=\"15B42\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"9529\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\"/>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view contentMode=\"scaleToFill\" id=\"iN0-l3-epB\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"736\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <color key=\"backgroundColor\" red=\"0.094117647060000004\" green=\"0.73725490199999999\" blue=\"0.61176470589999998\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n            <nil key=\"simulatedStatusBarMetrics\"/>\n            <simulatedScreenMetrics key=\"simulatedDestinationMetrics\" type=\"retina55\"/>\n            <point key=\"canvasLocation\" x=\"647\" y=\"363\"/>\n        </view>\n    </objects>\n</document>\n"
  },
  {
    "path": "ios/whatsthis/Images.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"29.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"58.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"87.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"80.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"120.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"57x57\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"57.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"57x57\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"114.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"60x60\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"120-1.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"60x60\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"180.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"29-1.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"58-1.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"40.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"80-1.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"50x50\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"50.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"50x50\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"100.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"72x72\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"72.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"72x72\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"114-1.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"76x76\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"76.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"76x76\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"152.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"83.5x83.5\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"83.png\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "ios/whatsthis/Images.xcassets/Brand Assets.launchimage/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"extent\" : \"full-screen\",\n      \"idiom\" : \"iphone\",\n      \"subtype\" : \"736h\",\n      \"filename\" : \"1242x2208.png\",\n      \"minimum-system-version\" : \"8.0\",\n      \"orientation\" : \"portrait\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"extent\" : \"full-screen\",\n      \"idiom\" : \"iphone\",\n      \"subtype\" : \"736h\",\n      \"filename\" : \"2208x1242.png\",\n      \"minimum-system-version\" : \"8.0\",\n      \"orientation\" : \"landscape\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"extent\" : \"full-screen\",\n      \"idiom\" : \"iphone\",\n      \"subtype\" : \"667h\",\n      \"filename\" : \"750x1334.png\",\n      \"minimum-system-version\" : \"8.0\",\n      \"orientation\" : \"portrait\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"orientation\" : \"portrait\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"640x960.png\",\n      \"extent\" : \"full-screen\",\n      \"minimum-system-version\" : \"7.0\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"extent\" : \"full-screen\",\n      \"idiom\" : \"iphone\",\n      \"subtype\" : \"retina4\",\n      \"filename\" : \"640x1136.png\",\n      \"minimum-system-version\" : \"7.0\",\n      \"orientation\" : \"portrait\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"orientation\" : \"portrait\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"768x1024.png\",\n      \"extent\" : \"full-screen\",\n      \"minimum-system-version\" : \"7.0\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"orientation\" : \"landscape\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"1024x768.png\",\n      \"extent\" : \"full-screen\",\n      \"minimum-system-version\" : \"7.0\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"orientation\" : \"portrait\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"1536x2048.png\",\n      \"extent\" : \"full-screen\",\n      \"minimum-system-version\" : \"7.0\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"orientation\" : \"landscape\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"2048x1536.png\",\n      \"extent\" : \"full-screen\",\n      \"minimum-system-version\" : \"7.0\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"orientation\" : \"portrait\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"320x480.png\",\n      \"extent\" : \"full-screen\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"orientation\" : \"portrait\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"640x960-1.png\",\n      \"extent\" : \"full-screen\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"orientation\" : \"portrait\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"640x1136-1.png\",\n      \"extent\" : \"full-screen\",\n      \"subtype\" : \"retina4\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"orientation\" : \"portrait\",\n      \"idiom\" : \"ipad\",\n      \"extent\" : \"full-screen\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"orientation\" : \"landscape\",\n      \"idiom\" : \"ipad\",\n      \"extent\" : \"full-screen\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"orientation\" : \"portrait\",\n      \"idiom\" : \"ipad\",\n      \"extent\" : \"full-screen\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"orientation\" : \"landscape\",\n      \"idiom\" : \"ipad\",\n      \"extent\" : \"full-screen\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"orientation\" : \"portrait\",\n      \"idiom\" : \"iphone\",\n      \"minimum-system-version\" : \"7.0\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"orientation\" : \"portrait\",\n      \"idiom\" : \"iphone\",\n      \"minimum-system-version\" : \"7.0\",\n      \"subtype\" : \"retina4\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "ios/whatsthis/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>NSAppTransportSecurity</key>\n\t<dict>\n\t\t<key>NSAllowsArbitraryLoads</key>\n\t\t<true/>\n\t</dict>\n\t<key>NSLocationWhenInUseUsageDescription</key>\n\t<string></string>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t</array>\n\t<key>UIViewControllerBasedStatusBarAppearance</key>\n\t<false/>\n</dict>\n</plist>\n"
  },
  {
    "path": "ios/whatsthis/main.m",
    "content": "/**\n * Copyright (c) 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n#import <UIKit/UIKit.h>\n\n#import \"AppDelegate.h\"\n\nint main(int argc, char * argv[]) {\n  @autoreleasepool {\n    return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));\n  }\n}\n"
  },
  {
    "path": "ios/whatsthis.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };\n\t\t00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };\n\t\t00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };\n\t\t00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };\n\t\t00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };\n\t\t00E356F31AD99517003FC87E /* whatsthisTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* whatsthisTests.m */; };\n\t\t133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };\n\t\t139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };\n\t\t139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; };\n\t\t13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };\n\t\t13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };\n\t\t13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };\n\t\t13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };\n\t\t146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };\n\t\t5901FE0E1C38134900799F97 /* libRNFS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5901FE0D1C38133F00799F97 /* libRNFS.a */; };\n\t\t592113461C38006600052D8D /* libRNAudioPlayer.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 592113421C38004C00052D8D /* libRNAudioPlayer.a */; };\n\t\t594065661C384F39009CBE6E /* icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 594065651C384F39009CBE6E /* icon.png */; };\n\t\t5949EE3F1C35BB3C00CBFF44 /* FileUpload.m in Sources */ = {isa = PBXBuildFile; fileRef = 5949EE3E1C35BB3C00CBFF44 /* FileUpload.m */; };\n\t\t595BBA581C3861D100A38606 /* 320x568.png in Resources */ = {isa = PBXBuildFile; fileRef = 595BBA571C3861D100A38606 /* 320x568.png */; };\n\t\t59F0EEC51C342B950089CC6B /* libRCTCamera.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 59F0EEBB1C342B770089CC6B /* libRCTCamera.a */; };\n\t\t832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\t00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 134814201AA4EA6300B7C361;\n\t\t\tremoteInfo = RCTActionSheet;\n\t\t};\n\t\t00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 134814201AA4EA6300B7C361;\n\t\t\tremoteInfo = RCTGeolocation;\n\t\t};\n\t\t00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 58B5115D1A9E6B3D00147676;\n\t\t\tremoteInfo = RCTImage;\n\t\t};\n\t\t00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 58B511DB1A9E6C8500147676;\n\t\t\tremoteInfo = RCTNetwork;\n\t\t};\n\t\t00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 832C81801AAF6DEF007FA2F7;\n\t\t\tremoteInfo = RCTVibration;\n\t\t};\n\t\t00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 13B07F861A680F5B00A75B9A;\n\t\t\tremoteInfo = whatsthis;\n\t\t};\n\t\t139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 134814201AA4EA6300B7C361;\n\t\t\tremoteInfo = RCTSettings;\n\t\t};\n\t\t139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 3C86DF461ADF2C930047B81A;\n\t\t\tremoteInfo = RCTWebSocket;\n\t\t};\n\t\t146834031AC3E56700842450 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;\n\t\t\tremoteInfo = React;\n\t\t};\n\t\t5901FE0C1C38133F00799F97 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 5901FE081C38133F00799F97 /* RNFS.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = F12AFB9B1ADAF8F800E0535D;\n\t\t\tremoteInfo = RNFS;\n\t\t};\n\t\t592113411C38004C00052D8D /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 592113311C38004C00052D8D /* RNAudioPlayer.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = EBE79C421B01EB5A00446766;\n\t\t\tremoteInfo = RNAudioPlayer;\n\t\t};\n\t\t592113431C38004C00052D8D /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 592113311C38004C00052D8D /* RNAudioPlayer.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = EBE79C4D1B01EB5B00446766;\n\t\t\tremoteInfo = RNAudioPlayerTests;\n\t\t};\n\t\t59F0EEBA1C342B770089CC6B /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 59F0EEB51C342B770089CC6B /* RCTCamera.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 4107012F1ACB723B00C6AA39;\n\t\t\tremoteInfo = RCTCamera;\n\t\t};\n\t\t78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 134814201AA4EA6300B7C361;\n\t\t\tremoteInfo = RCTLinking;\n\t\t};\n\t\t832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 58B5119B1A9E6C1200147676;\n\t\t\tremoteInfo = RCTText;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\t008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = \"<group>\"; };\n\t\t00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = RCTActionSheet.xcodeproj; path = \"../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj\"; sourceTree = \"<group>\"; };\n\t\t00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = RCTGeolocation.xcodeproj; path = \"../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj\"; sourceTree = \"<group>\"; };\n\t\t00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = RCTImage.xcodeproj; path = \"../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj\"; sourceTree = \"<group>\"; };\n\t\t00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = RCTNetwork.xcodeproj; path = \"../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj\"; sourceTree = \"<group>\"; };\n\t\t00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = RCTVibration.xcodeproj; path = \"../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj\"; sourceTree = \"<group>\"; };\n\t\t00E356EE1AD99517003FC87E /* whatsthisTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = whatsthisTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t00E356F21AD99517003FC87E /* whatsthisTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = whatsthisTests.m; sourceTree = \"<group>\"; };\n\t\t139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = RCTSettings.xcodeproj; path = \"../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj\"; sourceTree = \"<group>\"; };\n\t\t139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = RCTWebSocket.xcodeproj; path = \"../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj\"; sourceTree = \"<group>\"; };\n\t\t13B07F961A680F5B00A75B9A /* What's this.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = \"What's this.app\"; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = whatsthis/AppDelegate.h; sourceTree = \"<group>\"; };\n\t\t13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = whatsthis/AppDelegate.m; sourceTree = \"<group>\"; };\n\t\t13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = \"<group>\"; };\n\t\t13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = whatsthis/Images.xcassets; sourceTree = \"<group>\"; };\n\t\t13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = whatsthis/Info.plist; sourceTree = \"<group>\"; };\n\t\t13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = whatsthis/main.m; sourceTree = \"<group>\"; };\n\t\t146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = React.xcodeproj; path = \"../node_modules/react-native/React/React.xcodeproj\"; sourceTree = \"<group>\"; };\n\t\t5901FE081C38133F00799F97 /* RNFS.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = RNFS.xcodeproj; path = \"../node_modules/react-native-fs/RNFS.xcodeproj\"; sourceTree = \"<group>\"; };\n\t\t592113311C38004C00052D8D /* RNAudioPlayer.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = RNAudioPlayer.xcodeproj; path = \"../node_modules/react-native-audioplayer/RNAudioPlayer.xcodeproj\"; sourceTree = \"<group>\"; };\n\t\t594065651C384F39009CBE6E /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon.png; sourceTree = \"<group>\"; };\n\t\t5949EE3E1C35BB3C00CBFF44 /* FileUpload.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FileUpload.m; path = \"../node_modules/react-native-fileupload/FileUpload.m\"; sourceTree = \"<group>\"; };\n\t\t595BBA571C3861D100A38606 /* 320x568.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 320x568.png; sourceTree = \"<group>\"; };\n\t\t59F0EEB51C342B770089CC6B /* RCTCamera.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = RCTCamera.xcodeproj; path = \"../node_modules/react-native-camera/ios/RCTCamera.xcodeproj\"; sourceTree = \"<group>\"; };\n\t\t78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = RCTLinking.xcodeproj; path = \"../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj\"; sourceTree = \"<group>\"; };\n\t\t832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = RCTText.xcodeproj; path = \"../node_modules/react-native/Libraries/Text/RCTText.xcodeproj\"; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t00E356EB1AD99517003FC87E /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t13B07F8C1A680F5B00A75B9A /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t5901FE0E1C38134900799F97 /* libRNFS.a in Frameworks */,\n\t\t\t\t592113461C38006600052D8D /* libRNAudioPlayer.a in Frameworks */,\n\t\t\t\t59F0EEC51C342B950089CC6B /* libRCTCamera.a in Frameworks */,\n\t\t\t\t146834051AC3E58100842450 /* libReact.a in Frameworks */,\n\t\t\t\t00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,\n\t\t\t\t00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,\n\t\t\t\t00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,\n\t\t\t\t133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,\n\t\t\t\t00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,\n\t\t\t\t139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,\n\t\t\t\t832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,\n\t\t\t\t00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,\n\t\t\t\t139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t00C302A81ABCB8CE00DB3ED1 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t00C302B61ABCB90400DB3ED1 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t00C302BC1ABCB91800DB3ED1 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t00C302D41ABCB9D200DB3ED1 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t00C302E01ABCB9EE00DB3ED1 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t00E356EF1AD99517003FC87E /* whatsthisTests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t00E356F21AD99517003FC87E /* whatsthisTests.m */,\n\t\t\t\t00E356F01AD99517003FC87E /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = whatsthisTests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t00E356F01AD99517003FC87E /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t00E356F11AD99517003FC87E /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t139105B71AF99BAD00B5F7CC /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t139FDEE71B06529A00C62182 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t13B07FAE1A68108700A75B9A /* whatsthis */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t595BBA571C3861D100A38606 /* 320x568.png */,\n\t\t\t\t594065651C384F39009CBE6E /* icon.png */,\n\t\t\t\t008F07F21AC5B25A0029DE68 /* main.jsbundle */,\n\t\t\t\t13B07FAF1A68108700A75B9A /* AppDelegate.h */,\n\t\t\t\t13B07FB01A68108700A75B9A /* AppDelegate.m */,\n\t\t\t\t13B07FB51A68108700A75B9A /* Images.xcassets */,\n\t\t\t\t13B07FB61A68108700A75B9A /* Info.plist */,\n\t\t\t\t13B07FB11A68108700A75B9A /* LaunchScreen.xib */,\n\t\t\t\t13B07FB71A68108700A75B9A /* main.m */,\n\t\t\t);\n\t\t\tname = whatsthis;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t146834001AC3E56700842450 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t146834041AC3E56700842450 /* libReact.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5901FE091C38133F00799F97 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5901FE0D1C38133F00799F97 /* libRNFS.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t592113321C38004C00052D8D /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t592113421C38004C00052D8D /* libRNAudioPlayer.a */,\n\t\t\t\t592113441C38004C00052D8D /* RNAudioPlayerTests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t59F0EEB61C342B770089CC6B /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t59F0EEBB1C342B770089CC6B /* libRCTCamera.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t78C398B11ACF4ADC00677621 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t78C398B91ACF4ADC00677621 /* libRCTLinking.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t832341AE1AAA6A7D00B99B32 /* Libraries */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t59F0EEB51C342B770089CC6B /* RCTCamera.xcodeproj */,\n\t\t\t\t146833FF1AC3E56700842450 /* React.xcodeproj */,\n\t\t\t\t00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,\n\t\t\t\t00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,\n\t\t\t\t00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,\n\t\t\t\t78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,\n\t\t\t\t00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,\n\t\t\t\t139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,\n\t\t\t\t832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,\n\t\t\t\t00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,\n\t\t\t\t139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,\n\t\t\t);\n\t\t\tname = Libraries;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t832341B11AAA6A8300B99B32 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t832341B51AAA6A8300B99B32 /* libRCTText.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t83CBB9F61A601CBA00E9B192 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5901FE081C38133F00799F97 /* RNFS.xcodeproj */,\n\t\t\t\t592113311C38004C00052D8D /* RNAudioPlayer.xcodeproj */,\n\t\t\t\t5949EE3E1C35BB3C00CBFF44 /* FileUpload.m */,\n\t\t\t\t13B07FAE1A68108700A75B9A /* whatsthis */,\n\t\t\t\t832341AE1AAA6A7D00B99B32 /* Libraries */,\n\t\t\t\t00E356EF1AD99517003FC87E /* whatsthisTests */,\n\t\t\t\t83CBBA001A601CBA00E9B192 /* Products */,\n\t\t\t);\n\t\t\tindentWidth = 2;\n\t\t\tsourceTree = \"<group>\";\n\t\t\ttabWidth = 2;\n\t\t};\n\t\t83CBBA001A601CBA00E9B192 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t13B07F961A680F5B00A75B9A /* What's this.app */,\n\t\t\t\t00E356EE1AD99517003FC87E /* whatsthisTests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t00E356ED1AD99517003FC87E /* whatsthisTests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget \"whatsthisTests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t00E356EA1AD99517003FC87E /* Sources */,\n\t\t\t\t00E356EB1AD99517003FC87E /* Frameworks */,\n\t\t\t\t00E356EC1AD99517003FC87E /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t00E356F51AD99517003FC87E /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = whatsthisTests;\n\t\t\tproductName = whatsthisTests;\n\t\t\tproductReference = 00E356EE1AD99517003FC87E /* whatsthisTests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n\t\t13B07F861A680F5B00A75B9A /* whatsthis */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget \"whatsthis\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t13B07F871A680F5B00A75B9A /* Sources */,\n\t\t\t\t13B07F8C1A680F5B00A75B9A /* Frameworks */,\n\t\t\t\t13B07F8E1A680F5B00A75B9A /* Resources */,\n\t\t\t\t00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = whatsthis;\n\t\t\tproductName = \"Hello World\";\n\t\t\tproductReference = 13B07F961A680F5B00A75B9A /* What's this.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t83CBB9F71A601CBA00E9B192 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 0610;\n\t\t\t\tORGANIZATIONNAME = Facebook;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t00E356ED1AD99517003FC87E = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.2;\n\t\t\t\t\t\tTestTargetID = 13B07F861A680F5B00A75B9A;\n\t\t\t\t\t};\n\t\t\t\t\t13B07F861A680F5B00A75B9A = {\n\t\t\t\t\t\tDevelopmentTeam = A7LS5D5YBP;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject \"whatsthis\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 83CBB9F61A601CBA00E9B192;\n\t\t\tproductRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectReferences = (\n\t\t\t\t{\n\t\t\t\t\tProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;\n\t\t\t\t\tProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tProductGroup = 59F0EEB61C342B770089CC6B /* Products */;\n\t\t\t\t\tProjectRef = 59F0EEB51C342B770089CC6B /* RCTCamera.xcodeproj */;\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;\n\t\t\t\t\tProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;\n\t\t\t\t\tProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tProductGroup = 78C398B11ACF4ADC00677621 /* Products */;\n\t\t\t\t\tProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;\n\t\t\t\t\tProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;\n\t\t\t\t\tProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tProductGroup = 832341B11AAA6A8300B99B32 /* Products */;\n\t\t\t\t\tProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;\n\t\t\t\t\tProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tProductGroup = 139FDEE71B06529A00C62182 /* Products */;\n\t\t\t\t\tProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tProductGroup = 146834001AC3E56700842450 /* Products */;\n\t\t\t\t\tProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tProductGroup = 592113321C38004C00052D8D /* Products */;\n\t\t\t\t\tProjectRef = 592113311C38004C00052D8D /* RNAudioPlayer.xcodeproj */;\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tProductGroup = 5901FE091C38133F00799F97 /* Products */;\n\t\t\t\t\tProjectRef = 5901FE081C38133F00799F97 /* RNFS.xcodeproj */;\n\t\t\t\t},\n\t\t\t);\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t13B07F861A680F5B00A75B9A /* whatsthis */,\n\t\t\t\t00E356ED1AD99517003FC87E /* whatsthisTests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXReferenceProxy section */\n\t\t00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = libRCTActionSheet.a;\n\t\t\tremoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\t00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = libRCTGeolocation.a;\n\t\t\tremoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\t00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = libRCTImage.a;\n\t\t\tremoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\t00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = libRCTNetwork.a;\n\t\t\tremoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\t00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = libRCTVibration.a;\n\t\t\tremoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\t139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = libRCTSettings.a;\n\t\t\tremoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\t139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = libRCTWebSocket.a;\n\t\t\tremoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\t146834041AC3E56700842450 /* libReact.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = libReact.a;\n\t\t\tremoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\t5901FE0D1C38133F00799F97 /* libRNFS.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = libRNFS.a;\n\t\t\tremoteRef = 5901FE0C1C38133F00799F97 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\t592113421C38004C00052D8D /* libRNAudioPlayer.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = libRNAudioPlayer.a;\n\t\t\tremoteRef = 592113411C38004C00052D8D /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\t592113441C38004C00052D8D /* RNAudioPlayerTests.xctest */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = wrapper.cfbundle;\n\t\t\tpath = RNAudioPlayerTests.xctest;\n\t\t\tremoteRef = 592113431C38004C00052D8D /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\t59F0EEBB1C342B770089CC6B /* libRCTCamera.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = libRCTCamera.a;\n\t\t\tremoteRef = 59F0EEBA1C342B770089CC6B /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\t78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = libRCTLinking.a;\n\t\t\tremoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\t832341B51AAA6A8300B99B32 /* libRCTText.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = libRCTText.a;\n\t\t\tremoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n/* End PBXReferenceProxy section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t00E356EC1AD99517003FC87E /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t13B07F8E1A680F5B00A75B9A /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,\n\t\t\t\t13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,\n\t\t\t\t595BBA581C3861D100A38606 /* 320x568.png in Resources */,\n\t\t\t\t594065661C384F39009CBE6E /* icon.png in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXShellScriptBuildPhase section */\n\t\t00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"Bundle React Native code and images\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"../node_modules/react-native/packager/react-native-xcode.sh\";\n\t\t};\n/* End PBXShellScriptBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t00E356EA1AD99517003FC87E /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t00E356F31AD99517003FC87E /* whatsthisTests.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t13B07F871A680F5B00A75B9A /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t5949EE3F1C35BB3C00CBFF44 /* FileUpload.m in Sources */,\n\t\t\t\t13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,\n\t\t\t\t13B07FC11A68108700A75B9A /* main.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\t00E356F51AD99517003FC87E /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = 13B07F861A680F5B00A75B9A /* whatsthis */;\n\t\t\ttargetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin PBXVariantGroup section */\n\t\t13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t13B07FB21A68108700A75B9A /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.xib;\n\t\t\tpath = whatsthis;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t00E356F61AD99517003FC87E /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = whatsthisTests/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.2;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/whatsthis.app/whatsthis\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t00E356F71AD99517003FC87E /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = whatsthisTests/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.2;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/whatsthis.app/whatsthis\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t13B07F941A680F5B00A75B9A /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = \"Brand Assets\";\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\tDEAD_CODE_STRIPPING = NO;\n\t\t\t\tHEADER_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,\n\t\t\t\t\t\"$(SRCROOT)/../node_modules/react-native/React/**\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = whatsthis/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tOTHER_LDFLAGS = \"-ObjC\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.northfoxz.whatsthis;\n\t\t\t\tPRODUCT_NAME = \"What's this\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = 1;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t13B07F951A680F5B00A75B9A /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = \"Brand Assets\";\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\tHEADER_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,\n\t\t\t\t\t\"$(SRCROOT)/../node_modules/react-native/React/**\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = whatsthis/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tOTHER_LDFLAGS = \"-ObjC\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.northfoxz.whatsthis;\n\t\t\t\tPRODUCT_NAME = \"What's this\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = 1;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t83CBBA201A601CBA00E9B192 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tHEADER_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,\n\t\t\t\t\t\"$(SRCROOT)/../node_modules/react-native/React/**\",\n\t\t\t\t);\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 7.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tPRODUCT_NAME = \"What's this\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t83CBBA211A601CBA00E9B192 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = YES;\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tHEADER_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,\n\t\t\t\t\t\"$(SRCROOT)/../node_modules/react-native/React/**\",\n\t\t\t\t);\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 7.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tPRODUCT_NAME = \"What's this\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget \"whatsthisTests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t00E356F61AD99517003FC87E /* Debug */,\n\t\t\t\t00E356F71AD99517003FC87E /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget \"whatsthis\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t13B07F941A680F5B00A75B9A /* Debug */,\n\t\t\t\t13B07F951A680F5B00A75B9A /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject \"whatsthis\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t83CBBA201A601CBA00E9B192 /* Debug */,\n\t\t\t\t83CBBA211A601CBA00E9B192 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;\n}\n"
  },
  {
    "path": "ios/whatsthis.xcodeproj/xcshareddata/xcschemes/whatsthis.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0620\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"13B07F861A680F5B00A75B9A\"\n               BuildableName = \"What&apos;s this.app\"\n               BlueprintName = \"whatsthis\"\n               ReferencedContainer = \"container:whatsthis.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"NO\"\n            buildForArchiving = \"NO\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"00E356ED1AD99517003FC87E\"\n               BuildableName = \"whatsthisTests.xctest\"\n               BlueprintName = \"whatsthisTests\"\n               ReferencedContainer = \"container:whatsthis.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"00E356ED1AD99517003FC87E\"\n               BuildableName = \"whatsthisTests.xctest\"\n               BlueprintName = \"whatsthisTests\"\n               ReferencedContainer = \"container:whatsthis.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"13B07F861A680F5B00A75B9A\"\n            BuildableName = \"What&apos;s this.app\"\n            BlueprintName = \"whatsthis\"\n            ReferencedContainer = \"container:whatsthis.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"13B07F861A680F5B00A75B9A\"\n            BuildableName = \"What&apos;s this.app\"\n            BlueprintName = \"whatsthis\"\n            ReferencedContainer = \"container:whatsthis.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"13B07F861A680F5B00A75B9A\"\n            BuildableName = \"What&apos;s this.app\"\n            BlueprintName = \"whatsthis\"\n            ReferencedContainer = \"container:whatsthis.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "ios/whatsthisTests/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "ios/whatsthisTests/whatsthisTests.m",
    "content": "/**\n * Copyright (c) 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n#import <UIKit/UIKit.h>\n#import <XCTest/XCTest.h>\n\n#import \"RCTLog.h\"\n#import \"RCTRootView.h\"\n\n#define TIMEOUT_SECONDS 240\n#define TEXT_TO_LOOK_FOR @\"Welcome to React Native!\"\n\n@interface whatsthisTests : XCTestCase\n\n@end\n\n@implementation whatsthisTests\n\n- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test\n{\n  if (test(view)) {\n    return YES;\n  }\n  for (UIView *subview in [view subviews]) {\n    if ([self findSubviewInView:subview matching:test]) {\n      return YES;\n    }\n  }\n  return NO;\n}\n\n- (void)testRendersWelcomeScreen\n{\n  UIViewController *vc = [[[[UIApplication sharedApplication] delegate] window] rootViewController];\n  NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];\n  BOOL foundElement = NO;\n\n  __block NSString *redboxError = nil;\n  RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {\n    if (level >= RCTLogLevelError) {\n      redboxError = message;\n    }\n  });\n\n  while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {\n    [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];\n    [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];\n\n    foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {\n      if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {\n        return YES;\n      }\n      return NO;\n    }];\n  }\n\n  RCTSetLogFunction(RCTDefaultLogFunction);\n\n  XCTAssertNil(redboxError, @\"RedBox error: %@\", redboxError);\n  XCTAssertTrue(foundElement, @\"Couldn't find element with text '%@' in %d seconds\", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);\n}\n\n\n@end\n"
  },
  {
    "path": "main/ImageSelect/index.js",
    "content": "'use strict';\n\nvar React = require('react-native');\nvar {\n  AppRegistry,\n  StyleSheet,\n  Text,\n  View,\n  TouchableHighlight,\n  TouchableOpacity,\n  Image,\n  ListView\n} = React;\n\nvar whatsthis = React.createClass({\n  getInitialState() {\n    return {\n    }\n  },\n\n  render() {\n    return(\n      <View></View>\n    );\n  }\n\n});\n\n\nvar styles = StyleSheet.create({\n});\n\nmodule.exports = whatsthis"
  },
  {
    "path": "main/LanguageSelect/index.js",
    "content": "'use strict';\n\nvar React = require('react-native');\nvar {\n  AppRegistry,\n  StyleSheet,\n  Text,\n  View,\n  TouchableHighlight,\n  TouchableOpacity,\n  Image,\n  ListView\n} = React;\n\nvar whatsthis = React.createClass({\n  getInitialState() {\n    return {\n    }\n  },\n\n  render() {\n    return(\n      <View></View>\n    );\n  }\n\n});\n\n\nvar styles = StyleSheet.create({\n});\n\nmodule.exports = whatsthis"
  },
  {
    "path": "main/index.android.js",
    "content": "'use strict';\n\nvar React = require('react-native');\nvar {\n  AppRegistry,\n  StyleSheet,\n  Text,\n  View,\n  TouchableHighlight,\n  TouchableOpacity,\n  Image,\n  ListView,\n  Alert\n} = React;\n\nvar Camera = require('react-native-camera-android');\nvar AudioPlayer = require('react-native-audioplayer');\nvar RNFS = require('react-native-fs');\n\nvar ResultItem = React.createClass({\n  render: function() {\n    return (\n      <TouchableOpacity\n        onPress={this._pressListen}>\n        <Text\n          style={{textAlign:'left',color:'#ffffff',marginLeft:15}}>\n          {parseInt(this.props.resultIndex)+1}. {this.props.result}\n        </Text>\n      </TouchableOpacity>\n    )\n  },\n  _pressListen: function() {\n    this.props.listenByIndex(this.props.resultIndex);\n  }\n})\n\nvar whatsthis = React.createClass({\n  getInitialState() {\n    return {\n      capturedImage: '',\n      isUploading: false,\n      uploadProgress: 0,\n      showResult: false,\n      results: []\n    }\n  },\n\n  render() {\n    var resultView = [];\n    if(this.state.results.length == 0) {\n      resultView = <Text style={{color:'#ffffff',fontSize:25,textAlign:'center'}}>I don't know...</Text>\n    }else{\n      for(var result_i = 0; result_i < this.state.results.length; result_i++) {\n        resultView.push(\n          <ResultItem\n            key={result_i}\n            resultIndex={result_i}\n            listenByIndex={this._listenByIndex}\n            result={this.state.results[result_i]} />\n        )\n      }\n    }\n    return (\n      <View style={{flex:1}}>\n        {this.state.capturedImage == ''?\n          <View style={{flex:1}}>\n            <Camera\n              ref=\"cam\"\n              borderStrokeWidth={50}\n              viewFinderDisplay={false}\n              viewFinderDrawLaser={true}\n              torchMode={\"off\"}\n              style={styles.container}\n              onBarCodeRead={this._onBarCodeRead}\n              onPictureTaken={this._onPictureTaken}\n            ></Camera>\n            <TouchableHighlight\n              underlayColor={'#128f76'}\n              style={styles.whatsThisButton}\n              onPress={this._takePicture}>\n              <Text\n                style={styles.whatsThisButtonText}>WHAT'S THIS?</Text>\n            </TouchableHighlight>\n          </View>:\n          <View style={{flex:1,backgroundColor:'#555555',flexDirection:'column',alignItems:'stretch'}}>\n            <Image\n              style={styles.container}\n              source={{uri: this.state.capturedImage}}>\n              <View style={{flex:1,justifyContent:'center',alignItems:'center',backgroundColor:'rgba(0,0,0,0)'}}>\n                <View style={{width:200,height:300,backgroundColor:'rgba(0,0,0,0.3)',justifyContent:'space-between'}}>\n                  <Text style={{color:'#ffffff',fontSize:20,margin:15}}>This is:</Text>\n                  <View>\n                    {this.state.results.length == 0?\n                        <Image\n                          source={require('../images/translating.gif')} />:\n                        resultView\n                    }\n                  </View>\n                  <View\n                    style={styles.detailActions}>\n                    <TouchableHighlight\n                      underlayColor={'#798d8f'}\n                      style={styles.languageButton}\n                      onPress={this._changeLanguage}>\n                      <Text\n                        style={styles.languageButtonText}>ENGLISH</Text>\n                    </TouchableHighlight>\n                    <TouchableHighlight\n                      underlayColor={'#1a242f'}\n                      style={styles.listenButton}\n                      onPress={this._listen}>\n                      <Text\n                        style={styles.listenButtonText}>LISTEN</Text>\n                    </TouchableHighlight>\n                  </View>\n                </View>\n              </View>\n            </Image>\n            <TouchableHighlight\n              underlayColor={'#128f76'}\n              style={styles.whatsThisButton}\n              onPress={this._backToTakePicture}>\n              <Text\n                style={styles.whatsThisButtonText}>WHAT'S THIS?</Text>\n            </TouchableHighlight>\n          </View>\n        }\n      </View>\n    );\n  },\n  _onBarCodeRead(e) {\n    console.log(e);\n  },\n  _switchCamera() {\n    var state = this.state;\n  },\n  _takePicture() {\n    this.refs.cam.takePicture();\n  },\n  _onPictureTaken(event) {\n    if(event.type !== 'error') {\n      var data = 'file://' + event.message\n\n      this.setState({\n        capturedImage: data\n        // capturedImage: '/Users/northfoxz/Documents/TIL/tensorflow/learn/x.jpg'\n      })\n      var xhr = new XMLHttpRequest();\n      xhr.onload = () => {\n        this.setState({\n          isUploading: false\n        });\n        if (xhr.status !== 200) {\n          Alert.alert(xhr.status);\n          return;\n        }\n        if (!xhr.responseText) {\n          Alert.alert(JSON.stringify(xhr.responseText));\n          return;\n        }\n        this.setState({\n          results: JSON.parse(xhr.responseText)\n        })\n      };\n      var url = data;\n      var uploadUrl = 'http://scdb.standardcart.com:8000';\n      // var url = '/Users/northfoxz/Documents/TIL/tensorflow/learn/x.jpg'\n      // var uploadUrl = \"http://localhost:8000\"\n      xhr.open('POST', uploadUrl, true)\n      xhr.setRequestHeader('Content-Type', 'multipart/form-data')\n      var formData = new FormData();\n      var fileName = data.split('/')[data.split('/').length - 1];\n      formData.append(fileName, {uri: url, type: 'image/jpeg', name: fileName});\n      xhr.send(formData)\n    }\n  },\n  _backToTakePicture: function() {\n    this.setState({\n      capturedImage: '',\n      results: []\n    })\n  },\n  _changeLanguage: function() {\n\n  },\n  _listen: function() {\n    // https://translate.google.com/translate_tts?ie=UTF-8&q=hello&tl=en-US&client=tw-ob\n    var query = encodeURI(this.state.results[0]);\n    RNFS.downloadFile('https://translate.google.com/translate_tts?ie=UTF-8&q=' + query + '&tl=en-US&client=tw-ob', RNFS.DocumentDirectoryPath + '/translate.mp3')\n      .then((success) => {\n        // console.log(RNFS.DocumentDirectoryPath + '/translate.mp3');\n        AudioPlayer.play(RNFS.DocumentDirectoryPath + '/translate.mp3');\n      })\n      .catch((err) => {\n        console.log(err.message);\n      });\n  },\n  _listenByIndex: function(index) {\n    console.log(index);\n    var query = encodeURI(this.state.results[index]);\n    RNFS.downloadFile('https://translate.google.com/translate_tts?ie=UTF-8&q=' + query + '&tl=en-US&client=tw-ob', RNFS.DocumentDirectoryPath + '/translate.mp3')\n      .then((success) => {\n        // console.log(RNFS.DocumentDirectoryPath + '/translate.mp3');\n        AudioPlayer.play(RNFS.DocumentDirectoryPath + '/translate.mp3');\n      })\n      .catch((err) => {\n        console.log(err.message);\n      });\n  }\n\n});\n\n\nvar styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    justifyContent: 'flex-end',\n    flexDirection: 'column',\n    alignItems: 'stretch',\n    backgroundColor: '#F5FCFF',\n  },\n  whatsThisButton: {\n    backgroundColor: '#18bc9c',\n    padding: 15\n  },\n  whatsThisButtonText: {\n    color: '#ffffff',\n    fontSize: 18,\n    textAlign: 'center'\n  },\n  detailActions: {\n    flexDirection: 'row',\n    alignItems: 'stretch'\n  },\n  languageButton: {\n    flex:1,\n    backgroundColor: '#95a5a6',\n    padding: 15\n  },\n  languageButtonText: {\n    color: '#ffffff',\n    fontSize: 15,\n    textAlign: 'center'\n  },\n  listenButton: {\n    flex:1,\n    backgroundColor: '#2c3e50',\n    padding: 15\n  },\n  listenButtonText: {\n    color: '#ffffff',\n    fontSize: 15,\n    textAlign: 'center'\n  },\n  translationBox: {\n\n  },\n  welcome: {\n    fontSize: 20,\n    textAlign: 'center',\n    margin: 10,\n  },\n  instructions: {\n    textAlign: 'center',\n    color: '#333333',\n    marginBottom: 5,\n  },\n});\n\nmodule.exports = whatsthis"
  },
  {
    "path": "main/index.ios.js",
    "content": "'use strict';\n\nvar React = require('react-native');\nvar {\n  AppRegistry,\n  StyleSheet,\n  Text,\n  View,\n  TouchableHighlight,\n  TouchableOpacity,\n  Image,\n  ListView\n} = React;\n\nvar Camera = require('react-native-camera');\nvar AudioPlayer = require('react-native-audioplayer');\nvar RNFS = require('react-native-fs');\n\nvar ResultItem = React.createClass({\n  render: function() {\n    return (\n      <TouchableOpacity\n        onPress={this._pressListen}>\n        <Text\n          style={{textAlign:'left',color:'#ffffff',marginLeft:15}}>\n          {parseInt(this.props.resultIndex)+1}. {this.props.result}\n        </Text>\n      </TouchableOpacity>\n    )\n  },\n  _pressListen: function() {\n    this.props.listenByIndex(this.props.resultIndex);\n  }\n})\n\nvar whatsthis = React.createClass({\n  getInitialState() {\n    return {\n      cameraType: Camera.constants.Type.back,\n      capturedImage: '',\n      isUploading: false,\n      uploadProgress: 0,\n      showResult: false,\n      results: []\n    }\n  },\n\n  render() {\n    var resultView = [];\n    if(this.state.results.length == 0) {\n      resultView = <Text style={{color:'#ffffff',fontSize:25,textAlign:'center'}}>I don't know...</Text>\n    }else{\n      for(var result_i = 0; result_i < this.state.results.length; result_i++) {\n        resultView.push(\n          <ResultItem\n            key={result_i}\n            resultIndex={result_i}\n            listenByIndex={this._listenByIndex}\n            result={this.state.results[result_i]} />\n        )\n      }\n    }\n    return (\n      <Camera\n        ref=\"cam\"\n        style={styles.container}\n        captureTarget={Camera.constants.CaptureTarget.disk}\n        onBarCodeRead={this._onBarCodeRead}\n        type={this.state.cameraType}\n      >\n        {this.state.capturedImage == ''?\n          <TouchableHighlight\n            underlayColor={'#128f76'}\n            style={styles.whatsThisButton}\n            onPress={this._takePicture}>\n            <Text\n              style={styles.whatsThisButtonText}>WHAT'S THIS?</Text>\n          </TouchableHighlight>:\n          <Image\n            style={styles.container}\n            source={{uri: this.state.capturedImage}}>\n            <View style={{flex:1,justifyContent:'center',alignItems:'center',backgroundColor:'rgba(0,0,0,0)'}}>\n              <View style={{width:200,height:300,backgroundColor:'rgba(0,0,0,0.3)',justifyContent:'space-between'}}>\n                <Text style={{color:'#ffffff',fontSize:20,margin:15}}>This is:</Text>\n                <View>\n                  {this.state.results.length == 0?\n                      <Image\n                        source={require('../images/translating.gif')} />:\n                      resultView\n                  }\n                </View>\n                <View\n                  style={styles.detailActions}>\n                  <TouchableHighlight\n                    underlayColor={'#798d8f'}\n                    style={styles.languageButton}\n                    onPress={this._changeLanguage}>\n                    <Text\n                      style={styles.languageButtonText}>ENGLISH</Text>\n                  </TouchableHighlight>\n                  <TouchableHighlight\n                    underlayColor={'#1a242f'}\n                    style={styles.listenButton}\n                    onPress={this._listen}>\n                    <Text\n                      style={styles.listenButtonText}>LISTEN</Text>\n                  </TouchableHighlight>\n                </View>\n              </View>\n            </View>\n            <TouchableHighlight\n              underlayColor={'#128f76'}\n              style={styles.whatsThisButton}\n              onPress={this._backToTakePicture}>\n              <Text\n                style={styles.whatsThisButtonText}>WHAT'S THIS?</Text>\n            </TouchableHighlight>\n          </Image>\n        }\n      </Camera>\n    );\n  },\n  _onBarCodeRead(e) {\n    console.log(e);\n  },\n  _switchCamera() {\n    var state = this.state;\n    state.cameraType = state.cameraType === Camera.constants.Type.back\n      ? Camera.constants.Type.front : Camera.constants.Type.back;\n    this.setState(state);\n  },\n  _takePicture() {\n    var that = this;\n    this.refs.cam.capture(function(err, data) {\n      if(!err) {\n        that.setState({\n          capturedImage: data\n          // capturedImage: '/Users/northfoxz/Documents/TIL/tensorflow/learn/x.jpg'\n        })\n        var xhr = new XMLHttpRequest();\n        xhr.onload = () => {\n          that.setState({\n            isUploading: false\n          });\n          if (xhr.status !== 200) {\n            alert('error')\n            return;\n          }\n          if (!xhr.responseText) {\n            alert('error')\n            return;\n          }\n          that.setState({\n            results: JSON.parse(xhr.responseText)\n          })\n        };\n        var url = data;\n        var uploadUrl = 'http://scdb.standardcart.com:8000';\n        // var url = '/Users/northfoxz/Documents/TIL/tensorflow/learn/x.jpg'\n        // var uploadUrl = \"http://localhost:8000\"\n        xhr.open('POST', uploadUrl, true)\n        xhr.setRequestHeader('Content-Type', 'image/jpeg')\n        var formData = new FormData();\n        var fileName = data.split('/')[data.split('/').length - 1];\n        console.log(data.split('/')[data.split('/').length - 1]);\n        formData.append(fileName, {uri: url}, fileName);\n        xhr.send(formData)\n      }\n    })\n  },\n  _backToTakePicture: function() {\n    this.setState({\n      capturedImage: '',\n      results: []\n    })\n  },\n  _changeLanguage: function() {\n\n  },\n  _listen: function() {\n    // https://translate.google.com/translate_tts?ie=UTF-8&q=hello&tl=en-US&client=tw-ob\n    var query = encodeURI(this.state.results[0]);\n    RNFS.downloadFile('https://translate.google.com/translate_tts?ie=UTF-8&q=' + query + '&tl=en-US&client=tw-ob', RNFS.DocumentDirectoryPath + '/translate.mp3')\n      .then((success) => {\n        // console.log(RNFS.DocumentDirectoryPath + '/translate.mp3');\n        AudioPlayer.play(RNFS.DocumentDirectoryPath + '/translate.mp3');\n      })\n      .catch((err) => {\n        console.log(err.message);\n      });\n  },\n  _listenByIndex: function(index) {\n    console.log(index);\n    var query = encodeURI(this.state.results[index]);\n    RNFS.downloadFile('https://translate.google.com/translate_tts?ie=UTF-8&q=' + query + '&tl=en-US&client=tw-ob', RNFS.DocumentDirectoryPath + '/translate.mp3')\n      .then((success) => {\n        // console.log(RNFS.DocumentDirectoryPath + '/translate.mp3');\n        AudioPlayer.play(RNFS.DocumentDirectoryPath + '/translate.mp3');\n      })\n      .catch((err) => {\n        console.log(err.message);\n      });\n  }\n\n});\n\n\nvar styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    justifyContent: 'flex-end',\n    flexDirection: 'column',\n    alignItems: 'stretch',\n    backgroundColor: '#F5FCFF',\n  },\n  whatsThisButton: {\n    backgroundColor: '#18bc9c',\n    padding: 15\n  },\n  whatsThisButtonText: {\n    color: '#ffffff',\n    fontSize: 18,\n    textAlign: 'center'\n  },\n  detailActions: {\n    flexDirection: 'row',\n    alignItems: 'stretch'\n  },\n  languageButton: {\n    flex:1,\n    backgroundColor: '#95a5a6',\n    padding: 15\n  },\n  languageButtonText: {\n    color: '#ffffff',\n    fontSize: 15,\n    textAlign: 'center'\n  },\n  listenButton: {\n    flex:1,\n    backgroundColor: '#2c3e50',\n    padding: 15\n  },\n  listenButtonText: {\n    color: '#ffffff',\n    fontSize: 15,\n    textAlign: 'center'\n  },\n  translationBox: {\n\n  },\n  welcome: {\n    fontSize: 20,\n    textAlign: 'center',\n    margin: 10,\n  },\n  instructions: {\n    textAlign: 'center',\n    color: '#333333',\n    marginBottom: 5,\n  },\n});\n\nmodule.exports = whatsthis"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"whatsthis\",\n  \"version\": \"0.0.1\",\n  \"private\": true,\n  \"scripts\": {\n    \"start\": \"react-native start\"\n  },\n  \"dependencies\": {\n    \"atob\": \"^2.0.0\",\n    \"base-64\": \"^0.1.0\",\n    \"btoa-lite\": \"^1.0.0\",\n    \"buffer\": \"^3.6.0\",\n    \"fs\": \"0.0.2\",\n    \"react-native\": \"^0.17.0\",\n    \"react-native-audioplayer\": \"^0.2.0\",\n    \"react-native-barcodescanner\": \"^0.1.3\",\n    \"react-native-camera\": \"^0.3.8\",\n    \"react-native-fileupload\": \"^1.2.0\",\n    \"react-native-fs\": \"^1.1.0\",\n    \"react-native-webview-android\": \"^1.0.12\",\n    \"uint8\": \"^1.0.0\"\n  }\n}\n"
  },
  {
    "path": "server/classify_image.py",
    "content": "# Copyright 2015 Google Inc. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n# ==============================================================================\n\n\"\"\"\nSimple image classification with Inception.\nRun image classification with Inception trained on ImageNet 2012 Challenge data\nset.\nThis program creates a graph from a saved GraphDef protocol buffer,\nand runs inference on an input JPEG image. It outputs human readable\nstrings of the top 5 predictions along with their probabilities.\nChange the --image_file argument to any jpg image to compute a\nclassification of that image.\nPlease see the tutorial and website for a detailed description of how\nto use this script to perform image recognition.\nhttps://tensorflow.org/tutorials/image_recognition/\n\"\"\"\n\nimport os.path\nimport re\nimport sys\nimport tarfile\n\n# pylint: disable=unused-import,g-bad-import-order\nimport tensorflow.python.platform\nfrom six.moves import urllib\nimport numpy as np\nimport tensorflow as tf\n# pylint: enable=unused-import,g-bad-import-order\n\nfrom tensorflow.python.platform import gfile\n\nFLAGS = tf.app.flags.FLAGS\n\n# classify_image_graph_def.pb:\n#   Binary representation of the GraphDef protocol buffer.\n# imagenet_synset_to_human_label_map.txt:\n#   Map from synset ID to a human readable string.\n# imagenet_2012_challenge_label_map_proto.pbtxt:\n#   Text representation of a protocol buffer mapping a label to synset ID.\ntf.app.flags.DEFINE_string(\n    'model_dir', '/tmp/imagenet',\n    \"\"\"Path to classify_image_graph_def.pb, \"\"\"\n    \"\"\"imagenet_synset_to_human_label_map.txt, and \"\"\"\n    \"\"\"imagenet_2012_challenge_label_map_proto.pbtxt.\"\"\")\ntf.app.flags.DEFINE_string('image_file', '',\n                           \"\"\"Absolute path to image file.\"\"\")\ntf.app.flags.DEFINE_integer('num_top_predictions', 5,\n                            \"\"\"Display this many predictions.\"\"\")\n\n# pylint: disable=line-too-long\nDATA_URL = 'http://download.tensorflow.org/models/image/imagenet/inception-2015-12-05.tgz'\n# pylint: enable=line-too-long\n\n\nclass NodeLookup(object):\n  \"\"\"Converts integer node ID's to human readable labels.\"\"\"\n\n  def __init__(self,\n               label_lookup_path=None,\n               uid_lookup_path=None):\n    if not label_lookup_path:\n      label_lookup_path = os.path.join(\n          FLAGS.model_dir, 'imagenet_2012_challenge_label_map_proto.pbtxt')\n    if not uid_lookup_path:\n      uid_lookup_path = os.path.join(\n          FLAGS.model_dir, 'imagenet_synset_to_human_label_map.txt')\n    self.node_lookup = self.load(label_lookup_path, uid_lookup_path)\n\n  def load(self, label_lookup_path, uid_lookup_path):\n    \"\"\"Loads a human readable English name for each softmax node.\n    Args:\n      label_lookup_path: string UID to integer node ID.\n      uid_lookup_path: string UID to human-readable string.\n    Returns:\n      dict from integer node ID to human-readable string.\n    \"\"\"\n    if not gfile.Exists(uid_lookup_path):\n      tf.logging.fatal('File does not exist %s', uid_lookup_path)\n    if not gfile.Exists(label_lookup_path):\n      tf.logging.fatal('File does not exist %s', label_lookup_path)\n\n    # Loads mapping from string UID to human-readable string\n    proto_as_ascii_lines = gfile.GFile(uid_lookup_path).readlines()\n    uid_to_human = {}\n    p = re.compile(r'[n\\d]*[ \\S,]*')\n    for line in proto_as_ascii_lines:\n      parsed_items = p.findall(line)\n      uid = parsed_items[0]\n      human_string = parsed_items[2]\n      uid_to_human[uid] = human_string\n\n    # Loads mapping from string UID to integer node ID.\n    node_id_to_uid = {}\n    proto_as_ascii = gfile.GFile(label_lookup_path).readlines()\n    for line in proto_as_ascii:\n      if line.startswith('  target_class:'):\n        target_class = int(line.split(': ')[1])\n      if line.startswith('  target_class_string:'):\n        target_class_string = line.split(': ')[1]\n        node_id_to_uid[target_class] = target_class_string[1:-2]\n\n    # Loads the final mapping of integer node ID to human-readable string\n    node_id_to_name = {}\n    for key, val in node_id_to_uid.items():\n      if val not in uid_to_human:\n        tf.logging.fatal('Failed to locate: %s', val)\n      name = uid_to_human[val]\n      node_id_to_name[key] = name\n\n    return node_id_to_name\n\n  def id_to_string(self, node_id):\n    if node_id not in self.node_lookup:\n      return ''\n    return self.node_lookup[node_id]\n\nclass Inception:\n\n  def __init__(self):\n    \"\"\"\"Creates a graph from saved GraphDef file and returns a saver.\"\"\"\n    # Creates graph from saved graph_def.pb.\n    with gfile.FastGFile(os.path.join(\n        FLAGS.model_dir, 'classify_image_graph_def.pb'), 'rb') as f:\n      graph_def = tf.GraphDef()\n      graph_def.ParseFromString(f.read())\n      _ = tf.import_graph_def(graph_def, name='')\n\n    # Creates node ID --> English string lookup.\n    self.node_lookup = NodeLookup()\n\n\n  def run_inference_on_image(self, image):\n    \"\"\"Runs inference on an image.\n    Args:\n      image: Image file name.\n    Returns:\n      Nothing\n    \"\"\"\n    if not gfile.Exists(image):\n      tf.logging.fatal('File does not exist %s', image)\n    image_data = gfile.FastGFile(image, 'rb').read()\n\n    result = []\n    with tf.Session() as sess:\n      # Some useful tensors:\n      # 'softmax:0': A tensor containing the normalized prediction across\n      #   1000 labels.\n      # 'pool_3:0': A tensor containing the next-to-last layer containing 2048\n      #   float description of the image.\n      # 'DecodeJpeg/contents:0': A tensor containing a string providing JPEG\n      #   encoding of the image.\n      # Runs the softmax tensor by feeding the image_data as input to the graph.\n      softmax_tensor = sess.graph.get_tensor_by_name('softmax:0')\n      predictions = sess.run(softmax_tensor,\n                             {'DecodeJpeg/contents:0': image_data})\n      predictions = np.squeeze(predictions)\n\n      top_k = predictions.argsort()[-FLAGS.num_top_predictions:][::-1]\n      for node_id in top_k:\n        human_string = self.node_lookup.id_to_string(node_id)\n        score = predictions[node_id]\n        # print('%s (score = %.5f)' % (human_string, score))\n        result.append(human_string)\n    return result\n\n\n  # def maybe_download_and_extract():\n  #   \"\"\"Download and extract model tar file.\"\"\"\n  #   dest_directory = FLAGS.model_dir\n  #   if not os.path.exists(dest_directory):\n  #     os.makedirs(dest_directory)\n  #   filename = DATA_URL.split('/')[-1]\n  #   filepath = os.path.join(dest_directory, filename)\n  #   if not os.path.exists(filepath):\n  #     def _progress(count, block_size, total_size):\n  #       sys.stdout.write('\\r>> Downloading %s %.1f%%' % (\n  #           filename, float(count * block_size) / float(total_size) * 100.0))\n  #       sys.stdout.flush()\n  #     filepath, _ = urllib.request.urlretrieve(DATA_URL, filepath,\n  #                                              reporthook=_progress)\n  #     print()\n  #     statinfo = os.stat(filepath)\n  #     print('Succesfully downloaded', filename, statinfo.st_size, 'bytes.')\n  #   tarfile.open(filepath, 'r:gz').extractall(dest_directory)\n\n\n# def main(_):\n#   maybe_download_and_extract()\n#   image = (FLAGS.image_file if FLAGS.image_file else\n#            os.path.join(FLAGS.model_dir, 'cropped_panda.jpg'))\n#   run_inference_on_image(image)\n\n\n# if __name__ == '__main__':\n#   tf.app.run()"
  },
  {
    "path": "server/inceptionServer.py",
    "content": "#!/usr/bin/env python\n\n\"\"\"Simple HTTP Server With Upload.\n\nThis module builds on BaseHTTPServer by implementing the standard GET\nand HEAD requests in a fairly straightforward manner.\n\n\"\"\"\n\n\n__version__ = \"1.0\"\n\nimport os\nimport posixpath\nimport BaseHTTPServer\nimport urllib\nimport cgi\nimport shutil\nimport mimetypes\nimport re\nimport classify_image\nimport json\ntry:\n    from cStringIO import StringIO\nexcept ImportError:\n    from StringIO import StringIO\n\nInception = classify_image.Inception()\n\nclass SimpleHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):\n\n    \"\"\"Simple HTTP request handler with GET/HEAD/POST commands.\n\n    This serves files from the current directory and any of its\n    subdirectories.  The MIME type for files is determined by\n    calling the .guess_type() method. And can reveive file uploaded\n    by client.\n\n    The GET/HEAD/POST requests are identical except that the HEAD\n    request omits the actual contents of the file.\n\n    \"\"\"\n\n    server_version = \"SimpleHTTPWithUpload/\" + __version__\n        \n\n    def do_OPTIONS(self):\n        self.sendResponse(200)\n        self.processRequest()\n\n    def do_GET(self):\n        \"\"\"\n        Testing tensorflow\n        \"\"\"\n        classify_image.run_inference_on_image('x.jpg')\n        f = self.send_head()\n        if f:\n            self.copyfile(f, self.wfile)\n            f.close()\n\n    def do_HEAD(self):\n        \"\"\"Serve a HEAD request.\"\"\"\n        f = self.send_head()\n        if f:\n            f.close()\n\n    def do_POST(self):\n        \"\"\"Serve a POST request.\"\"\"\n        r, info = self.deal_post_data()\n        print r, info, \"by: \", self.client_address\n        f = StringIO()\n        if r:\n            fileName = info.rsplit('/', 1)[1]\n            f.write(json.dumps(Inception.run_inference_on_image(fileName)))\n            length = f.tell()\n            f.seek(0)\n            self.send_response(200)\n        else:\n            f.write(\"{error:error}\")\n            length = f.tell()\n            f.seek(0)\n            self.send_response(400)\n        self.send_header(\"Access-Control-Allow-Origin\", \"*\")\n        self.send_header(\"Content-type\", \"text/html\")\n        self.send_header(\"Content-Length\", str(length))\n        self.end_headers()\n        if f:\n            self.copyfile(f, self.wfile)\n            f.close()\n        \n    def deal_post_data(self):\n\tprint self.headers\n        boundary = self.headers.plisttext.split(\"=\")[1].split(\"\\\"\")[1].split(\"\\\"\")[0]\n\tremainbytes = int(self.headers['content-length'])\n\tline = self.rfile.readline()\n        remainbytes -= len(line)\n        if not boundary in line:\n            return (False, \"Content NOT begin with boundary\")\n        line = self.rfile.readline()\n        remainbytes -= len(line)\n        print line\n\tfn = re.findall(r'content-disposition.* name=\"(.*)\"', line)\n        if not fn:\n            return (False, \"Can't find out file name...\")\n        path = self.translate_path(self.path)\n        fn = os.path.join(path, fn[0])\n        line = self.rfile.readline()\n        remainbytes -= len(line)\n        line = self.rfile.readline()\n        remainbytes -= len(line)\n        try:\n            out = open(fn, 'wb')\n        except IOError:\n            return (False, \"Can't create file to write, do you have permission to write?\")\n                \n        preline = self.rfile.readline()\n        remainbytes -= len(preline)\n\tprint remainbytes\n        while remainbytes > 0:\n            line = self.rfile.readline()\n            remainbytes -= len(line)\n            if boundary in line:\n                preline = preline[0:-1]\n                if preline.endswith('\\r'):\n                    preline = preline[0:-1]\n                out.write(preline)\n                out.close()\n                return (True, fn)\n            else:\n                out.write(preline)\n                preline = line\n        return (False, \"Unexpect Ends of data.\")\n\n    def send_head(self):\n        \"\"\"Common code for GET and HEAD commands.\n\n        This sends the response code and MIME headers.\n\n        Return value is either a file object (which has to be copied\n        to the outputfile by the caller unless the command was HEAD,\n        and must be closed by the caller under all circumstances), or\n        None, in which case the caller has nothing further to do.\n\n        \"\"\"\n        path = self.translate_path(self.path)\n        f = None\n        if os.path.isdir(path):\n            if not self.path.endswith('/'):\n                # redirect browser - doing basically what apache does\n                self.send_response(301)\n                self.send_header(\"Location\", self.path + \"/\")\n                self.end_headers()\n                return None\n            for index in \"index.html\", \"index.htm\":\n                index = os.path.join(path, index)\n                if os.path.exists(index):\n                    path = index\n                    break\n            else:\n                return self.list_directory(path)\n        ctype = self.guess_type(path)\n        try:\n            # Always read in binary mode. Opening files in text mode may cause\n            # newline translations, making the actual size of the content\n            # transmitted *less* than the content-length!\n            f = open(path, 'rb')\n        except IOError:\n            self.send_error(404, \"File not found\")\n            return None\n        self.send_response(200)\n        self.send_header(\"Content-type\", ctype)\n        fs = os.fstat(f.fileno())\n        self.send_header(\"Content-Length\", str(fs[6]))\n        self.send_header(\"Last-Modified\", self.date_time_string(fs.st_mtime))\n        self.end_headers()\n        return f\n\n    def list_directory(self, path):\n        \"\"\"Helper to produce a directory listing (absent index.html).\n\n        Return value is either a file object, or None (indicating an\n        error).  In either case, the headers are sent, making the\n        interface the same as for send_head().\n\n        \"\"\"\n        try:\n            list = os.listdir(path)\n        except os.error:\n            self.send_error(404, \"No permission to list directory\")\n            return None\n        list.sort(key=lambda a: a.lower())\n        f = StringIO()\n        displaypath = cgi.escape(urllib.unquote(self.path))\n        f.write('<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">')\n        f.write(\"<html>\\n<title>Directory listing for %s</title>\\n\" % displaypath)\n        f.write(\"<body>\\n<h2>Directory listing for %s</h2>\\n\" % displaypath)\n        f.write(\"<hr>\\n\")\n        f.write(\"<form ENCTYPE=\\\"multipart/form-data\\\" method=\\\"post\\\">\")\n        f.write(\"<input name=\\\"file\\\" type=\\\"file\\\"/>\")\n        f.write(\"<input type=\\\"submit\\\" value=\\\"upload\\\"/></form>\\n\")\n        f.write(\"<hr>\\n<ul>\\n\")\n        for name in list:\n            fullname = os.path.join(path, name)\n            displayname = linkname = name\n            # Append / for directories or @ for symbolic links\n            if os.path.isdir(fullname):\n                displayname = name + \"/\"\n                linkname = name + \"/\"\n            if os.path.islink(fullname):\n                displayname = name + \"@\"\n                # Note: a link to a directory displays with @ and links with /\n            f.write('<li><a href=\"%s\">%s</a>\\n'\n                    % (urllib.quote(linkname), cgi.escape(displayname)))\n        f.write(\"</ul>\\n<hr>\\n</body>\\n</html>\\n\")\n        length = f.tell()\n        f.seek(0)\n        self.send_response(200)\n        self.send_header(\"Content-type\", \"text/html\")\n        self.send_header(\"Content-Length\", str(length))\n        self.end_headers()\n        return f\n\n    def translate_path(self, path):\n        \"\"\"Translate a /-separated PATH to the local filename syntax.\n\n        Components that mean special things to the local file system\n        (e.g. drive or directory names) are ignored.  (XXX They should\n        probably be diagnosed.)\n\n        \"\"\"\n        # abandon query parameters\n        path = path.split('?',1)[0]\n        path = path.split('#',1)[0]\n        path = posixpath.normpath(urllib.unquote(path))\n        words = path.split('/')\n        words = filter(None, words)\n        path = os.getcwd()\n        for word in words:\n            drive, word = os.path.splitdrive(word)\n            head, word = os.path.split(word)\n            if word in (os.curdir, os.pardir): continue\n            path = os.path.join(path, word)\n        return path\n\n    def copyfile(self, source, outputfile):\n        \"\"\"Copy all data between two file objects.\n\n        The SOURCE argument is a file object open for reading\n        (or anything with a read() method) and the DESTINATION\n        argument is a file object open for writing (or\n        anything with a write() method).\n\n        The only reason for overriding this would be to change\n        the block size or perhaps to replace newlines by CRLF\n        -- note however that this the default server uses this\n        to copy binary data as well.\n\n        \"\"\"\n        shutil.copyfileobj(source, outputfile)\n\n    def guess_type(self, path):\n        \"\"\"Guess the type of a file.\n\n        Argument is a PATH (a filename).\n\n        Return value is a string of the form type/subtype,\n        usable for a MIME Content-type header.\n\n        The default implementation looks the file's extension\n        up in the table self.extensions_map, using application/octet-stream\n        as a default; however it would be permissible (if\n        slow) to look inside the data to make a better guess.\n\n        \"\"\"\n\n        base, ext = posixpath.splitext(path)\n        if ext in self.extensions_map:\n            return self.extensions_map[ext]\n        ext = ext.lower()\n        if ext in self.extensions_map:\n            return self.extensions_map[ext]\n        else:\n            return self.extensions_map['']\n\n    if not mimetypes.inited:\n        mimetypes.init() # try to read system mime.types\n    extensions_map = mimetypes.types_map.copy()\n    extensions_map.update({\n        '': 'application/octet-stream', # Default\n        '.py': 'text/plain',\n        '.c': 'text/plain',\n        '.h': 'text/plain',\n        })\n\n\ndef test(HandlerClass = SimpleHTTPRequestHandler,\n         ServerClass = BaseHTTPServer.HTTPServer):\n    BaseHTTPServer.test(HandlerClass, ServerClass)\n\nif __name__ == '__main__':\n    test()\n"
  }
]