├── .watchmanconfig ├── .gitattributes ├── README.md ├── app.json ├── src ├── asset │ ├── star.png │ ├── star2.png │ ├── avatar1.png │ ├── avatar2.png │ ├── avatar3.png │ ├── avatar4.png │ ├── chalua.jpg │ ├── header.png │ ├── hutieu.jpg │ ├── mitkho.jpg │ ├── namkho.jpg │ ├── canhngusac.jpg │ ├── cuondiep.jpg │ ├── cuonlalot.jpg │ └── header_detail.png ├── App.js ├── RootStack.js ├── Home.js ├── home_child │ ├── Popular.js │ ├── Menu.js │ └── All.js └── Detail.js ├── .eslintrc.js ├── android ├── app │ ├── debug.keystore │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── values │ │ │ │ │ ├── strings.xml │ │ │ │ │ └── styles.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ └── mipmap-xxxhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── foodapp │ │ │ │ │ ├── MainActivity.java │ │ │ │ │ └── MainApplication.java │ │ │ └── AndroidManifest.xml │ │ └── debug │ │ │ └── AndroidManifest.xml │ ├── proguard-rules.pro │ ├── build_defs.bzl │ ├── BUCK │ └── build.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── settings.gradle ├── gradle.properties ├── build.gradle ├── gradlew.bat └── gradlew ├── babel.config.js ├── ios ├── foodapp │ ├── Images.xcassets │ │ ├── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── AppDelegate.h │ ├── main.m │ ├── AppDelegate.m │ ├── Info.plist │ └── Base.lproj │ │ └── LaunchScreen.xib ├── foodapp.xcworkspace │ └── contents.xcworkspacedata ├── foodappTests │ ├── Info.plist │ └── foodappTests.m ├── foodapp-tvOSTests │ └── Info.plist ├── foodapp-tvOS │ └── Info.plist ├── Podfile ├── foodapp.xcodeproj │ ├── xcshareddata │ │ └── xcschemes │ │ │ ├── foodapp.xcscheme │ │ │ └── foodapp-tvOS.xcscheme │ └── project.pbxproj └── Podfile.lock ├── .buckconfig ├── .prettierrc.js ├── index.js ├── __tests__ └── App-test.js ├── metro.config.js ├── .gitignore ├── package.json └── .flowconfig /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # foodapp 2 | ui/ux design food app 3 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "foodapp", 3 | "displayName": "foodapp" 4 | } -------------------------------------------------------------------------------- /src/asset/star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/src/asset/star.png -------------------------------------------------------------------------------- /src/asset/star2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/src/asset/star2.png -------------------------------------------------------------------------------- /src/asset/avatar1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/src/asset/avatar1.png -------------------------------------------------------------------------------- /src/asset/avatar2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/src/asset/avatar2.png -------------------------------------------------------------------------------- /src/asset/avatar3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/src/asset/avatar3.png -------------------------------------------------------------------------------- /src/asset/avatar4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/src/asset/avatar4.png -------------------------------------------------------------------------------- /src/asset/chalua.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/src/asset/chalua.jpg -------------------------------------------------------------------------------- /src/asset/header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/src/asset/header.png -------------------------------------------------------------------------------- /src/asset/hutieu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/src/asset/hutieu.jpg -------------------------------------------------------------------------------- /src/asset/mitkho.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/src/asset/mitkho.jpg -------------------------------------------------------------------------------- /src/asset/namkho.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/src/asset/namkho.jpg -------------------------------------------------------------------------------- /src/asset/canhngusac.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/src/asset/canhngusac.jpg -------------------------------------------------------------------------------- /src/asset/cuondiep.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/src/asset/cuondiep.jpg -------------------------------------------------------------------------------- /src/asset/cuonlalot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/src/asset/cuonlalot.jpg -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | extends: '@react-native-community', 4 | }; 5 | -------------------------------------------------------------------------------- /android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/android/app/debug.keystore -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /src/asset/header_detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/src/asset/header_detail.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | foodapp 3 | 4 | -------------------------------------------------------------------------------- /ios/foodapp/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | bracketSpacing: false, 3 | jsxBracketSameLine: true, 4 | singleQuote: true, 5 | trailingComma: 'all', 6 | }; 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tharro/foodapp/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'foodapp' 2 | apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) 3 | include ':app' 4 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import {AppRegistry} from 'react-native'; 6 | import App from './src/App'; 7 | import {name as appName} from './app.json'; 8 | 9 | AppRegistry.registerComponent(appName, () => App); 10 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { 3 | View, 4 | Text, 5 | StyleSheet 6 | } from "react-native"; 7 | import RootStack from "./RootStack"; 8 | 9 | export default class App extends React.Component{ 10 | render(){ 11 | return( 12 | 13 | ) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /ios/foodapp.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /__tests__/App-test.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import 'react-native'; 6 | import React from 'react'; 7 | import App from '../App'; 8 | 9 | // Note: test renderer must be required after react-native. 10 | import renderer from 'react-test-renderer'; 11 | 12 | it('renders correctly', () => { 13 | renderer.create(); 14 | }); 15 | -------------------------------------------------------------------------------- /metro.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Metro configuration for React Native 3 | * https://github.com/facebook/react-native 4 | * 5 | * @format 6 | */ 7 | 8 | module.exports = { 9 | transformer: { 10 | getTransformOptions: async () => ({ 11 | transform: { 12 | experimentalImportSupport: false, 13 | inlineRequires: false, 14 | }, 15 | }), 16 | }, 17 | }; 18 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/foodapp/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.foodapp; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. This is used to schedule 9 | * rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "foodapp"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /ios/foodapp/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (nonatomic, strong) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /ios/foodapp/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | -------------------------------------------------------------------------------- /src/RootStack.js: -------------------------------------------------------------------------------- 1 | import {createAppContainer} from "react-navigation"; 2 | import {createStackNavigator} from "react-navigation-stack"; 3 | 4 | import Home from "./Home"; 5 | import Detail from "./Detail"; 6 | 7 | const StackNavigator = createStackNavigator({ 8 | HomeScreen: { 9 | screen: Home, 10 | navigationOptions: { 11 | headerShown: false 12 | } 13 | }, 14 | DetailScreen: { 15 | screen: Detail, 16 | navigationOptions: { 17 | headerShown: false 18 | } 19 | }, 20 | }); 21 | 22 | export default createAppContainer(StackNavigator); -------------------------------------------------------------------------------- /android/app/build_defs.bzl: -------------------------------------------------------------------------------- 1 | """Helper definitions to glob .aar and .jar targets""" 2 | 3 | def create_aar_targets(aarfiles): 4 | for aarfile in aarfiles: 5 | name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")] 6 | lib_deps.append(":" + name) 7 | android_prebuilt_aar( 8 | name = name, 9 | aar = aarfile, 10 | ) 11 | 12 | def create_jar_targets(jarfiles): 13 | for jarfile in jarfiles: 14 | name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")] 15 | lib_deps.append(":" + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | -------------------------------------------------------------------------------- /ios/foodapp/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /ios/foodappTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/foodapp-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useAndroidX=true 21 | android.enableJetifier=true 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | 24 | # Android/IntelliJ 25 | # 26 | build/ 27 | .idea 28 | .gradle 29 | local.properties 30 | *.iml 31 | 32 | # node.js 33 | # 34 | node_modules/ 35 | npm-debug.log 36 | yarn-error.log 37 | 38 | # BUCK 39 | buck-out/ 40 | \.buckd/ 41 | *.keystore 42 | !debug.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | 55 | # Bundle artifact 56 | *.jsbundle 57 | 58 | # CocoaPods 59 | /ios/Pods/ 60 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 13 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext { 5 | buildToolsVersion = "28.0.3" 6 | minSdkVersion = 16 7 | compileSdkVersion = 28 8 | targetSdkVersion = 28 9 | } 10 | repositories { 11 | google() 12 | jcenter() 13 | } 14 | dependencies { 15 | classpath("com.android.tools.build:gradle:3.4.2") 16 | 17 | // NOTE: Do not place your application dependencies here; they belong 18 | // in the individual module build.gradle files 19 | } 20 | } 21 | 22 | allprojects { 23 | repositories { 24 | mavenLocal() 25 | maven { 26 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 27 | url("$rootDir/../node_modules/react-native/android") 28 | } 29 | maven { 30 | // Android JSC is installed from npm 31 | url("$rootDir/../node_modules/jsc-android/dist") 32 | } 33 | 34 | google() 35 | jcenter() 36 | maven { url 'https://jitpack.io' } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "foodapp", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "android": "react-native run-android", 7 | "ios": "react-native run-ios", 8 | "start": "react-native start", 9 | "test": "jest", 10 | "lint": "eslint ." 11 | }, 12 | "dependencies": { 13 | "@react-native-community/masked-view": "^0.1.6", 14 | "react": "16.9.0", 15 | "react-native": "0.61.5", 16 | "react-native-animatable": "^1.3.3", 17 | "react-native-gesture-handler": "^1.5.6", 18 | "react-native-linear-gradient": "^2.5.6", 19 | "react-native-reanimated": "^1.7.0", 20 | "react-native-safe-area-context": "^0.7.2", 21 | "react-native-screens": "^2.0.0-beta.2", 22 | "react-native-scrollable-tab-view": "^1.0.0", 23 | "react-native-vector-icons": "^6.6.0", 24 | "react-navigation": "^4.1.1", 25 | "react-navigation-stack": "^2.1.1" 26 | }, 27 | "devDependencies": { 28 | "@babel/core": "7.8.4", 29 | "@babel/runtime": "7.8.4", 30 | "@react-native-community/eslint-config": "0.0.5", 31 | "babel-jest": "24.9.0", 32 | "eslint": "6.8.0", 33 | "jest": "24.9.0", 34 | "metro-react-native-babel-preset": "0.56.4", 35 | "react-test-renderer": "16.9.0" 36 | }, 37 | "jest": { 38 | "preset": "react-native" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets") 12 | 13 | lib_deps = [] 14 | 15 | create_aar_targets(glob(["libs/*.aar"])) 16 | 17 | create_jar_targets(glob(["libs/*.jar"])) 18 | 19 | android_library( 20 | name = "all-libs", 21 | exported_deps = lib_deps, 22 | ) 23 | 24 | android_library( 25 | name = "app-code", 26 | srcs = glob([ 27 | "src/main/java/**/*.java", 28 | ]), 29 | deps = [ 30 | ":all-libs", 31 | ":build_config", 32 | ":res", 33 | ], 34 | ) 35 | 36 | android_build_config( 37 | name = "build_config", 38 | package = "com.foodapp", 39 | ) 40 | 41 | android_resource( 42 | name = "res", 43 | package = "com.foodapp", 44 | res = "src/main/res", 45 | ) 46 | 47 | android_binary( 48 | name = "app", 49 | keystore = "//android/keystores:debug", 50 | manifest = "src/main/AndroidManifest.xml", 51 | package_type = "debug", 52 | deps = [ 53 | ":app-code", 54 | ], 55 | ) 56 | -------------------------------------------------------------------------------- /ios/foodapp/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import "AppDelegate.h" 9 | 10 | #import 11 | #import 12 | #import 13 | 14 | @implementation AppDelegate 15 | 16 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 17 | { 18 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; 19 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge 20 | moduleName:@"foodapp" 21 | initialProperties:nil]; 22 | 23 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 24 | 25 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 26 | UIViewController *rootViewController = [UIViewController new]; 27 | rootViewController.view = rootView; 28 | self.window.rootViewController = rootViewController; 29 | [self.window makeKeyAndVisible]; 30 | return YES; 31 | } 32 | 33 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge 34 | { 35 | #if DEBUG 36 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 37 | #else 38 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 39 | #endif 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /ios/foodapp-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | NSAppTransportSecurity 26 | 27 | NSExceptionDomains 28 | 29 | localhost 30 | 31 | NSExceptionAllowsInsecureHTTPLoads 32 | 33 | 34 | 35 | 36 | NSLocationWhenInUseUsageDescription 37 | 38 | UILaunchStoryboardName 39 | LaunchScreen 40 | UIRequiredDeviceCapabilities 41 | 42 | armv7 43 | 44 | UISupportedInterfaceOrientations 45 | 46 | UIInterfaceOrientationPortrait 47 | UIInterfaceOrientationLandscapeLeft 48 | UIInterfaceOrientationLandscapeRight 49 | 50 | UIViewControllerBasedStatusBarAppearance 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/Home.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { 3 | View, 4 | Text, 5 | StyleSheet, 6 | ImageBackground, 7 | Dimensions 8 | } from "react-native"; 9 | import ScrollableTabView, { DefaultTabBar } from 'react-native-scrollable-tab-view'; 10 | import All from "./home_child/All"; 11 | import Menu from "./home_child/Menu"; 12 | import Popular from "./home_child/Popular"; 13 | 14 | export default class Home extends React.Component{ 15 | render(){ 16 | return( 17 | 18 | 19 | 24 | HOME 25 | 26 | 27 | 28 | } 35 | > 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | ) 44 | } 45 | } 46 | 47 | const width = Dimensions.get("screen").width; 48 | 49 | var styles = StyleSheet.create({ 50 | container: { 51 | flex:1, 52 | backgroundColor:'white' 53 | }, 54 | header: { 55 | marginTop:20, 56 | position:'absolute' 57 | }, 58 | tabbar: { 59 | flex:1, 60 | marginTop: width*0.3, 61 | paddingHorizontal:30 62 | }, 63 | imageBackground: { 64 | width: width*0.4, 65 | height: width*0.4, 66 | alignItems:'center' 67 | }, 68 | title: { 69 | color:'white', 70 | marginTop:25, 71 | fontWeight:'bold', 72 | fontSize:25 73 | } 74 | }); -------------------------------------------------------------------------------- /ios/foodappTests/foodappTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | #import 12 | #import 13 | 14 | #define TIMEOUT_SECONDS 600 15 | #define TEXT_TO_LOOK_FOR @"Welcome to React" 16 | 17 | @interface foodappTests : XCTestCase 18 | 19 | @end 20 | 21 | @implementation foodappTests 22 | 23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 24 | { 25 | if (test(view)) { 26 | return YES; 27 | } 28 | for (UIView *subview in [view subviews]) { 29 | if ([self findSubviewInView:subview matching:test]) { 30 | return YES; 31 | } 32 | } 33 | return NO; 34 | } 35 | 36 | - (void)testRendersWelcomeScreen 37 | { 38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 40 | BOOL foundElement = NO; 41 | 42 | __block NSString *redboxError = nil; 43 | #ifdef DEBUG 44 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 45 | if (level >= RCTLogLevelError) { 46 | redboxError = message; 47 | } 48 | }); 49 | #endif 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | #ifdef DEBUG 64 | RCTSetLogFunction(RCTDefaultLogFunction); 65 | #endif 66 | 67 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 68 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 69 | } 70 | 71 | 72 | @end 73 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore polyfills 9 | node_modules/react-native/Libraries/polyfills/.* 10 | 11 | ; These should not be required directly 12 | ; require from fbjs/lib instead: require('fbjs/lib/warning') 13 | node_modules/warning/.* 14 | 15 | ; Flow doesn't support platforms 16 | .*/Libraries/Utilities/LoadingView.js 17 | 18 | [untyped] 19 | .*/node_modules/@react-native-community/cli/.*/.* 20 | 21 | [include] 22 | 23 | [libs] 24 | node_modules/react-native/Libraries/react-native/react-native-interface.js 25 | node_modules/react-native/flow/ 26 | 27 | [options] 28 | emoji=true 29 | 30 | esproposal.optional_chaining=enable 31 | esproposal.nullish_coalescing=enable 32 | 33 | module.file_ext=.js 34 | module.file_ext=.json 35 | module.file_ext=.ios.js 36 | 37 | munge_underscores=true 38 | 39 | module.name_mapper='^react-native$' -> '/node_modules/react-native/Libraries/react-native/react-native-implementation' 40 | module.name_mapper='^react-native/\(.*\)$' -> '/node_modules/react-native/\1' 41 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '/node_modules/react-native/Libraries/Image/RelativeImageStub' 42 | 43 | suppress_type=$FlowIssue 44 | suppress_type=$FlowFixMe 45 | suppress_type=$FlowFixMeProps 46 | suppress_type=$FlowFixMeState 47 | 48 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\) 49 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+ 50 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 51 | 52 | [lints] 53 | sketchy-null-number=warn 54 | sketchy-null-mixed=warn 55 | sketchy-number=warn 56 | untyped-type-import=warn 57 | nonstrict-import=warn 58 | deprecated-type=warn 59 | unsafe-getters-setters=warn 60 | inexact-spread=warn 61 | unnecessary-invariant=warn 62 | signature-verification-failure=warn 63 | deprecated-utility=error 64 | 65 | [strict] 66 | deprecated-type 67 | nonstrict-import 68 | sketchy-null 69 | unclear-type 70 | unsafe-getters-setters 71 | untyped-import 72 | untyped-type-import 73 | 74 | [version] 75 | ^0.105.0 76 | -------------------------------------------------------------------------------- /ios/foodapp/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | foodapp 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | NSAppTransportSecurity 28 | 29 | NSAllowsArbitraryLoads 30 | 31 | NSExceptionDomains 32 | 33 | localhost 34 | 35 | NSExceptionAllowsInsecureHTTPLoads 36 | 37 | 38 | 39 | 40 | NSLocationWhenInUseUsageDescription 41 | 42 | UIAppFonts 43 | 44 | AntDesign.ttf 45 | Entypo.ttf 46 | EvilIcons.ttf 47 | Feather.ttf 48 | FontAwesome.ttf 49 | FontAwesome5_Brands.ttf 50 | FontAwesome5_Regular.ttf 51 | FontAwesome5_Solid.ttf 52 | Foundation.ttf 53 | Ionicons.ttf 54 | MaterialIcons.ttf 55 | MaterialCommunityIcons.ttf 56 | SimpleLineIcons.ttf 57 | Octicons.ttf 58 | Zocial.ttf 59 | 60 | 61 | UILaunchStoryboardName 62 | LaunchScreen 63 | UIRequiredDeviceCapabilities 64 | 65 | armv7 66 | 67 | UISupportedInterfaceOrientations 68 | 69 | UIInterfaceOrientationPortrait 70 | UIInterfaceOrientationLandscapeLeft 71 | UIInterfaceOrientationLandscapeRight 72 | 73 | UIViewControllerBasedStatusBarAppearance 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/foodapp/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.foodapp; 2 | 3 | import android.app.Application; 4 | import android.content.Context; 5 | import com.facebook.react.PackageList; 6 | import com.facebook.react.ReactApplication; 7 | import com.facebook.react.ReactNativeHost; 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.soloader.SoLoader; 10 | import java.lang.reflect.InvocationTargetException; 11 | import java.util.List; 12 | 13 | public class MainApplication extends Application implements ReactApplication { 14 | 15 | private final ReactNativeHost mReactNativeHost = 16 | new ReactNativeHost(this) { 17 | @Override 18 | public boolean getUseDeveloperSupport() { 19 | return BuildConfig.DEBUG; 20 | } 21 | 22 | @Override 23 | protected List getPackages() { 24 | @SuppressWarnings("UnnecessaryLocalVariable") 25 | List packages = new PackageList(this).getPackages(); 26 | // Packages that cannot be autolinked yet can be added manually here, for example: 27 | // packages.add(new MyReactNativePackage()); 28 | return packages; 29 | } 30 | 31 | @Override 32 | protected String getJSMainModuleName() { 33 | return "index"; 34 | } 35 | }; 36 | 37 | @Override 38 | public ReactNativeHost getReactNativeHost() { 39 | return mReactNativeHost; 40 | } 41 | 42 | @Override 43 | public void onCreate() { 44 | super.onCreate(); 45 | SoLoader.init(this, /* native exopackage */ false); 46 | initializeFlipper(this); // Remove this line if you don't want Flipper enabled 47 | } 48 | 49 | /** 50 | * Loads Flipper in React Native templates. 51 | * 52 | * @param context 53 | */ 54 | private static void initializeFlipper(Context context) { 55 | if (BuildConfig.DEBUG) { 56 | try { 57 | /* 58 | We use reflection here to pick up the class that initializes Flipper, 59 | since Flipper library is not available in release mode 60 | */ 61 | Class aClass = Class.forName("com.facebook.flipper.ReactNativeFlipper"); 62 | aClass.getMethod("initializeFlipper", Context.class).invoke(null, context); 63 | } catch (ClassNotFoundException e) { 64 | e.printStackTrace(); 65 | } catch (NoSuchMethodException e) { 66 | e.printStackTrace(); 67 | } catch (IllegalAccessException e) { 68 | e.printStackTrace(); 69 | } catch (InvocationTargetException e) { 70 | e.printStackTrace(); 71 | } 72 | } 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '9.0' 2 | require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' 3 | 4 | target 'foodapp' do 5 | # Pods for foodapp 6 | pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector" 7 | pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec" 8 | pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired" 9 | pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety" 10 | pod 'React', :path => '../node_modules/react-native/' 11 | pod 'React-Core', :path => '../node_modules/react-native/' 12 | pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules' 13 | pod 'React-Core/DevSupport', :path => '../node_modules/react-native/' 14 | pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS' 15 | pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation' 16 | pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob' 17 | pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image' 18 | pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS' 19 | pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network' 20 | pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings' 21 | pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text' 22 | pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration' 23 | pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/' 24 | 25 | pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact' 26 | pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi' 27 | pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor' 28 | pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector' 29 | pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon" 30 | pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon" 31 | pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga' 32 | 33 | pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec' 34 | pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec' 35 | pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec' 36 | 37 | target 'foodappTests' do 38 | inherit! :search_paths 39 | # Pods for testing 40 | end 41 | 42 | use_native_modules! 43 | end 44 | 45 | target 'foodapp-tvOS' do 46 | # Pods for foodapp-tvOS 47 | 48 | target 'foodapp-tvOSTests' do 49 | inherit! :search_paths 50 | # Pods for testing 51 | end 52 | 53 | end 54 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem http://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%" == "" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem Gradle startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%" == "" set DIRNAME=. 29 | set APP_BASE_NAME=%~n0 30 | set APP_HOME=%DIRNAME% 31 | 32 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 33 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 34 | 35 | @rem Find java.exe 36 | if defined JAVA_HOME goto findJavaFromJavaHome 37 | 38 | set JAVA_EXE=java.exe 39 | %JAVA_EXE% -version >NUL 2>&1 40 | if "%ERRORLEVEL%" == "0" goto init 41 | 42 | echo. 43 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 44 | echo. 45 | echo Please set the JAVA_HOME variable in your environment to match the 46 | echo location of your Java installation. 47 | 48 | goto fail 49 | 50 | :findJavaFromJavaHome 51 | set JAVA_HOME=%JAVA_HOME:"=% 52 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 53 | 54 | if exist "%JAVA_EXE%" goto init 55 | 56 | echo. 57 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 58 | echo. 59 | echo Please set the JAVA_HOME variable in your environment to match the 60 | echo location of your Java installation. 61 | 62 | goto fail 63 | 64 | :init 65 | @rem Get command-line arguments, handling Windows variants 66 | 67 | if not "%OS%" == "Windows_NT" goto win9xME_args 68 | 69 | :win9xME_args 70 | @rem Slurp the command line arguments. 71 | set CMD_LINE_ARGS= 72 | set _SKIP=2 73 | 74 | :win9xME_args_slurp 75 | if "x%~1" == "x" goto execute 76 | 77 | set CMD_LINE_ARGS=%* 78 | 79 | :execute 80 | @rem Setup the command line 81 | 82 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 83 | 84 | @rem Execute Gradle 85 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 86 | 87 | :end 88 | @rem End local scope for the variables with windows NT shell 89 | if "%ERRORLEVEL%"=="0" goto mainEnd 90 | 91 | :fail 92 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 93 | rem the _cmd.exe /c_ return code! 94 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 95 | exit /b 1 96 | 97 | :mainEnd 98 | if "%OS%"=="Windows_NT" endlocal 99 | 100 | :omega 101 | -------------------------------------------------------------------------------- /src/home_child/Popular.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { 3 | View, 4 | Text, 5 | StyleSheet, 6 | FlatList, 7 | Image 8 | } from "react-native"; 9 | 10 | export default class Popular extends React.Component{ 11 | 12 | constructor(props){ 13 | super(props); 14 | this.state={ 15 | data: [ 16 | { 17 | name: 'Alex Sander', 18 | rating: 5, 19 | comment: 'Good', 20 | image: require("../asset/avatar1.png") 21 | }, 22 | { 23 | name: 'Trong Thanh', 24 | rating: 4, 25 | comment: 'Ok', 26 | image: require("../asset/avatar2.png") 27 | }, 28 | { 29 | name: 'Huynh Nhu', 30 | rating: 2, 31 | comment: 'Bad', 32 | image: require("../asset/avatar3.png") 33 | }, 34 | { 35 | name: 'Trong That', 36 | rating: 5, 37 | comment: 'good food good mood', 38 | image: require("../asset/avatar4.png") 39 | }, 40 | { 41 | name: 'Ngoc Trai', 42 | rating: 4, 43 | comment: 'Very good', 44 | image: require("../asset/avatar2.png") 45 | }, 46 | { 47 | name: 'Hai Bang', 48 | rating: 2, 49 | comment: 'normal', 50 | image: require("../asset/avatar4.png") 51 | } 52 | ] 53 | } 54 | } 55 | 56 | _rating(item){ 57 | let rating = []; 58 | for(i=0;i 65 | ) 66 | } 67 | return rating; 68 | } 69 | 70 | renderItem = ({item}) => { 71 | return( 72 | 73 | 77 | {item.name} 78 | 79 | {this._rating(item.rating)} 80 | 81 | "{item.comment}" 84 | 85 | ) 86 | } 87 | 88 | ItemSeparatorComponent = () => { 89 | return( 90 | 93 | ) 94 | } 95 | 96 | render(){ 97 | return( 98 | 99 | index.toString()} 104 | showsVerticalScrollIndicator={false} 105 | numColumns={3} 106 | /> 107 | 108 | ) 109 | } 110 | } 111 | 112 | var styles = StyleSheet.create({ 113 | container: { 114 | flex:1, 115 | backgroundColor:'white', 116 | marginTop:20, 117 | marginBottom:5 118 | 119 | }, 120 | item: { 121 | flex:1, 122 | alignItems:'center' 123 | }, 124 | image: { 125 | width:80, 126 | height:80, 127 | borderRadius:40, 128 | borderWidth:2, 129 | borderColor:'green' 130 | }, 131 | name: { 132 | color:'green', 133 | fontWeight:'bold' 134 | }, 135 | comment:{ 136 | fontStyle:'italic', 137 | marginTop:5 138 | } 139 | }); -------------------------------------------------------------------------------- /ios/foodapp/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/Detail.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { 3 | View, 4 | Text, 5 | StyleSheet, 6 | ImageBackground, 7 | Dimensions, 8 | Image, 9 | StatusBar, 10 | ScrollView 11 | } from "react-native"; 12 | import Ionicons from "react-native-vector-icons/Ionicons"; 13 | import LinearGradient from "react-native-linear-gradient"; 14 | 15 | export default class Detail extends React.Component{ 16 | render(){ 17 | return( 18 | 19 | 20 | 25 | 26 | 30 | 31 | 32 | this.props.navigation.goBack()} 37 | /> 38 | 39 | 40 | 41 | 42 | AVALIABLE 43 | 44 | {this.props.navigation.state.params.price} 45 | {this.props.navigation.state.params.name.toUpperCase()} 46 | The template details auto text code displays the complete template details, including attribute details and metric details. 47 | 53 | ORDER NOW 54 | 55 | 56 | 57 | ) 58 | } 59 | } 60 | 61 | const height = Dimensions.get("screen").height; 62 | const height_image = height * 0.5 * 0.5; 63 | 64 | var styles = StyleSheet.create({ 65 | container: { 66 | flex:1, 67 | backgroundColor:'white' 68 | }, 69 | footer: { 70 | flex:1, 71 | paddingHorizontal:40 72 | }, 73 | image_container: { 74 | width: height_image, 75 | height: height_image, 76 | marginTop: height_image/3 77 | }, 78 | image: { 79 | width:'100%', 80 | height:'100%', 81 | borderWidth:5, 82 | borderColor:'white', 83 | borderRadius: height_image/2 84 | }, 85 | back:{ 86 | position:'absolute', 87 | left:0, 88 | marginTop:30, 89 | marginLeft:15 90 | }, 91 | status: { 92 | width:100, 93 | justifyContent:'center', 94 | alignItems:'center', 95 | borderWidth:1, 96 | borderRadius:50, 97 | paddingVertical:3, 98 | borderColor:'green' 99 | }, 100 | textPrice: { 101 | color:'green', 102 | fontWeight:'bold', 103 | fontSize:30, 104 | marginTop:20 105 | }, 106 | textName: { 107 | color: '#3e3c3e', 108 | fontWeight:'bold', 109 | fontSize:45, 110 | marginTop:5 111 | }, 112 | textDetail: { 113 | color:'gray', 114 | marginTop:10 115 | }, 116 | button: { 117 | justifyContent:'center', 118 | alignItems:'center', 119 | marginTop:30, 120 | paddingVertical:10, 121 | borderRadius:100 122 | }, 123 | textOrder: { 124 | color:'white', 125 | fontWeight:'bold', 126 | fontSize:18 127 | } 128 | }); -------------------------------------------------------------------------------- /src/home_child/Menu.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { 3 | View, 4 | Text, 5 | StyleSheet, 6 | FlatList, 7 | Image, 8 | TouchableOpacity 9 | } from "react-native"; 10 | 11 | export default class Menu extends React.Component{ 12 | 13 | constructor(props){ 14 | super(props); 15 | this.state={ 16 | data:[ 17 | { 18 | type: 'Dessert', 19 | color: '#f7931e', 20 | data:[ 21 | { 22 | name:'Stewed Mushrooms', 23 | image: require("../asset/namkho.jpg"), 24 | price: "$12" 25 | }, 26 | { 27 | name:'Jackfruit Fried', 28 | image: require("../asset/mitkho.jpg"), 29 | price: "$15" 30 | } 31 | ] 32 | }, 33 | { 34 | type: 'Main course', 35 | color: '#39b54a', 36 | data:[ 37 | { 38 | name:'Noodles', 39 | image: require("../asset/hutieu.jpg"), 40 | rating: 4, 41 | price: "$20" 42 | }, 43 | { 44 | name:'Beef', 45 | image: require("../asset/cuonlalot.jpg"), 46 | rating: 2, 47 | price: "$12" 48 | }, 49 | { 50 | name:'Salad dressing', 51 | image: require("../asset/cuondiep.jpg"), 52 | rating: 5, 53 | price: "$13" 54 | }, 55 | ] 56 | }, 57 | { 58 | type: 'Other', 59 | color: '#ed1e79', 60 | data:[ 61 | { 62 | name:'Salad dressing', 63 | image: require("../asset/cuondiep.jpg"), 64 | price: "$13" 65 | }, 66 | { 67 | name:'Jackfruit warehouse', 68 | image: require("../asset/mitkho.jpg"), 69 | price: "$15" 70 | } 71 | ] 72 | }, 73 | ] 74 | } 75 | } 76 | 77 | renderItem_type = ({item}) => { 78 | return( 79 | this.props.props.navigation.navigate("DetailScreen",{ 81 | image: item.image, 82 | price: item.price, 83 | name: item.name 84 | })} 85 | style={styles.item_type}> 86 | 90 | {item.name} 91 | 92 | 93 | ) 94 | } 95 | 96 | renderItem = ({item}) => { 97 | return( 98 | 99 | {item.type} 102 | 105 | index.toString()} 109 | horizontal={true} 110 | showsHorizontalScrollIndicator={false} 111 | ItemSeparatorComponent={this.ItemSeparatorComponent_type} 112 | /> 113 | 114 | 115 | ) 116 | } 117 | 118 | ItemSeparatorComponent_type = () => { 119 | return( 120 | 123 | ) 124 | } 125 | 126 | ItemSeparatorComponent = () => { 127 | return( 128 | 131 | ) 132 | } 133 | 134 | render(){ 135 | return( 136 | 137 | index.toString()} 141 | showsVerticalScrollIndicator={false} 142 | ItemSeparatorComponent={this.ItemSeparatorComponent} 143 | /> 144 | 145 | ) 146 | } 147 | } 148 | 149 | var styles = StyleSheet.create({ 150 | container: { 151 | flex:1, 152 | marginTop:10, 153 | marginBottom:10, 154 | backgroundColor:'white' 155 | }, 156 | type: { 157 | fontSize:18, 158 | fontWeight:'bold' 159 | }, 160 | item: { 161 | marginTop:10, 162 | flexDirection:'row', 163 | paddingHorizontal:15, 164 | paddingVertical:10, 165 | borderRadius:10 166 | }, 167 | item_type: { 168 | flex:1, 169 | alignItems:'center' 170 | }, 171 | image:{ 172 | width:80, 173 | height:80, 174 | borderRadius:40, 175 | borderWidth:2, 176 | borderColor:'white' 177 | }, 178 | name: { 179 | marginTop:10, 180 | color:'white', 181 | fontSize:15 182 | } 183 | }); -------------------------------------------------------------------------------- /ios/foodapp.xcodeproj/xcshareddata/xcschemes/foodapp.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/foodapp.xcodeproj/xcshareddata/xcschemes/foodapp-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /src/home_child/All.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { 3 | View, 4 | Text, 5 | StyleSheet, 6 | FlatList, 7 | Image, 8 | TouchableOpacity, 9 | TextInput 10 | } from "react-native"; 11 | import LinearGradient from "react-native-linear-gradient"; 12 | import AntDesign from "react-native-vector-icons/AntDesign"; 13 | import Ionicons from "react-native-vector-icons/Ionicons"; 14 | 15 | var data = [ 16 | { 17 | name:'Stewed Mushrooms', 18 | image: require("../asset/namkho.jpg"), 19 | rating: 3, 20 | price: "$12" 21 | }, 22 | { 23 | name:'Jackfruit Fried', 24 | image: require("../asset/mitkho.jpg"), 25 | rating: 5, 26 | price: "$15" 27 | }, 28 | { 29 | name:'Noodles', 30 | image: require("../asset/hutieu.jpg"), 31 | rating: 4, 32 | price: "$20" 33 | }, 34 | { 35 | name:'Beef', 36 | image: require("../asset/cuonlalot.jpg"), 37 | rating: 2, 38 | price: "$12" 39 | }, 40 | { 41 | name:'Salad dressing', 42 | image: require("../asset/cuondiep.jpg"), 43 | rating: 5, 44 | price: "$13" 45 | }, 46 | ]; 47 | 48 | export default class All extends React.Component{ 49 | constructor(props){ 50 | super(props); 51 | this.state={ 52 | data: data, 53 | data_temp: data, 54 | search: '' 55 | } 56 | } 57 | 58 | _rating(item){ 59 | let rating = []; 60 | for(i=0;i 67 | ) 68 | } 69 | return rating; 70 | } 71 | 72 | renderItem = ({item}) => { 73 | return( 74 | 79 | 80 | 84 | 85 | 86 | {item.name} 87 | 88 | {this._rating(item.rating)} 89 | 90 | 91 | 92 | {item.price} 93 | 94 | 95 | 96 | this.props.props.navigation.navigate("DetailScreen",{ 98 | image: item.image, 99 | price: item.price, 100 | name: item.name 101 | })} 102 | style={styles.button}> 103 | 108 | 109 | 110 | 111 | ) 112 | } 113 | 114 | ItemSeparatorComponent = () => { 115 | return( 116 | 121 | ) 122 | } 123 | 124 | _search(text){ 125 | let data = []; 126 | this.state.data_temp.map(function(value){ 127 | if(value.name.indexOf(text) > -1){ 128 | data.push(value); 129 | } 130 | }); 131 | this.setState({ 132 | data:data, 133 | search:text 134 | }); 135 | } 136 | 137 | render(){ 138 | return( 139 | 140 | 141 | this._search(text)} 146 | /> 147 | this._search("")} 149 | style={{paddingHorizontal:10}}> 150 | 155 | 156 | 157 | 158 | 159 | index.toString()} 163 | ItemSeparatorComponent={this.ItemSeparatorComponent} 164 | showsVerticalScrollIndicator={false} 165 | /> 166 | 167 | 168 | ) 169 | } 170 | } 171 | 172 | var styles = StyleSheet.create({ 173 | container: { 174 | flex:1, 175 | backgroundColor:'white', 176 | paddingBottom:5 177 | }, 178 | flatList: { 179 | flex:1, 180 | marginTop:10 181 | }, 182 | item: { 183 | flex:1, 184 | paddingVertical:10, 185 | paddingHorizontal:10, 186 | flexDirection:'row', 187 | borderRadius:10 188 | }, 189 | image_container: { 190 | width: 90, 191 | height: 90 192 | }, 193 | image: { 194 | width:'100%', 195 | height:'100%', 196 | borderWidth:5, 197 | borderColor:'white', 198 | borderRadius:10 199 | }, 200 | content: { 201 | flex:1, 202 | justifyContent:'center', 203 | paddingHorizontal:10 204 | }, 205 | name: { 206 | color:'white', 207 | fontWeight:'bold', 208 | fontSize:18 209 | }, 210 | rating: { 211 | marginTop:5, 212 | flexDirection:'row' 213 | }, 214 | button: { 215 | width:30, 216 | height:30, 217 | backgroundColor:'white', 218 | borderRadius:15, 219 | justifyContent:'center', 220 | alignItems:'center' 221 | }, 222 | price_container: { 223 | flexDirection:'row', 224 | marginTop:10 225 | }, 226 | price: { 227 | backgroundColor:'white', 228 | paddingVertical:5, 229 | paddingHorizontal:15, 230 | borderRadius:50 231 | }, 232 | textPrice: { 233 | color:'green', 234 | fontWeight:'bold' 235 | }, 236 | section: { 237 | flexDirection:'row', 238 | alignItems:'center', 239 | paddingVertical:5, 240 | paddingHorizontal:10, 241 | borderRadius:100, 242 | backgroundColor:'#f2f2f2', 243 | marginTop:10 244 | } 245 | }); -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | # 4 | # Copyright 2015 the original author or authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | ############################################################################## 20 | ## 21 | ## Gradle start up script for UN*X 22 | ## 23 | ############################################################################## 24 | 25 | # Attempt to set APP_HOME 26 | # Resolve links: $0 may be a link 27 | PRG="$0" 28 | # Need this for relative symlinks. 29 | while [ -h "$PRG" ] ; do 30 | ls=`ls -ld "$PRG"` 31 | link=`expr "$ls" : '.*-> \(.*\)$'` 32 | if expr "$link" : '/.*' > /dev/null; then 33 | PRG="$link" 34 | else 35 | PRG=`dirname "$PRG"`"/$link" 36 | fi 37 | done 38 | SAVED="`pwd`" 39 | cd "`dirname \"$PRG\"`/" >/dev/null 40 | APP_HOME="`pwd -P`" 41 | cd "$SAVED" >/dev/null 42 | 43 | APP_NAME="Gradle" 44 | APP_BASE_NAME=`basename "$0"` 45 | 46 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 47 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 48 | 49 | # Use the maximum available, or set MAX_FD != -1 to use that value. 50 | MAX_FD="maximum" 51 | 52 | warn () { 53 | echo "$*" 54 | } 55 | 56 | die () { 57 | echo 58 | echo "$*" 59 | echo 60 | exit 1 61 | } 62 | 63 | # OS specific support (must be 'true' or 'false'). 64 | cygwin=false 65 | msys=false 66 | darwin=false 67 | nonstop=false 68 | case "`uname`" in 69 | CYGWIN* ) 70 | cygwin=true 71 | ;; 72 | Darwin* ) 73 | darwin=true 74 | ;; 75 | MINGW* ) 76 | msys=true 77 | ;; 78 | NONSTOP* ) 79 | nonstop=true 80 | ;; 81 | esac 82 | 83 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 84 | 85 | # Determine the Java command to use to start the JVM. 86 | if [ -n "$JAVA_HOME" ] ; then 87 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 88 | # IBM's JDK on AIX uses strange locations for the executables 89 | JAVACMD="$JAVA_HOME/jre/sh/java" 90 | else 91 | JAVACMD="$JAVA_HOME/bin/java" 92 | fi 93 | if [ ! -x "$JAVACMD" ] ; then 94 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 95 | 96 | Please set the JAVA_HOME variable in your environment to match the 97 | location of your Java installation." 98 | fi 99 | else 100 | JAVACMD="java" 101 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 102 | 103 | Please set the JAVA_HOME variable in your environment to match the 104 | location of your Java installation." 105 | fi 106 | 107 | # Increase the maximum file descriptors if we can. 108 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 109 | MAX_FD_LIMIT=`ulimit -H -n` 110 | if [ $? -eq 0 ] ; then 111 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 112 | MAX_FD="$MAX_FD_LIMIT" 113 | fi 114 | ulimit -n $MAX_FD 115 | if [ $? -ne 0 ] ; then 116 | warn "Could not set maximum file descriptor limit: $MAX_FD" 117 | fi 118 | else 119 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 120 | fi 121 | fi 122 | 123 | # For Darwin, add options to specify how the application appears in the dock 124 | if $darwin; then 125 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 126 | fi 127 | 128 | # For Cygwin, switch paths to Windows format before running java 129 | if $cygwin ; then 130 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 131 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 132 | JAVACMD=`cygpath --unix "$JAVACMD"` 133 | 134 | # We build the pattern for arguments to be converted via cygpath 135 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 136 | SEP="" 137 | for dir in $ROOTDIRSRAW ; do 138 | ROOTDIRS="$ROOTDIRS$SEP$dir" 139 | SEP="|" 140 | done 141 | OURCYGPATTERN="(^($ROOTDIRS))" 142 | # Add a user-defined pattern to the cygpath arguments 143 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 144 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 145 | fi 146 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 147 | i=0 148 | for arg in "$@" ; do 149 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 150 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 151 | 152 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 153 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 154 | else 155 | eval `echo args$i`="\"$arg\"" 156 | fi 157 | i=$((i+1)) 158 | done 159 | case $i in 160 | (0) set -- ;; 161 | (1) set -- "$args0" ;; 162 | (2) set -- "$args0" "$args1" ;; 163 | (3) set -- "$args0" "$args1" "$args2" ;; 164 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 165 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 166 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 167 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 168 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 169 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 170 | esac 171 | fi 172 | 173 | # Escape application args 174 | save () { 175 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 176 | echo " " 177 | } 178 | APP_ARGS=$(save "$@") 179 | 180 | # Collect all arguments for the java command, following the shell quoting and substitution rules 181 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 182 | 183 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong 184 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then 185 | cd "$(dirname "$0")" 186 | fi 187 | 188 | exec "$JAVACMD" "$@" 189 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // https://facebook.github.io/react-native/docs/performance#enable-the-ram-format 22 | * bundleCommand: "ram-bundle", 23 | * 24 | * // whether to bundle JS and assets in debug mode 25 | * bundleInDebug: false, 26 | * 27 | * // whether to bundle JS and assets in release mode 28 | * bundleInRelease: true, 29 | * 30 | * // whether to bundle JS and assets in another build variant (if configured). 31 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 32 | * // The configuration property can be in the following formats 33 | * // 'bundleIn${productFlavor}${buildType}' 34 | * // 'bundleIn${buildType}' 35 | * // bundleInFreeDebug: true, 36 | * // bundleInPaidRelease: true, 37 | * // bundleInBeta: true, 38 | * 39 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 40 | * // for example: to disable dev mode in the staging build type (if configured) 41 | * devDisabledInStaging: true, 42 | * // The configuration property can be in the following formats 43 | * // 'devDisabledIn${productFlavor}${buildType}' 44 | * // 'devDisabledIn${buildType}' 45 | * 46 | * // the root of your project, i.e. where "package.json" lives 47 | * root: "../../", 48 | * 49 | * // where to put the JS bundle asset in debug mode 50 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 51 | * 52 | * // where to put the JS bundle asset in release mode 53 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 54 | * 55 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 56 | * // require('./image.png')), in debug mode 57 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 58 | * 59 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 60 | * // require('./image.png')), in release mode 61 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 62 | * 63 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 64 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 65 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 66 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 67 | * // for example, you might want to remove it from here. 68 | * inputExcludes: ["android/**", "ios/**"], 69 | * 70 | * // override which node gets called and with what additional arguments 71 | * nodeExecutableAndArgs: ["node"], 72 | * 73 | * // supply additional arguments to the packager 74 | * extraPackagerArgs: [] 75 | * ] 76 | */ 77 | 78 | project.ext.react = [ 79 | entryFile: "index.js", 80 | enableHermes: false, // clean and rebuild if changing 81 | ] 82 | 83 | apply from: "../../node_modules/react-native/react.gradle" 84 | 85 | /** 86 | * Set this to true to create two separate APKs instead of one: 87 | * - An APK that only works on ARM devices 88 | * - An APK that only works on x86 devices 89 | * The advantage is the size of the APK is reduced by about 4MB. 90 | * Upload all the APKs to the Play Store and people will download 91 | * the correct one based on the CPU architecture of their device. 92 | */ 93 | def enableSeparateBuildPerCPUArchitecture = false 94 | 95 | /** 96 | * Run Proguard to shrink the Java bytecode in release builds. 97 | */ 98 | def enableProguardInReleaseBuilds = false 99 | 100 | /** 101 | * The preferred build flavor of JavaScriptCore. 102 | * 103 | * For example, to use the international variant, you can use: 104 | * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` 105 | * 106 | * The international variant includes ICU i18n library and necessary data 107 | * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that 108 | * give correct results when using with locales other than en-US. Note that 109 | * this variant is about 6MiB larger per architecture than default. 110 | */ 111 | def jscFlavor = 'org.webkit:android-jsc:+' 112 | 113 | /** 114 | * Whether to enable the Hermes VM. 115 | * 116 | * This should be set on project.ext.react and mirrored here. If it is not set 117 | * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode 118 | * and the benefits of using Hermes will therefore be sharply reduced. 119 | */ 120 | def enableHermes = project.ext.react.get("enableHermes", false); 121 | 122 | android { 123 | compileSdkVersion rootProject.ext.compileSdkVersion 124 | 125 | compileOptions { 126 | sourceCompatibility JavaVersion.VERSION_1_8 127 | targetCompatibility JavaVersion.VERSION_1_8 128 | } 129 | 130 | defaultConfig { 131 | applicationId "com.foodapp" 132 | minSdkVersion rootProject.ext.minSdkVersion 133 | targetSdkVersion rootProject.ext.targetSdkVersion 134 | versionCode 1 135 | versionName "1.0" 136 | } 137 | splits { 138 | abi { 139 | reset() 140 | enable enableSeparateBuildPerCPUArchitecture 141 | universalApk false // If true, also generate a universal APK 142 | include "armeabi-v7a", "x86", "arm64-v8a", "x86_64" 143 | } 144 | } 145 | signingConfigs { 146 | debug { 147 | storeFile file('debug.keystore') 148 | storePassword 'android' 149 | keyAlias 'androiddebugkey' 150 | keyPassword 'android' 151 | } 152 | } 153 | buildTypes { 154 | debug { 155 | signingConfig signingConfigs.debug 156 | } 157 | release { 158 | // Caution! In production, you need to generate your own keystore file. 159 | // see https://facebook.github.io/react-native/docs/signed-apk-android. 160 | signingConfig signingConfigs.debug 161 | minifyEnabled enableProguardInReleaseBuilds 162 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 163 | } 164 | } 165 | // applicationVariants are e.g. debug, release 166 | applicationVariants.all { variant -> 167 | variant.outputs.each { output -> 168 | // For each separate APK per architecture, set a unique version code as described here: 169 | // https://developer.android.com/studio/build/configure-apk-splits.html 170 | def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4] 171 | def abi = output.getFilter(OutputFile.ABI) 172 | if (abi != null) { // null for the universal-debug, universal-release variants 173 | output.versionCodeOverride = 174 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 175 | } 176 | 177 | } 178 | } 179 | } 180 | 181 | dependencies { 182 | implementation fileTree(dir: "libs", include: ["*.jar"]) 183 | implementation "com.facebook.react:react-native:+" // From node_modules 184 | implementation 'androidx.appcompat:appcompat:1.1.0-rc01' 185 | implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-alpha02' 186 | if (enableHermes) { 187 | def hermesPath = "../../node_modules/hermes-engine/android/"; 188 | debugImplementation files(hermesPath + "hermes-debug.aar") 189 | releaseImplementation files(hermesPath + "hermes-release.aar") 190 | } else { 191 | implementation jscFlavor 192 | } 193 | } 194 | 195 | // Run this once to be able to run the application with BUCK 196 | // puts all compile dependencies into folder libs for BUCK to use 197 | task copyDownloadableDepsToLibs(type: Copy) { 198 | from configurations.compile 199 | into 'libs' 200 | } 201 | 202 | apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) 203 | -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - boost-for-react-native (1.63.0) 3 | - BVLinearGradient (2.5.6): 4 | - React 5 | - DoubleConversion (1.1.6) 6 | - FBLazyVector (0.61.5) 7 | - FBReactNativeSpec (0.61.5): 8 | - Folly (= 2018.10.22.00) 9 | - RCTRequired (= 0.61.5) 10 | - RCTTypeSafety (= 0.61.5) 11 | - React-Core (= 0.61.5) 12 | - React-jsi (= 0.61.5) 13 | - ReactCommon/turbomodule/core (= 0.61.5) 14 | - Folly (2018.10.22.00): 15 | - boost-for-react-native 16 | - DoubleConversion 17 | - Folly/Default (= 2018.10.22.00) 18 | - glog 19 | - Folly/Default (2018.10.22.00): 20 | - boost-for-react-native 21 | - DoubleConversion 22 | - glog 23 | - glog (0.3.5) 24 | - RCTRequired (0.61.5) 25 | - RCTTypeSafety (0.61.5): 26 | - FBLazyVector (= 0.61.5) 27 | - Folly (= 2018.10.22.00) 28 | - RCTRequired (= 0.61.5) 29 | - React-Core (= 0.61.5) 30 | - React (0.61.5): 31 | - React-Core (= 0.61.5) 32 | - React-Core/DevSupport (= 0.61.5) 33 | - React-Core/RCTWebSocket (= 0.61.5) 34 | - React-RCTActionSheet (= 0.61.5) 35 | - React-RCTAnimation (= 0.61.5) 36 | - React-RCTBlob (= 0.61.5) 37 | - React-RCTImage (= 0.61.5) 38 | - React-RCTLinking (= 0.61.5) 39 | - React-RCTNetwork (= 0.61.5) 40 | - React-RCTSettings (= 0.61.5) 41 | - React-RCTText (= 0.61.5) 42 | - React-RCTVibration (= 0.61.5) 43 | - React-Core (0.61.5): 44 | - Folly (= 2018.10.22.00) 45 | - glog 46 | - React-Core/Default (= 0.61.5) 47 | - React-cxxreact (= 0.61.5) 48 | - React-jsi (= 0.61.5) 49 | - React-jsiexecutor (= 0.61.5) 50 | - Yoga 51 | - React-Core/CoreModulesHeaders (0.61.5): 52 | - Folly (= 2018.10.22.00) 53 | - glog 54 | - React-Core/Default 55 | - React-cxxreact (= 0.61.5) 56 | - React-jsi (= 0.61.5) 57 | - React-jsiexecutor (= 0.61.5) 58 | - Yoga 59 | - React-Core/Default (0.61.5): 60 | - Folly (= 2018.10.22.00) 61 | - glog 62 | - React-cxxreact (= 0.61.5) 63 | - React-jsi (= 0.61.5) 64 | - React-jsiexecutor (= 0.61.5) 65 | - Yoga 66 | - React-Core/DevSupport (0.61.5): 67 | - Folly (= 2018.10.22.00) 68 | - glog 69 | - React-Core/Default (= 0.61.5) 70 | - React-Core/RCTWebSocket (= 0.61.5) 71 | - React-cxxreact (= 0.61.5) 72 | - React-jsi (= 0.61.5) 73 | - React-jsiexecutor (= 0.61.5) 74 | - React-jsinspector (= 0.61.5) 75 | - Yoga 76 | - React-Core/RCTActionSheetHeaders (0.61.5): 77 | - Folly (= 2018.10.22.00) 78 | - glog 79 | - React-Core/Default 80 | - React-cxxreact (= 0.61.5) 81 | - React-jsi (= 0.61.5) 82 | - React-jsiexecutor (= 0.61.5) 83 | - Yoga 84 | - React-Core/RCTAnimationHeaders (0.61.5): 85 | - Folly (= 2018.10.22.00) 86 | - glog 87 | - React-Core/Default 88 | - React-cxxreact (= 0.61.5) 89 | - React-jsi (= 0.61.5) 90 | - React-jsiexecutor (= 0.61.5) 91 | - Yoga 92 | - React-Core/RCTBlobHeaders (0.61.5): 93 | - Folly (= 2018.10.22.00) 94 | - glog 95 | - React-Core/Default 96 | - React-cxxreact (= 0.61.5) 97 | - React-jsi (= 0.61.5) 98 | - React-jsiexecutor (= 0.61.5) 99 | - Yoga 100 | - React-Core/RCTImageHeaders (0.61.5): 101 | - Folly (= 2018.10.22.00) 102 | - glog 103 | - React-Core/Default 104 | - React-cxxreact (= 0.61.5) 105 | - React-jsi (= 0.61.5) 106 | - React-jsiexecutor (= 0.61.5) 107 | - Yoga 108 | - React-Core/RCTLinkingHeaders (0.61.5): 109 | - Folly (= 2018.10.22.00) 110 | - glog 111 | - React-Core/Default 112 | - React-cxxreact (= 0.61.5) 113 | - React-jsi (= 0.61.5) 114 | - React-jsiexecutor (= 0.61.5) 115 | - Yoga 116 | - React-Core/RCTNetworkHeaders (0.61.5): 117 | - Folly (= 2018.10.22.00) 118 | - glog 119 | - React-Core/Default 120 | - React-cxxreact (= 0.61.5) 121 | - React-jsi (= 0.61.5) 122 | - React-jsiexecutor (= 0.61.5) 123 | - Yoga 124 | - React-Core/RCTSettingsHeaders (0.61.5): 125 | - Folly (= 2018.10.22.00) 126 | - glog 127 | - React-Core/Default 128 | - React-cxxreact (= 0.61.5) 129 | - React-jsi (= 0.61.5) 130 | - React-jsiexecutor (= 0.61.5) 131 | - Yoga 132 | - React-Core/RCTTextHeaders (0.61.5): 133 | - Folly (= 2018.10.22.00) 134 | - glog 135 | - React-Core/Default 136 | - React-cxxreact (= 0.61.5) 137 | - React-jsi (= 0.61.5) 138 | - React-jsiexecutor (= 0.61.5) 139 | - Yoga 140 | - React-Core/RCTVibrationHeaders (0.61.5): 141 | - Folly (= 2018.10.22.00) 142 | - glog 143 | - React-Core/Default 144 | - React-cxxreact (= 0.61.5) 145 | - React-jsi (= 0.61.5) 146 | - React-jsiexecutor (= 0.61.5) 147 | - Yoga 148 | - React-Core/RCTWebSocket (0.61.5): 149 | - Folly (= 2018.10.22.00) 150 | - glog 151 | - React-Core/Default (= 0.61.5) 152 | - React-cxxreact (= 0.61.5) 153 | - React-jsi (= 0.61.5) 154 | - React-jsiexecutor (= 0.61.5) 155 | - Yoga 156 | - React-CoreModules (0.61.5): 157 | - FBReactNativeSpec (= 0.61.5) 158 | - Folly (= 2018.10.22.00) 159 | - RCTTypeSafety (= 0.61.5) 160 | - React-Core/CoreModulesHeaders (= 0.61.5) 161 | - React-RCTImage (= 0.61.5) 162 | - ReactCommon/turbomodule/core (= 0.61.5) 163 | - React-cxxreact (0.61.5): 164 | - boost-for-react-native (= 1.63.0) 165 | - DoubleConversion 166 | - Folly (= 2018.10.22.00) 167 | - glog 168 | - React-jsinspector (= 0.61.5) 169 | - React-jsi (0.61.5): 170 | - boost-for-react-native (= 1.63.0) 171 | - DoubleConversion 172 | - Folly (= 2018.10.22.00) 173 | - glog 174 | - React-jsi/Default (= 0.61.5) 175 | - React-jsi/Default (0.61.5): 176 | - boost-for-react-native (= 1.63.0) 177 | - DoubleConversion 178 | - Folly (= 2018.10.22.00) 179 | - glog 180 | - React-jsiexecutor (0.61.5): 181 | - DoubleConversion 182 | - Folly (= 2018.10.22.00) 183 | - glog 184 | - React-cxxreact (= 0.61.5) 185 | - React-jsi (= 0.61.5) 186 | - React-jsinspector (0.61.5) 187 | - react-native-safe-area-context (0.7.2): 188 | - React 189 | - React-RCTActionSheet (0.61.5): 190 | - React-Core/RCTActionSheetHeaders (= 0.61.5) 191 | - React-RCTAnimation (0.61.5): 192 | - React-Core/RCTAnimationHeaders (= 0.61.5) 193 | - React-RCTBlob (0.61.5): 194 | - React-Core/RCTBlobHeaders (= 0.61.5) 195 | - React-Core/RCTWebSocket (= 0.61.5) 196 | - React-jsi (= 0.61.5) 197 | - React-RCTNetwork (= 0.61.5) 198 | - React-RCTImage (0.61.5): 199 | - React-Core/RCTImageHeaders (= 0.61.5) 200 | - React-RCTNetwork (= 0.61.5) 201 | - React-RCTLinking (0.61.5): 202 | - React-Core/RCTLinkingHeaders (= 0.61.5) 203 | - React-RCTNetwork (0.61.5): 204 | - React-Core/RCTNetworkHeaders (= 0.61.5) 205 | - React-RCTSettings (0.61.5): 206 | - React-Core/RCTSettingsHeaders (= 0.61.5) 207 | - React-RCTText (0.61.5): 208 | - React-Core/RCTTextHeaders (= 0.61.5) 209 | - React-RCTVibration (0.61.5): 210 | - React-Core/RCTVibrationHeaders (= 0.61.5) 211 | - ReactCommon/jscallinvoker (0.61.5): 212 | - DoubleConversion 213 | - Folly (= 2018.10.22.00) 214 | - glog 215 | - React-cxxreact (= 0.61.5) 216 | - ReactCommon/turbomodule/core (0.61.5): 217 | - DoubleConversion 218 | - Folly (= 2018.10.22.00) 219 | - glog 220 | - React-Core (= 0.61.5) 221 | - React-cxxreact (= 0.61.5) 222 | - React-jsi (= 0.61.5) 223 | - ReactCommon/jscallinvoker (= 0.61.5) 224 | - RNCMaskedView (0.1.6): 225 | - React 226 | - RNGestureHandler (1.5.6): 227 | - React 228 | - RNReanimated (1.7.0): 229 | - React 230 | - RNScreens (2.0.0-beta.2): 231 | - React 232 | - RNVectorIcons (6.6.0): 233 | - React 234 | - Yoga (1.14.0) 235 | 236 | DEPENDENCIES: 237 | - BVLinearGradient (from `../node_modules/react-native-linear-gradient`) 238 | - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) 239 | - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) 240 | - FBReactNativeSpec (from `../node_modules/react-native/Libraries/FBReactNativeSpec`) 241 | - Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`) 242 | - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) 243 | - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) 244 | - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) 245 | - React (from `../node_modules/react-native/`) 246 | - React-Core (from `../node_modules/react-native/`) 247 | - React-Core/DevSupport (from `../node_modules/react-native/`) 248 | - React-Core/RCTWebSocket (from `../node_modules/react-native/`) 249 | - React-CoreModules (from `../node_modules/react-native/React/CoreModules`) 250 | - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) 251 | - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) 252 | - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) 253 | - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`) 254 | - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) 255 | - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) 256 | - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) 257 | - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) 258 | - React-RCTImage (from `../node_modules/react-native/Libraries/Image`) 259 | - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`) 260 | - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`) 261 | - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) 262 | - React-RCTText (from `../node_modules/react-native/Libraries/Text`) 263 | - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) 264 | - ReactCommon/jscallinvoker (from `../node_modules/react-native/ReactCommon`) 265 | - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) 266 | - "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)" 267 | - RNGestureHandler (from `../node_modules/react-native-gesture-handler`) 268 | - RNReanimated (from `../node_modules/react-native-reanimated`) 269 | - RNScreens (from `../node_modules/react-native-screens`) 270 | - RNVectorIcons (from `../node_modules/react-native-vector-icons`) 271 | - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) 272 | 273 | SPEC REPOS: 274 | trunk: 275 | - boost-for-react-native 276 | 277 | EXTERNAL SOURCES: 278 | BVLinearGradient: 279 | :path: "../node_modules/react-native-linear-gradient" 280 | DoubleConversion: 281 | :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" 282 | FBLazyVector: 283 | :path: "../node_modules/react-native/Libraries/FBLazyVector" 284 | FBReactNativeSpec: 285 | :path: "../node_modules/react-native/Libraries/FBReactNativeSpec" 286 | Folly: 287 | :podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec" 288 | glog: 289 | :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" 290 | RCTRequired: 291 | :path: "../node_modules/react-native/Libraries/RCTRequired" 292 | RCTTypeSafety: 293 | :path: "../node_modules/react-native/Libraries/TypeSafety" 294 | React: 295 | :path: "../node_modules/react-native/" 296 | React-Core: 297 | :path: "../node_modules/react-native/" 298 | React-CoreModules: 299 | :path: "../node_modules/react-native/React/CoreModules" 300 | React-cxxreact: 301 | :path: "../node_modules/react-native/ReactCommon/cxxreact" 302 | React-jsi: 303 | :path: "../node_modules/react-native/ReactCommon/jsi" 304 | React-jsiexecutor: 305 | :path: "../node_modules/react-native/ReactCommon/jsiexecutor" 306 | React-jsinspector: 307 | :path: "../node_modules/react-native/ReactCommon/jsinspector" 308 | react-native-safe-area-context: 309 | :path: "../node_modules/react-native-safe-area-context" 310 | React-RCTActionSheet: 311 | :path: "../node_modules/react-native/Libraries/ActionSheetIOS" 312 | React-RCTAnimation: 313 | :path: "../node_modules/react-native/Libraries/NativeAnimation" 314 | React-RCTBlob: 315 | :path: "../node_modules/react-native/Libraries/Blob" 316 | React-RCTImage: 317 | :path: "../node_modules/react-native/Libraries/Image" 318 | React-RCTLinking: 319 | :path: "../node_modules/react-native/Libraries/LinkingIOS" 320 | React-RCTNetwork: 321 | :path: "../node_modules/react-native/Libraries/Network" 322 | React-RCTSettings: 323 | :path: "../node_modules/react-native/Libraries/Settings" 324 | React-RCTText: 325 | :path: "../node_modules/react-native/Libraries/Text" 326 | React-RCTVibration: 327 | :path: "../node_modules/react-native/Libraries/Vibration" 328 | ReactCommon: 329 | :path: "../node_modules/react-native/ReactCommon" 330 | RNCMaskedView: 331 | :path: "../node_modules/@react-native-community/masked-view" 332 | RNGestureHandler: 333 | :path: "../node_modules/react-native-gesture-handler" 334 | RNReanimated: 335 | :path: "../node_modules/react-native-reanimated" 336 | RNScreens: 337 | :path: "../node_modules/react-native-screens" 338 | RNVectorIcons: 339 | :path: "../node_modules/react-native-vector-icons" 340 | Yoga: 341 | :path: "../node_modules/react-native/ReactCommon/yoga" 342 | 343 | SPEC CHECKSUMS: 344 | boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c 345 | BVLinearGradient: e3aad03778a456d77928f594a649e96995f1c872 346 | DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2 347 | FBLazyVector: aaeaf388755e4f29cd74acbc9e3b8da6d807c37f 348 | FBReactNativeSpec: 118d0d177724c2d67f08a59136eb29ef5943ec75 349 | Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51 350 | glog: 1f3da668190260b06b429bb211bfbee5cd790c28 351 | RCTRequired: b153add4da6e7dbc44aebf93f3cf4fcae392ddf1 352 | RCTTypeSafety: 9aa1b91d7f9310fc6eadc3cf95126ffe818af320 353 | React: b6a59ef847b2b40bb6e0180a97d0ca716969ac78 354 | React-Core: 688b451f7d616cc1134ac95295b593d1b5158a04 355 | React-CoreModules: d04f8494c1a328b69ec11db9d1137d667f916dcb 356 | React-cxxreact: d0f7bcafa196ae410e5300736b424455e7fb7ba7 357 | React-jsi: cb2cd74d7ccf4cffb071a46833613edc79cdf8f7 358 | React-jsiexecutor: d5525f9ed5f782fdbacb64b9b01a43a9323d2386 359 | React-jsinspector: fa0ecc501688c3c4c34f28834a76302233e29dc0 360 | react-native-safe-area-context: d227bd5ef6776683c330f44187351dc138b2a4cb 361 | React-RCTActionSheet: 600b4d10e3aea0913b5a92256d2719c0cdd26d76 362 | React-RCTAnimation: 791a87558389c80908ed06cc5dfc5e7920dfa360 363 | React-RCTBlob: d89293cc0236d9cb0933d85e430b0bbe81ad1d72 364 | React-RCTImage: 6b8e8df449eb7c814c99a92d6b52de6fe39dea4e 365 | React-RCTLinking: 121bb231c7503cf9094f4d8461b96a130fabf4a5 366 | React-RCTNetwork: fb353640aafcee84ca8b78957297bd395f065c9a 367 | React-RCTSettings: 8db258ea2a5efee381fcf7a6d5044e2f8b68b640 368 | React-RCTText: 9ccc88273e9a3aacff5094d2175a605efa854dbe 369 | React-RCTVibration: a49a1f42bf8f5acf1c3e297097517c6b3af377ad 370 | ReactCommon: 198c7c8d3591f975e5431bec1b0b3b581aa1c5dd 371 | RNCMaskedView: e5b99bc191945f157adeede68da9d424462de177 372 | RNGestureHandler: 911d3b110a7a233a34c4f800e7188a84b75319c6 373 | RNReanimated: 031fe8d9ea93c2bd689a40f05320ef9d96f74d7f 374 | RNScreens: 5e4758109c6d35f9a009ce72af873df907548020 375 | RNVectorIcons: 0bb4def82230be1333ddaeee9fcba45f0b288ed4 376 | Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b 377 | 378 | PODFILE CHECKSUM: 0bee94ce43807fbc80113b683ad50516729e9b34 379 | 380 | COCOAPODS: 1.8.4 381 | -------------------------------------------------------------------------------- /ios/foodapp.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00E356F31AD99517003FC87E /* foodappTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* foodappTests.m */; }; 11 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 12 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 13 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 14 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 15 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 16 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 17 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 18 | 2DCD954D1E0B4F2C00145EB5 /* foodappTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* foodappTests.m */; }; 19 | 4205CA745D436DFBB8E6C813 /* libPods-foodapp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A668AAC7FB199B6664241CC0 /* libPods-foodapp.a */; }; 20 | 7AA5B3952D70992993809445 /* libPods-foodappTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0D5CCA75165CE45A63F181EE /* libPods-foodappTests.a */; }; 21 | AE3E576F09C30D9A310335EC /* libPods-foodapp-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 80D9468066DE25CA7712B4D6 /* libPods-foodapp-tvOS.a */; }; 22 | F14C2695D3B663CC24805810 /* libPods-foodapp-tvOSTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 126BBB925BA25B7087716AC6 /* libPods-foodapp-tvOSTests.a */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXContainerItemProxy section */ 26 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 27 | isa = PBXContainerItemProxy; 28 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 29 | proxyType = 1; 30 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 31 | remoteInfo = foodapp; 32 | }; 33 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 34 | isa = PBXContainerItemProxy; 35 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 36 | proxyType = 1; 37 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 38 | remoteInfo = "foodapp-tvOS"; 39 | }; 40 | /* End PBXContainerItemProxy section */ 41 | 42 | /* Begin PBXFileReference section */ 43 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 44 | 00E356EE1AD99517003FC87E /* foodappTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = foodappTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 46 | 00E356F21AD99517003FC87E /* foodappTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = foodappTests.m; sourceTree = ""; }; 47 | 053010AD66C95EAC7E619C09 /* Pods-foodapp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-foodapp.release.xcconfig"; path = "Target Support Files/Pods-foodapp/Pods-foodapp.release.xcconfig"; sourceTree = ""; }; 48 | 0D5CCA75165CE45A63F181EE /* libPods-foodappTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-foodappTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 126BBB925BA25B7087716AC6 /* libPods-foodapp-tvOSTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-foodapp-tvOSTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | 13B07F961A680F5B00A75B9A /* foodapp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = foodapp.app; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = foodapp/AppDelegate.h; sourceTree = ""; }; 52 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = foodapp/AppDelegate.m; sourceTree = ""; }; 53 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 54 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = foodapp/Images.xcassets; sourceTree = ""; }; 55 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = foodapp/Info.plist; sourceTree = ""; }; 56 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = foodapp/main.m; sourceTree = ""; }; 57 | 2D02E47B1E0B4A5D006451C7 /* foodapp-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "foodapp-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | 2D02E4901E0B4A5D006451C7 /* foodapp-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "foodapp-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 59 | 30F89C12AA18DF8851D2596D /* Pods-foodapp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-foodapp.debug.xcconfig"; path = "Target Support Files/Pods-foodapp/Pods-foodapp.debug.xcconfig"; sourceTree = ""; }; 60 | 4F2BAAADE5F12B8C0D87DA3D /* Pods-foodapp-tvOSTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-foodapp-tvOSTests.debug.xcconfig"; path = "Target Support Files/Pods-foodapp-tvOSTests/Pods-foodapp-tvOSTests.debug.xcconfig"; sourceTree = ""; }; 61 | 5FFC4198B75B367D5D81B287 /* Pods-foodapp-tvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-foodapp-tvOS.release.xcconfig"; path = "Target Support Files/Pods-foodapp-tvOS/Pods-foodapp-tvOS.release.xcconfig"; sourceTree = ""; }; 62 | 663E2EF6E03EDFA4873C4084 /* Pods-foodappTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-foodappTests.release.xcconfig"; path = "Target Support Files/Pods-foodappTests/Pods-foodappTests.release.xcconfig"; sourceTree = ""; }; 63 | 80D9468066DE25CA7712B4D6 /* libPods-foodapp-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-foodapp-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 64 | A668AAC7FB199B6664241CC0 /* libPods-foodapp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-foodapp.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 65 | B90E8455057447D5A960024C /* Pods-foodapp-tvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-foodapp-tvOS.debug.xcconfig"; path = "Target Support Files/Pods-foodapp-tvOS/Pods-foodapp-tvOS.debug.xcconfig"; sourceTree = ""; }; 66 | CB35AFF677AD16DEA9D47187 /* Pods-foodappTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-foodappTests.debug.xcconfig"; path = "Target Support Files/Pods-foodappTests/Pods-foodappTests.debug.xcconfig"; sourceTree = ""; }; 67 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 68 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; 69 | F1B246DF994F26AF26E77706 /* Pods-foodapp-tvOSTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-foodapp-tvOSTests.release.xcconfig"; path = "Target Support Files/Pods-foodapp-tvOSTests/Pods-foodapp-tvOSTests.release.xcconfig"; sourceTree = ""; }; 70 | /* End PBXFileReference section */ 71 | 72 | /* Begin PBXFrameworksBuildPhase section */ 73 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 74 | isa = PBXFrameworksBuildPhase; 75 | buildActionMask = 2147483647; 76 | files = ( 77 | 7AA5B3952D70992993809445 /* libPods-foodappTests.a in Frameworks */, 78 | ); 79 | runOnlyForDeploymentPostprocessing = 0; 80 | }; 81 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 82 | isa = PBXFrameworksBuildPhase; 83 | buildActionMask = 2147483647; 84 | files = ( 85 | 4205CA745D436DFBB8E6C813 /* libPods-foodapp.a in Frameworks */, 86 | ); 87 | runOnlyForDeploymentPostprocessing = 0; 88 | }; 89 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 90 | isa = PBXFrameworksBuildPhase; 91 | buildActionMask = 2147483647; 92 | files = ( 93 | AE3E576F09C30D9A310335EC /* libPods-foodapp-tvOS.a in Frameworks */, 94 | ); 95 | runOnlyForDeploymentPostprocessing = 0; 96 | }; 97 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 98 | isa = PBXFrameworksBuildPhase; 99 | buildActionMask = 2147483647; 100 | files = ( 101 | F14C2695D3B663CC24805810 /* libPods-foodapp-tvOSTests.a in Frameworks */, 102 | ); 103 | runOnlyForDeploymentPostprocessing = 0; 104 | }; 105 | /* End PBXFrameworksBuildPhase section */ 106 | 107 | /* Begin PBXGroup section */ 108 | 00E356EF1AD99517003FC87E /* foodappTests */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | 00E356F21AD99517003FC87E /* foodappTests.m */, 112 | 00E356F01AD99517003FC87E /* Supporting Files */, 113 | ); 114 | path = foodappTests; 115 | sourceTree = ""; 116 | }; 117 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 118 | isa = PBXGroup; 119 | children = ( 120 | 00E356F11AD99517003FC87E /* Info.plist */, 121 | ); 122 | name = "Supporting Files"; 123 | sourceTree = ""; 124 | }; 125 | 13B07FAE1A68108700A75B9A /* foodapp */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 129 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 130 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 131 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 132 | 13B07FB61A68108700A75B9A /* Info.plist */, 133 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 134 | 13B07FB71A68108700A75B9A /* main.m */, 135 | ); 136 | name = foodapp; 137 | sourceTree = ""; 138 | }; 139 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 140 | isa = PBXGroup; 141 | children = ( 142 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 143 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */, 144 | A668AAC7FB199B6664241CC0 /* libPods-foodapp.a */, 145 | 80D9468066DE25CA7712B4D6 /* libPods-foodapp-tvOS.a */, 146 | 126BBB925BA25B7087716AC6 /* libPods-foodapp-tvOSTests.a */, 147 | 0D5CCA75165CE45A63F181EE /* libPods-foodappTests.a */, 148 | ); 149 | name = Frameworks; 150 | sourceTree = ""; 151 | }; 152 | 4F57B6C0FCB29A754CB4B89B /* Pods */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | 30F89C12AA18DF8851D2596D /* Pods-foodapp.debug.xcconfig */, 156 | 053010AD66C95EAC7E619C09 /* Pods-foodapp.release.xcconfig */, 157 | B90E8455057447D5A960024C /* Pods-foodapp-tvOS.debug.xcconfig */, 158 | 5FFC4198B75B367D5D81B287 /* Pods-foodapp-tvOS.release.xcconfig */, 159 | 4F2BAAADE5F12B8C0D87DA3D /* Pods-foodapp-tvOSTests.debug.xcconfig */, 160 | F1B246DF994F26AF26E77706 /* Pods-foodapp-tvOSTests.release.xcconfig */, 161 | CB35AFF677AD16DEA9D47187 /* Pods-foodappTests.debug.xcconfig */, 162 | 663E2EF6E03EDFA4873C4084 /* Pods-foodappTests.release.xcconfig */, 163 | ); 164 | name = Pods; 165 | path = Pods; 166 | sourceTree = ""; 167 | }; 168 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 169 | isa = PBXGroup; 170 | children = ( 171 | ); 172 | name = Libraries; 173 | sourceTree = ""; 174 | }; 175 | 83CBB9F61A601CBA00E9B192 = { 176 | isa = PBXGroup; 177 | children = ( 178 | 13B07FAE1A68108700A75B9A /* foodapp */, 179 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 180 | 00E356EF1AD99517003FC87E /* foodappTests */, 181 | 83CBBA001A601CBA00E9B192 /* Products */, 182 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 183 | 4F57B6C0FCB29A754CB4B89B /* Pods */, 184 | ); 185 | indentWidth = 2; 186 | sourceTree = ""; 187 | tabWidth = 2; 188 | usesTabs = 0; 189 | }; 190 | 83CBBA001A601CBA00E9B192 /* Products */ = { 191 | isa = PBXGroup; 192 | children = ( 193 | 13B07F961A680F5B00A75B9A /* foodapp.app */, 194 | 00E356EE1AD99517003FC87E /* foodappTests.xctest */, 195 | 2D02E47B1E0B4A5D006451C7 /* foodapp-tvOS.app */, 196 | 2D02E4901E0B4A5D006451C7 /* foodapp-tvOSTests.xctest */, 197 | ); 198 | name = Products; 199 | sourceTree = ""; 200 | }; 201 | /* End PBXGroup section */ 202 | 203 | /* Begin PBXNativeTarget section */ 204 | 00E356ED1AD99517003FC87E /* foodappTests */ = { 205 | isa = PBXNativeTarget; 206 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "foodappTests" */; 207 | buildPhases = ( 208 | 95619DF91874918DFABB9771 /* [CP] Check Pods Manifest.lock */, 209 | 00E356EA1AD99517003FC87E /* Sources */, 210 | 00E356EB1AD99517003FC87E /* Frameworks */, 211 | 00E356EC1AD99517003FC87E /* Resources */, 212 | ); 213 | buildRules = ( 214 | ); 215 | dependencies = ( 216 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 217 | ); 218 | name = foodappTests; 219 | productName = foodappTests; 220 | productReference = 00E356EE1AD99517003FC87E /* foodappTests.xctest */; 221 | productType = "com.apple.product-type.bundle.unit-test"; 222 | }; 223 | 13B07F861A680F5B00A75B9A /* foodapp */ = { 224 | isa = PBXNativeTarget; 225 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "foodapp" */; 226 | buildPhases = ( 227 | 6F5037A95CC79780E8A3FFCE /* [CP] Check Pods Manifest.lock */, 228 | FD10A7F022414F080027D42C /* Start Packager */, 229 | 13B07F871A680F5B00A75B9A /* Sources */, 230 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 231 | 13B07F8E1A680F5B00A75B9A /* Resources */, 232 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 233 | 5E0E95491AA5FE4425E99546 /* [CP] Copy Pods Resources */, 234 | ); 235 | buildRules = ( 236 | ); 237 | dependencies = ( 238 | ); 239 | name = foodapp; 240 | productName = foodapp; 241 | productReference = 13B07F961A680F5B00A75B9A /* foodapp.app */; 242 | productType = "com.apple.product-type.application"; 243 | }; 244 | 2D02E47A1E0B4A5D006451C7 /* foodapp-tvOS */ = { 245 | isa = PBXNativeTarget; 246 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "foodapp-tvOS" */; 247 | buildPhases = ( 248 | 86514C79081F1724D6238DC5 /* [CP] Check Pods Manifest.lock */, 249 | FD10A7F122414F3F0027D42C /* Start Packager */, 250 | 2D02E4771E0B4A5D006451C7 /* Sources */, 251 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 252 | 2D02E4791E0B4A5D006451C7 /* Resources */, 253 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 254 | ); 255 | buildRules = ( 256 | ); 257 | dependencies = ( 258 | ); 259 | name = "foodapp-tvOS"; 260 | productName = "foodapp-tvOS"; 261 | productReference = 2D02E47B1E0B4A5D006451C7 /* foodapp-tvOS.app */; 262 | productType = "com.apple.product-type.application"; 263 | }; 264 | 2D02E48F1E0B4A5D006451C7 /* foodapp-tvOSTests */ = { 265 | isa = PBXNativeTarget; 266 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "foodapp-tvOSTests" */; 267 | buildPhases = ( 268 | B635706FDC6FE7D7201CCE24 /* [CP] Check Pods Manifest.lock */, 269 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 270 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 271 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 272 | ); 273 | buildRules = ( 274 | ); 275 | dependencies = ( 276 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 277 | ); 278 | name = "foodapp-tvOSTests"; 279 | productName = "foodapp-tvOSTests"; 280 | productReference = 2D02E4901E0B4A5D006451C7 /* foodapp-tvOSTests.xctest */; 281 | productType = "com.apple.product-type.bundle.unit-test"; 282 | }; 283 | /* End PBXNativeTarget section */ 284 | 285 | /* Begin PBXProject section */ 286 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 287 | isa = PBXProject; 288 | attributes = { 289 | LastUpgradeCheck = 0940; 290 | ORGANIZATIONNAME = Facebook; 291 | TargetAttributes = { 292 | 00E356ED1AD99517003FC87E = { 293 | CreatedOnToolsVersion = 6.2; 294 | TestTargetID = 13B07F861A680F5B00A75B9A; 295 | }; 296 | 2D02E47A1E0B4A5D006451C7 = { 297 | CreatedOnToolsVersion = 8.2.1; 298 | ProvisioningStyle = Automatic; 299 | }; 300 | 2D02E48F1E0B4A5D006451C7 = { 301 | CreatedOnToolsVersion = 8.2.1; 302 | ProvisioningStyle = Automatic; 303 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 304 | }; 305 | }; 306 | }; 307 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "foodapp" */; 308 | compatibilityVersion = "Xcode 3.2"; 309 | developmentRegion = English; 310 | hasScannedForEncodings = 0; 311 | knownRegions = ( 312 | en, 313 | Base, 314 | ); 315 | mainGroup = 83CBB9F61A601CBA00E9B192; 316 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 317 | projectDirPath = ""; 318 | projectRoot = ""; 319 | targets = ( 320 | 13B07F861A680F5B00A75B9A /* foodapp */, 321 | 00E356ED1AD99517003FC87E /* foodappTests */, 322 | 2D02E47A1E0B4A5D006451C7 /* foodapp-tvOS */, 323 | 2D02E48F1E0B4A5D006451C7 /* foodapp-tvOSTests */, 324 | ); 325 | }; 326 | /* End PBXProject section */ 327 | 328 | /* Begin PBXResourcesBuildPhase section */ 329 | 00E356EC1AD99517003FC87E /* Resources */ = { 330 | isa = PBXResourcesBuildPhase; 331 | buildActionMask = 2147483647; 332 | files = ( 333 | ); 334 | runOnlyForDeploymentPostprocessing = 0; 335 | }; 336 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 337 | isa = PBXResourcesBuildPhase; 338 | buildActionMask = 2147483647; 339 | files = ( 340 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 341 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 342 | ); 343 | runOnlyForDeploymentPostprocessing = 0; 344 | }; 345 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 346 | isa = PBXResourcesBuildPhase; 347 | buildActionMask = 2147483647; 348 | files = ( 349 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 350 | ); 351 | runOnlyForDeploymentPostprocessing = 0; 352 | }; 353 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 354 | isa = PBXResourcesBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | ); 358 | runOnlyForDeploymentPostprocessing = 0; 359 | }; 360 | /* End PBXResourcesBuildPhase section */ 361 | 362 | /* Begin PBXShellScriptBuildPhase section */ 363 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 364 | isa = PBXShellScriptBuildPhase; 365 | buildActionMask = 2147483647; 366 | files = ( 367 | ); 368 | inputPaths = ( 369 | ); 370 | name = "Bundle React Native code and images"; 371 | outputPaths = ( 372 | ); 373 | runOnlyForDeploymentPostprocessing = 0; 374 | shellPath = /bin/sh; 375 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 376 | }; 377 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 378 | isa = PBXShellScriptBuildPhase; 379 | buildActionMask = 2147483647; 380 | files = ( 381 | ); 382 | inputPaths = ( 383 | ); 384 | name = "Bundle React Native Code And Images"; 385 | outputPaths = ( 386 | ); 387 | runOnlyForDeploymentPostprocessing = 0; 388 | shellPath = /bin/sh; 389 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 390 | }; 391 | 5E0E95491AA5FE4425E99546 /* [CP] Copy Pods Resources */ = { 392 | isa = PBXShellScriptBuildPhase; 393 | buildActionMask = 2147483647; 394 | files = ( 395 | ); 396 | inputPaths = ( 397 | "${PODS_ROOT}/Target Support Files/Pods-foodapp/Pods-foodapp-resources.sh", 398 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf", 399 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf", 400 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf", 401 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Feather.ttf", 402 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf", 403 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf", 404 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf", 405 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf", 406 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf", 407 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Foundation.ttf", 408 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf", 409 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf", 410 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf", 411 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf", 412 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf", 413 | "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf", 414 | ); 415 | name = "[CP] Copy Pods Resources"; 416 | outputPaths = ( 417 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AntDesign.ttf", 418 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Entypo.ttf", 419 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/EvilIcons.ttf", 420 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Feather.ttf", 421 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome.ttf", 422 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Brands.ttf", 423 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Regular.ttf", 424 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Solid.ttf", 425 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Fontisto.ttf", 426 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Foundation.ttf", 427 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Ionicons.ttf", 428 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialCommunityIcons.ttf", 429 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialIcons.ttf", 430 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Octicons.ttf", 431 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SimpleLineIcons.ttf", 432 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Zocial.ttf", 433 | ); 434 | runOnlyForDeploymentPostprocessing = 0; 435 | shellPath = /bin/sh; 436 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-foodapp/Pods-foodapp-resources.sh\"\n"; 437 | showEnvVarsInLog = 0; 438 | }; 439 | 6F5037A95CC79780E8A3FFCE /* [CP] Check Pods Manifest.lock */ = { 440 | isa = PBXShellScriptBuildPhase; 441 | buildActionMask = 2147483647; 442 | files = ( 443 | ); 444 | inputFileListPaths = ( 445 | ); 446 | inputPaths = ( 447 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 448 | "${PODS_ROOT}/Manifest.lock", 449 | ); 450 | name = "[CP] Check Pods Manifest.lock"; 451 | outputFileListPaths = ( 452 | ); 453 | outputPaths = ( 454 | "$(DERIVED_FILE_DIR)/Pods-foodapp-checkManifestLockResult.txt", 455 | ); 456 | runOnlyForDeploymentPostprocessing = 0; 457 | shellPath = /bin/sh; 458 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 459 | showEnvVarsInLog = 0; 460 | }; 461 | 86514C79081F1724D6238DC5 /* [CP] Check Pods Manifest.lock */ = { 462 | isa = PBXShellScriptBuildPhase; 463 | buildActionMask = 2147483647; 464 | files = ( 465 | ); 466 | inputFileListPaths = ( 467 | ); 468 | inputPaths = ( 469 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 470 | "${PODS_ROOT}/Manifest.lock", 471 | ); 472 | name = "[CP] Check Pods Manifest.lock"; 473 | outputFileListPaths = ( 474 | ); 475 | outputPaths = ( 476 | "$(DERIVED_FILE_DIR)/Pods-foodapp-tvOS-checkManifestLockResult.txt", 477 | ); 478 | runOnlyForDeploymentPostprocessing = 0; 479 | shellPath = /bin/sh; 480 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 481 | showEnvVarsInLog = 0; 482 | }; 483 | 95619DF91874918DFABB9771 /* [CP] Check Pods Manifest.lock */ = { 484 | isa = PBXShellScriptBuildPhase; 485 | buildActionMask = 2147483647; 486 | files = ( 487 | ); 488 | inputFileListPaths = ( 489 | ); 490 | inputPaths = ( 491 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 492 | "${PODS_ROOT}/Manifest.lock", 493 | ); 494 | name = "[CP] Check Pods Manifest.lock"; 495 | outputFileListPaths = ( 496 | ); 497 | outputPaths = ( 498 | "$(DERIVED_FILE_DIR)/Pods-foodappTests-checkManifestLockResult.txt", 499 | ); 500 | runOnlyForDeploymentPostprocessing = 0; 501 | shellPath = /bin/sh; 502 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 503 | showEnvVarsInLog = 0; 504 | }; 505 | B635706FDC6FE7D7201CCE24 /* [CP] Check Pods Manifest.lock */ = { 506 | isa = PBXShellScriptBuildPhase; 507 | buildActionMask = 2147483647; 508 | files = ( 509 | ); 510 | inputFileListPaths = ( 511 | ); 512 | inputPaths = ( 513 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 514 | "${PODS_ROOT}/Manifest.lock", 515 | ); 516 | name = "[CP] Check Pods Manifest.lock"; 517 | outputFileListPaths = ( 518 | ); 519 | outputPaths = ( 520 | "$(DERIVED_FILE_DIR)/Pods-foodapp-tvOSTests-checkManifestLockResult.txt", 521 | ); 522 | runOnlyForDeploymentPostprocessing = 0; 523 | shellPath = /bin/sh; 524 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 525 | showEnvVarsInLog = 0; 526 | }; 527 | FD10A7F022414F080027D42C /* Start Packager */ = { 528 | isa = PBXShellScriptBuildPhase; 529 | buildActionMask = 2147483647; 530 | files = ( 531 | ); 532 | inputFileListPaths = ( 533 | ); 534 | inputPaths = ( 535 | ); 536 | name = "Start Packager"; 537 | outputFileListPaths = ( 538 | ); 539 | outputPaths = ( 540 | ); 541 | runOnlyForDeploymentPostprocessing = 0; 542 | shellPath = /bin/sh; 543 | shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n"; 544 | showEnvVarsInLog = 0; 545 | }; 546 | FD10A7F122414F3F0027D42C /* Start Packager */ = { 547 | isa = PBXShellScriptBuildPhase; 548 | buildActionMask = 2147483647; 549 | files = ( 550 | ); 551 | inputFileListPaths = ( 552 | ); 553 | inputPaths = ( 554 | ); 555 | name = "Start Packager"; 556 | outputFileListPaths = ( 557 | ); 558 | outputPaths = ( 559 | ); 560 | runOnlyForDeploymentPostprocessing = 0; 561 | shellPath = /bin/sh; 562 | shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n"; 563 | showEnvVarsInLog = 0; 564 | }; 565 | /* End PBXShellScriptBuildPhase section */ 566 | 567 | /* Begin PBXSourcesBuildPhase section */ 568 | 00E356EA1AD99517003FC87E /* Sources */ = { 569 | isa = PBXSourcesBuildPhase; 570 | buildActionMask = 2147483647; 571 | files = ( 572 | 00E356F31AD99517003FC87E /* foodappTests.m in Sources */, 573 | ); 574 | runOnlyForDeploymentPostprocessing = 0; 575 | }; 576 | 13B07F871A680F5B00A75B9A /* Sources */ = { 577 | isa = PBXSourcesBuildPhase; 578 | buildActionMask = 2147483647; 579 | files = ( 580 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 581 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 582 | ); 583 | runOnlyForDeploymentPostprocessing = 0; 584 | }; 585 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 586 | isa = PBXSourcesBuildPhase; 587 | buildActionMask = 2147483647; 588 | files = ( 589 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 590 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 591 | ); 592 | runOnlyForDeploymentPostprocessing = 0; 593 | }; 594 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 595 | isa = PBXSourcesBuildPhase; 596 | buildActionMask = 2147483647; 597 | files = ( 598 | 2DCD954D1E0B4F2C00145EB5 /* foodappTests.m in Sources */, 599 | ); 600 | runOnlyForDeploymentPostprocessing = 0; 601 | }; 602 | /* End PBXSourcesBuildPhase section */ 603 | 604 | /* Begin PBXTargetDependency section */ 605 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 606 | isa = PBXTargetDependency; 607 | target = 13B07F861A680F5B00A75B9A /* foodapp */; 608 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 609 | }; 610 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 611 | isa = PBXTargetDependency; 612 | target = 2D02E47A1E0B4A5D006451C7 /* foodapp-tvOS */; 613 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 614 | }; 615 | /* End PBXTargetDependency section */ 616 | 617 | /* Begin PBXVariantGroup section */ 618 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 619 | isa = PBXVariantGroup; 620 | children = ( 621 | 13B07FB21A68108700A75B9A /* Base */, 622 | ); 623 | name = LaunchScreen.xib; 624 | path = foodapp; 625 | sourceTree = ""; 626 | }; 627 | /* End PBXVariantGroup section */ 628 | 629 | /* Begin XCBuildConfiguration section */ 630 | 00E356F61AD99517003FC87E /* Debug */ = { 631 | isa = XCBuildConfiguration; 632 | baseConfigurationReference = CB35AFF677AD16DEA9D47187 /* Pods-foodappTests.debug.xcconfig */; 633 | buildSettings = { 634 | BUNDLE_LOADER = "$(TEST_HOST)"; 635 | GCC_PREPROCESSOR_DEFINITIONS = ( 636 | "DEBUG=1", 637 | "$(inherited)", 638 | ); 639 | INFOPLIST_FILE = foodappTests/Info.plist; 640 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 641 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 642 | OTHER_LDFLAGS = ( 643 | "-ObjC", 644 | "-lc++", 645 | "$(inherited)", 646 | ); 647 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 648 | PRODUCT_NAME = "$(TARGET_NAME)"; 649 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/foodapp.app/foodapp"; 650 | }; 651 | name = Debug; 652 | }; 653 | 00E356F71AD99517003FC87E /* Release */ = { 654 | isa = XCBuildConfiguration; 655 | baseConfigurationReference = 663E2EF6E03EDFA4873C4084 /* Pods-foodappTests.release.xcconfig */; 656 | buildSettings = { 657 | BUNDLE_LOADER = "$(TEST_HOST)"; 658 | COPY_PHASE_STRIP = NO; 659 | INFOPLIST_FILE = foodappTests/Info.plist; 660 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 661 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 662 | OTHER_LDFLAGS = ( 663 | "-ObjC", 664 | "-lc++", 665 | "$(inherited)", 666 | ); 667 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 668 | PRODUCT_NAME = "$(TARGET_NAME)"; 669 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/foodapp.app/foodapp"; 670 | }; 671 | name = Release; 672 | }; 673 | 13B07F941A680F5B00A75B9A /* Debug */ = { 674 | isa = XCBuildConfiguration; 675 | baseConfigurationReference = 30F89C12AA18DF8851D2596D /* Pods-foodapp.debug.xcconfig */; 676 | buildSettings = { 677 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 678 | CURRENT_PROJECT_VERSION = 1; 679 | DEAD_CODE_STRIPPING = NO; 680 | INFOPLIST_FILE = foodapp/Info.plist; 681 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 682 | OTHER_LDFLAGS = ( 683 | "$(inherited)", 684 | "-ObjC", 685 | "-lc++", 686 | ); 687 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 688 | PRODUCT_NAME = foodapp; 689 | VERSIONING_SYSTEM = "apple-generic"; 690 | }; 691 | name = Debug; 692 | }; 693 | 13B07F951A680F5B00A75B9A /* Release */ = { 694 | isa = XCBuildConfiguration; 695 | baseConfigurationReference = 053010AD66C95EAC7E619C09 /* Pods-foodapp.release.xcconfig */; 696 | buildSettings = { 697 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 698 | CURRENT_PROJECT_VERSION = 1; 699 | INFOPLIST_FILE = foodapp/Info.plist; 700 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 701 | OTHER_LDFLAGS = ( 702 | "$(inherited)", 703 | "-ObjC", 704 | "-lc++", 705 | ); 706 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 707 | PRODUCT_NAME = foodapp; 708 | VERSIONING_SYSTEM = "apple-generic"; 709 | }; 710 | name = Release; 711 | }; 712 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 713 | isa = XCBuildConfiguration; 714 | baseConfigurationReference = B90E8455057447D5A960024C /* Pods-foodapp-tvOS.debug.xcconfig */; 715 | buildSettings = { 716 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 717 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 718 | CLANG_ANALYZER_NONNULL = YES; 719 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 720 | CLANG_WARN_INFINITE_RECURSION = YES; 721 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 722 | DEBUG_INFORMATION_FORMAT = dwarf; 723 | ENABLE_TESTABILITY = YES; 724 | GCC_NO_COMMON_BLOCKS = YES; 725 | INFOPLIST_FILE = "foodapp-tvOS/Info.plist"; 726 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 727 | OTHER_LDFLAGS = ( 728 | "$(inherited)", 729 | "-ObjC", 730 | "-lc++", 731 | ); 732 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.foodapp-tvOS"; 733 | PRODUCT_NAME = "$(TARGET_NAME)"; 734 | SDKROOT = appletvos; 735 | TARGETED_DEVICE_FAMILY = 3; 736 | TVOS_DEPLOYMENT_TARGET = 9.2; 737 | }; 738 | name = Debug; 739 | }; 740 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 741 | isa = XCBuildConfiguration; 742 | baseConfigurationReference = 5FFC4198B75B367D5D81B287 /* Pods-foodapp-tvOS.release.xcconfig */; 743 | buildSettings = { 744 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 745 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 746 | CLANG_ANALYZER_NONNULL = YES; 747 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 748 | CLANG_WARN_INFINITE_RECURSION = YES; 749 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 750 | COPY_PHASE_STRIP = NO; 751 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 752 | GCC_NO_COMMON_BLOCKS = YES; 753 | INFOPLIST_FILE = "foodapp-tvOS/Info.plist"; 754 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 755 | OTHER_LDFLAGS = ( 756 | "$(inherited)", 757 | "-ObjC", 758 | "-lc++", 759 | ); 760 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.foodapp-tvOS"; 761 | PRODUCT_NAME = "$(TARGET_NAME)"; 762 | SDKROOT = appletvos; 763 | TARGETED_DEVICE_FAMILY = 3; 764 | TVOS_DEPLOYMENT_TARGET = 9.2; 765 | }; 766 | name = Release; 767 | }; 768 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 769 | isa = XCBuildConfiguration; 770 | baseConfigurationReference = 4F2BAAADE5F12B8C0D87DA3D /* Pods-foodapp-tvOSTests.debug.xcconfig */; 771 | buildSettings = { 772 | BUNDLE_LOADER = "$(TEST_HOST)"; 773 | CLANG_ANALYZER_NONNULL = YES; 774 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 775 | CLANG_WARN_INFINITE_RECURSION = YES; 776 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 777 | DEBUG_INFORMATION_FORMAT = dwarf; 778 | ENABLE_TESTABILITY = YES; 779 | GCC_NO_COMMON_BLOCKS = YES; 780 | INFOPLIST_FILE = "foodapp-tvOSTests/Info.plist"; 781 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 782 | OTHER_LDFLAGS = ( 783 | "$(inherited)", 784 | "-ObjC", 785 | "-lc++", 786 | ); 787 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.foodapp-tvOSTests"; 788 | PRODUCT_NAME = "$(TARGET_NAME)"; 789 | SDKROOT = appletvos; 790 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/foodapp-tvOS.app/foodapp-tvOS"; 791 | TVOS_DEPLOYMENT_TARGET = 10.1; 792 | }; 793 | name = Debug; 794 | }; 795 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 796 | isa = XCBuildConfiguration; 797 | baseConfigurationReference = F1B246DF994F26AF26E77706 /* Pods-foodapp-tvOSTests.release.xcconfig */; 798 | buildSettings = { 799 | BUNDLE_LOADER = "$(TEST_HOST)"; 800 | CLANG_ANALYZER_NONNULL = YES; 801 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 802 | CLANG_WARN_INFINITE_RECURSION = YES; 803 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 804 | COPY_PHASE_STRIP = NO; 805 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 806 | GCC_NO_COMMON_BLOCKS = YES; 807 | INFOPLIST_FILE = "foodapp-tvOSTests/Info.plist"; 808 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 809 | OTHER_LDFLAGS = ( 810 | "$(inherited)", 811 | "-ObjC", 812 | "-lc++", 813 | ); 814 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.foodapp-tvOSTests"; 815 | PRODUCT_NAME = "$(TARGET_NAME)"; 816 | SDKROOT = appletvos; 817 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/foodapp-tvOS.app/foodapp-tvOS"; 818 | TVOS_DEPLOYMENT_TARGET = 10.1; 819 | }; 820 | name = Release; 821 | }; 822 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 823 | isa = XCBuildConfiguration; 824 | buildSettings = { 825 | ALWAYS_SEARCH_USER_PATHS = NO; 826 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 827 | CLANG_CXX_LIBRARY = "libc++"; 828 | CLANG_ENABLE_MODULES = YES; 829 | CLANG_ENABLE_OBJC_ARC = YES; 830 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 831 | CLANG_WARN_BOOL_CONVERSION = YES; 832 | CLANG_WARN_COMMA = YES; 833 | CLANG_WARN_CONSTANT_CONVERSION = YES; 834 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 835 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 836 | CLANG_WARN_EMPTY_BODY = YES; 837 | CLANG_WARN_ENUM_CONVERSION = YES; 838 | CLANG_WARN_INFINITE_RECURSION = YES; 839 | CLANG_WARN_INT_CONVERSION = YES; 840 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 841 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 842 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 843 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 844 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 845 | CLANG_WARN_STRICT_PROTOTYPES = YES; 846 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 847 | CLANG_WARN_UNREACHABLE_CODE = YES; 848 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 849 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 850 | COPY_PHASE_STRIP = NO; 851 | ENABLE_STRICT_OBJC_MSGSEND = YES; 852 | ENABLE_TESTABILITY = YES; 853 | GCC_C_LANGUAGE_STANDARD = gnu99; 854 | GCC_DYNAMIC_NO_PIC = NO; 855 | GCC_NO_COMMON_BLOCKS = YES; 856 | GCC_OPTIMIZATION_LEVEL = 0; 857 | GCC_PREPROCESSOR_DEFINITIONS = ( 858 | "DEBUG=1", 859 | "$(inherited)", 860 | ); 861 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 862 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 863 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 864 | GCC_WARN_UNDECLARED_SELECTOR = YES; 865 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 866 | GCC_WARN_UNUSED_FUNCTION = YES; 867 | GCC_WARN_UNUSED_VARIABLE = YES; 868 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 869 | MTL_ENABLE_DEBUG_INFO = YES; 870 | ONLY_ACTIVE_ARCH = YES; 871 | SDKROOT = iphoneos; 872 | }; 873 | name = Debug; 874 | }; 875 | 83CBBA211A601CBA00E9B192 /* Release */ = { 876 | isa = XCBuildConfiguration; 877 | buildSettings = { 878 | ALWAYS_SEARCH_USER_PATHS = NO; 879 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 880 | CLANG_CXX_LIBRARY = "libc++"; 881 | CLANG_ENABLE_MODULES = YES; 882 | CLANG_ENABLE_OBJC_ARC = YES; 883 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 884 | CLANG_WARN_BOOL_CONVERSION = YES; 885 | CLANG_WARN_COMMA = YES; 886 | CLANG_WARN_CONSTANT_CONVERSION = YES; 887 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 888 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 889 | CLANG_WARN_EMPTY_BODY = YES; 890 | CLANG_WARN_ENUM_CONVERSION = YES; 891 | CLANG_WARN_INFINITE_RECURSION = YES; 892 | CLANG_WARN_INT_CONVERSION = YES; 893 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 894 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 895 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 896 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 897 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 898 | CLANG_WARN_STRICT_PROTOTYPES = YES; 899 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 900 | CLANG_WARN_UNREACHABLE_CODE = YES; 901 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 902 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 903 | COPY_PHASE_STRIP = YES; 904 | ENABLE_NS_ASSERTIONS = NO; 905 | ENABLE_STRICT_OBJC_MSGSEND = YES; 906 | GCC_C_LANGUAGE_STANDARD = gnu99; 907 | GCC_NO_COMMON_BLOCKS = YES; 908 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 909 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 910 | GCC_WARN_UNDECLARED_SELECTOR = YES; 911 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 912 | GCC_WARN_UNUSED_FUNCTION = YES; 913 | GCC_WARN_UNUSED_VARIABLE = YES; 914 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 915 | MTL_ENABLE_DEBUG_INFO = NO; 916 | SDKROOT = iphoneos; 917 | VALIDATE_PRODUCT = YES; 918 | }; 919 | name = Release; 920 | }; 921 | /* End XCBuildConfiguration section */ 922 | 923 | /* Begin XCConfigurationList section */ 924 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "foodappTests" */ = { 925 | isa = XCConfigurationList; 926 | buildConfigurations = ( 927 | 00E356F61AD99517003FC87E /* Debug */, 928 | 00E356F71AD99517003FC87E /* Release */, 929 | ); 930 | defaultConfigurationIsVisible = 0; 931 | defaultConfigurationName = Release; 932 | }; 933 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "foodapp" */ = { 934 | isa = XCConfigurationList; 935 | buildConfigurations = ( 936 | 13B07F941A680F5B00A75B9A /* Debug */, 937 | 13B07F951A680F5B00A75B9A /* Release */, 938 | ); 939 | defaultConfigurationIsVisible = 0; 940 | defaultConfigurationName = Release; 941 | }; 942 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "foodapp-tvOS" */ = { 943 | isa = XCConfigurationList; 944 | buildConfigurations = ( 945 | 2D02E4971E0B4A5E006451C7 /* Debug */, 946 | 2D02E4981E0B4A5E006451C7 /* Release */, 947 | ); 948 | defaultConfigurationIsVisible = 0; 949 | defaultConfigurationName = Release; 950 | }; 951 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "foodapp-tvOSTests" */ = { 952 | isa = XCConfigurationList; 953 | buildConfigurations = ( 954 | 2D02E4991E0B4A5E006451C7 /* Debug */, 955 | 2D02E49A1E0B4A5E006451C7 /* Release */, 956 | ); 957 | defaultConfigurationIsVisible = 0; 958 | defaultConfigurationName = Release; 959 | }; 960 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "foodapp" */ = { 961 | isa = XCConfigurationList; 962 | buildConfigurations = ( 963 | 83CBBA201A601CBA00E9B192 /* Debug */, 964 | 83CBBA211A601CBA00E9B192 /* Release */, 965 | ); 966 | defaultConfigurationIsVisible = 0; 967 | defaultConfigurationName = Release; 968 | }; 969 | /* End XCConfigurationList section */ 970 | }; 971 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 972 | } 973 | --------------------------------------------------------------------------------