├── .watchmanconfig ├── .gitattributes ├── .babelrc ├── app.json ├── src ├── assets │ ├── Fall.jpg │ ├── Logo.jpg │ ├── Recent.jpg │ ├── Search.jpg │ ├── Spring.jpg │ ├── Summer.jpg │ ├── Winter.jpg │ ├── Bookmarks.jpg │ ├── Surprise.jpg │ ├── Weeknight.jpg │ ├── HomeScreen.png │ ├── Vegetarian.jpg │ ├── 13WZniThXy0hSE.gif │ └── fonts │ │ └── FjordOne-Regular.ttf ├── components │ ├── common │ │ ├── index.js │ │ ├── Spinner.js │ │ ├── CardSection.js │ │ ├── Card.js │ │ ├── Header.js │ │ ├── Button.js │ │ ├── Input.js │ │ └── Confirm.js │ ├── Error.js │ ├── HomeCategory.js │ ├── ToggleButton.js │ ├── RecipeListContainer.js │ ├── RecipeList.js │ ├── BookmarkContainer.js │ ├── RecipeItem.js │ ├── Search.js │ ├── BugModal.js │ ├── Home.js │ └── RecipeView.js ├── reducers │ ├── index.js │ ├── RecentReducer.js │ ├── BookmarkReducer.js │ └── RecipeReducer.js ├── actions │ ├── types.js │ └── index.js ├── App.js └── Router.js ├── .eslintrc ├── android ├── app │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-ldpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ └── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── assets │ │ │ └── fonts │ │ │ │ ├── Entypo.ttf │ │ │ │ ├── Zocial.ttf │ │ │ │ ├── EvilIcons.ttf │ │ │ │ ├── Ionicons.ttf │ │ │ │ ├── Octicons.ttf │ │ │ │ ├── FontAwesome.ttf │ │ │ │ ├── Foundation.ttf │ │ │ │ ├── MaterialIcons.ttf │ │ │ │ ├── FjordOne-Regular.ttf │ │ │ │ ├── SimpleLineIcons.ttf │ │ │ │ ├── Fjord One_Regular.ttf │ │ │ │ └── MaterialCommunityIcons.ttf │ │ │ ├── java │ │ │ └── com │ │ │ │ └── smitten_app │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── AndroidManifest.xml │ ├── BUCK │ ├── proguard-rules.pro │ └── build.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── keystores │ ├── debug.keystore.properties │ └── BUCK ├── settings.gradle ├── build.gradle ├── gradle.properties ├── gradlew.bat └── gradlew ├── ios ├── smitten_app │ ├── Images.xcassets │ │ ├── Icon.png │ │ ├── Icon-60.png │ │ ├── Icon-72.png │ │ ├── Icon@2x.png │ │ ├── Icon-72@2x.png │ │ ├── Icon-Small-50.png │ │ ├── ItunesArtwork.png │ │ ├── Icon-Small-50@2x.png │ │ ├── ItunesArtwork@2x.png │ │ └── AppIcon.appiconset │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-57x57@1x.png │ │ │ ├── Icon-App-57x57@2x.png │ │ │ ├── Icon-App-57x57@3x.png │ │ │ ├── Icon-App-60x60@1x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── Icon-App-76x76@3x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ └── Contents.json │ ├── AppDelegate.h │ ├── main.m │ ├── AppDelegate.m │ ├── Info.plist │ └── Base.lproj │ │ └── LaunchScreen.xib ├── smitten_appTests │ ├── Info.plist │ └── smitten_appTests.m ├── smitten_app-tvOSTests │ └── Info.plist ├── smitten_app-tvOS │ └── Info.plist └── smitten_app.xcodeproj │ ├── xcshareddata │ └── xcschemes │ │ ├── smitten_app.xcscheme │ │ └── smitten_app-tvOS.xcscheme │ └── project.pbxproj ├── .buckconfig ├── index.ios.js ├── index.android.js ├── __tests__ ├── index.ios.js └── index.android.js ├── README.md ├── .gitignore ├── package.json └── .flowconfig /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "smitten_app", 3 | "displayName": "smitten_app" 4 | } -------------------------------------------------------------------------------- /src/assets/Fall.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/src/assets/Fall.jpg -------------------------------------------------------------------------------- /src/assets/Logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/src/assets/Logo.jpg -------------------------------------------------------------------------------- /src/assets/Recent.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/src/assets/Recent.jpg -------------------------------------------------------------------------------- /src/assets/Search.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/src/assets/Search.jpg -------------------------------------------------------------------------------- /src/assets/Spring.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/src/assets/Spring.jpg -------------------------------------------------------------------------------- /src/assets/Summer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/src/assets/Summer.jpg -------------------------------------------------------------------------------- /src/assets/Winter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/src/assets/Winter.jpg -------------------------------------------------------------------------------- /src/assets/Bookmarks.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/src/assets/Bookmarks.jpg -------------------------------------------------------------------------------- /src/assets/Surprise.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/src/assets/Surprise.jpg -------------------------------------------------------------------------------- /src/assets/Weeknight.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/src/assets/Weeknight.jpg -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "rallycoding", 3 | "rules": { 4 | "arrow-body-style": 0 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/assets/HomeScreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/src/assets/HomeScreen.png -------------------------------------------------------------------------------- /src/assets/Vegetarian.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/src/assets/Vegetarian.jpg -------------------------------------------------------------------------------- /src/assets/13WZniThXy0hSE.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/src/assets/13WZniThXy0hSE.gif -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Smitten Kitchen 3 | 4 | -------------------------------------------------------------------------------- /src/assets/fonts/FjordOne-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/src/assets/fonts/FjordOne-Regular.ttf -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/Icon.png -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/Icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/Icon-60.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/Icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/Icon-72.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/Icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/Icon@2x.png -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/Icon-72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/Icon-72@2x.png -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/Icon-Small-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/Icon-Small-50.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/ItunesArtwork.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/ItunesArtwork.png -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/res/mipmap-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/Icon-Small-50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/Icon-Small-50@2x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/ItunesArtwork@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/ItunesArtwork@2x.png -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FjordOne-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/assets/fonts/FjordOne-Regular.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/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/twmilli/smitten-kitchen/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Fjord One_Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/assets/fonts/Fjord One_Regular.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf -------------------------------------------------------------------------------- /index.ios.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { AppRegistry } from 'react-native'; 3 | import App from './src/App'; 4 | 5 | AppRegistry.registerComponent('smitten_app', () => App); 6 | -------------------------------------------------------------------------------- /index.android.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { AppRegistry } from 'react-native'; 3 | import App from './src/App'; 4 | 5 | AppRegistry.registerComponent('smitten_app', () => App); 6 | -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@3x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twmilli/smitten-kitchen/HEAD/ios/smitten_app/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'smitten_app' 2 | include ':react-native-vector-icons' 3 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 4 | -------------------------------------------------------------------------------- /src/components/common/index.js: -------------------------------------------------------------------------------- 1 | export * from './Header'; 2 | export * from './Card'; 3 | export * from './CardSection'; 4 | export * from './Button'; 5 | export * from './Input'; 6 | export * from './Spinner'; 7 | export * from './Confirm'; 8 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 6 | -------------------------------------------------------------------------------- /__tests__/index.ios.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.ios.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /__tests__/index.android.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.android.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /src/reducers/index.js: -------------------------------------------------------------------------------- 1 | import { combineReducers } from 'redux'; 2 | import RecipeReducer from './RecipeReducer'; 3 | import BookmarkReducer from './BookmarkReducer'; 4 | import RecentReducer from './RecentReducer'; 5 | 6 | export default combineReducers({ 7 | recipes: RecipeReducer, 8 | bookmarks: BookmarkReducer, 9 | recentImg: RecentReducer 10 | }); 11 | -------------------------------------------------------------------------------- /src/reducers/RecentReducer.js: -------------------------------------------------------------------------------- 1 | import { 2 | CACHE_RECENT_IMG } from '../actions/types'; 3 | 4 | const INITIAL_STATE = { 5 | recentImg: {}, 6 | }; 7 | 8 | export default (state = INITIAL_STATE, action) => { 9 | switch (action.type) { 10 | case CACHE_RECENT_IMG: 11 | return action.payload; 12 | default: 13 | return state; 14 | } 15 | }; 16 | -------------------------------------------------------------------------------- /src/actions/types.js: -------------------------------------------------------------------------------- 1 | export const SEARCH_SUCCESS = 'search_success'; 2 | export const GET_RECIPES = 'get_recipes'; 3 | export const RESET_RECIPES = 'reset_recipes'; 4 | export const SEARCH_FAIL = 'search_fail'; 5 | export const SELECT_RECIPE = 'select_recipe'; 6 | export const ADD_BOOKMARK = 'add_bookmark'; 7 | export const LOAD_BOOKMARK_SUCCESS = 'load_bookmark_success'; 8 | export const REMOVE_BOOKMARK = 'remove_bookmark'; 9 | export const CACHE_RECENT_IMG = 'cache_recent_img'; 10 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/smitten_app/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.smitten_app; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "smitten_app"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/components/common/Spinner.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { View, ActivityIndicator } from 'react-native'; 3 | 4 | const Spinner = ({ size }) => { 5 | return ( 6 | 7 | 8 | 9 | ); 10 | }; 11 | 12 | const styles = { 13 | spinnerStyle: { 14 | justifyContent: 'center', 15 | alignItems: 'center', 16 | height: 100 17 | } 18 | }; 19 | 20 | export { Spinner }; 21 | -------------------------------------------------------------------------------- /ios/smitten_app/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (nonatomic, strong) UIWindow *window; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /ios/smitten_app/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import "AppDelegate.h" 13 | 14 | int main(int argc, char * argv[]) { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/components/common/CardSection.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { View } from 'react-native'; 3 | 4 | const CardSection = (props) => { 5 | return ( 6 | 7 | {props.children} 8 | 9 | ); 10 | }; 11 | 12 | const styles = { 13 | containerStyle: { 14 | borderBottomWidth: 1, 15 | padding: 5, 16 | backgroundColor: '#fff', 17 | justifyContent: 'flex-start', 18 | flexDirection: 'row', 19 | borderColor: '#6B7794', 20 | position: 'relative' 21 | } 22 | }; 23 | 24 | export { CardSection }; 25 | -------------------------------------------------------------------------------- /src/components/Error.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Text, View } from 'react-native'; 3 | 4 | const Error = ({ errorText }) => { 5 | if (errorText) { 6 | return ( 7 | 8 | {errorText} 9 | 10 | ); 11 | } 12 | return; 13 | }; 14 | 15 | const styles = { 16 | errorContainer: { 17 | flex: 1, 18 | alignItems: 'center', 19 | justifyContent: 'flex-start', 20 | }, 21 | errorText: { 22 | textAlign: 'center', 23 | color: '#bb4467', 24 | fontSize: 30 25 | } 26 | }; 27 | 28 | export default Error; 29 | -------------------------------------------------------------------------------- /src/reducers/BookmarkReducer.js: -------------------------------------------------------------------------------- 1 | import { 2 | ADD_BOOKMARK, 3 | LOAD_BOOKMARK_SUCCESS, 4 | REMOVE_BOOKMARK } from '../actions/types'; 5 | 6 | const INITIAL_STATE = { 7 | bookmarks: {}, 8 | }; 9 | 10 | export default (state = INITIAL_STATE, action) => { 11 | switch (action.type) { 12 | case ADD_BOOKMARK: 13 | return { ...state, [action.payload.title]: action.payload }; 14 | case LOAD_BOOKMARK_SUCCESS: 15 | return action.payload; 16 | case REMOVE_BOOKMARK: { 17 | let newState = { ...state }; 18 | delete newState[action.payload.title]; 19 | return newState; 20 | } 21 | default: 22 | return state; 23 | } 24 | }; 25 | -------------------------------------------------------------------------------- /src/components/common/Card.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { View } from 'react-native'; 3 | 4 | const Card = (props) => { 5 | return ( 6 | 7 | {props.children} 8 | 9 | ); 10 | }; 11 | 12 | 13 | const styles = { 14 | containerStyle: { 15 | borderWidth: 1, 16 | borderRadius: 2, 17 | borderColor: '#6B7794', 18 | borderBottomWidth: 0, 19 | shadowColor: '#000', 20 | shadowOffset: { width: 0, height: 2 }, 21 | shadowOpacity: 0.1, 22 | shadowRadius: 2, 23 | elevation: 1, 24 | marginLeft: 5, 25 | marginRight: 5, 26 | marginTop: 10 27 | } 28 | }; 29 | export { Card }; 30 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.3' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | mavenLocal() 18 | jcenter() 19 | maven { 20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 21 | url "$rootDir/../node_modules/react-native/android" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { Provider } from 'react-redux'; 3 | import ReduxThunk from 'redux-thunk'; 4 | import { setCustomText } from 'react-native-global-props'; 5 | import { createStore, applyMiddleware } from 'redux'; 6 | import Router from './Router'; 7 | import reducers from './reducers'; 8 | 9 | class App extends Component { 10 | render() { 11 | const store = createStore(reducers, {}, applyMiddleware(ReduxThunk)); 12 | return ( 13 | 14 | 15 | 16 | ); 17 | } 18 | } 19 | 20 | const customTextProps = { 21 | style: { 22 | fontFamily: 'Fjord-One', 23 | fontWeight: '900' 24 | } 25 | }; 26 | 27 | setCustomText(customTextProps); 28 | 29 | export default App; 30 | -------------------------------------------------------------------------------- /src/components/common/Header.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Text, View } from 'react-native'; 3 | 4 | const Header = (props) => { 5 | const { textStyle, viewStyle } = styles; 6 | 7 | return ( 8 | 9 | {props.headerText} 10 | 11 | ); 12 | }; 13 | 14 | const styles = { 15 | viewStyle: { 16 | 17 | backgroundColor: '#F8F8F8', 18 | justifyContent: 'center', 19 | alignItems: 'center', 20 | height: 60, 21 | paddingTop: 15, 22 | shadowColor: '#000', 23 | shadowOffset: { width: 0, height: 2 }, 24 | shadowOpacity: 0.2, 25 | elevation: 2, 26 | position: 'relative' 27 | 28 | }, 29 | 30 | textStyle: { 31 | fontSize: 20 32 | } 33 | }; 34 | export { Header }; 35 | -------------------------------------------------------------------------------- /ios/smitten_appTests/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/smitten_app-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 | -------------------------------------------------------------------------------- /src/components/common/Button.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Text, TouchableOpacity } from 'react-native'; 3 | 4 | const Button = (props) => { 5 | const { buttonStyle, textStyle } = styles; 6 | return ( 7 | 8 | 9 | {props.children} 10 | 11 | 12 | ); 13 | }; 14 | 15 | const styles = { 16 | textStyle: { 17 | alignSelf: 'center', 18 | color: '#6B7794', 19 | fontSize: 16, 20 | fontWeight: '600', 21 | paddingTop: 10, 22 | paddingBottom: 10 23 | }, 24 | 25 | buttonStyle: { 26 | flex: 1, 27 | alignSelf: 'stretch', 28 | backgroundColor: '#fff', 29 | borderWidth: 1, 30 | borderRadius: 5, 31 | borderColor: '#6B7794', 32 | margin: 5, 33 | marginRight: 5 34 | } 35 | }; 36 | export { Button }; 37 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # smitten-react-native 2 | A Smitten Kitchen Mobile App built with react-native 3 | 4 | 5 | 6 | 7 | 8 | 9 | Current Features: 10 | * Search database of recipes 11 | * See a surprise recipe (random) 12 | * Weeknight Favorites 13 | * Recent Recipes 14 | * Seasonal Recipes 15 | * Report an issue with a recipe 16 | * Favoriting/Bookmarking using local storage 17 | * Send recipe to a friend 18 | 19 | Future Features ?!? 20 | 21 | * Link back to Smitten Kitchen Post 22 | * Optimize speed by caching API calls 23 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useDeprecatedNdk=true 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 50 | 51 | fastlane/report.xml 52 | fastlane/Preview.html 53 | fastlane/screenshots 54 | -------------------------------------------------------------------------------- /src/reducers/RecipeReducer.js: -------------------------------------------------------------------------------- 1 | import { 2 | SEARCH_SUCCESS, 3 | GET_RECIPES, 4 | RESET_RECIPES, 5 | SEARCH_FAIL, 6 | SELECT_RECIPE } from '../actions/types'; 7 | 8 | const INITIAL_STATE = { 9 | recipeList: [], 10 | loading: false, 11 | error: '', 12 | selectedRecipe: {} 13 | }; 14 | 15 | export default (state = INITIAL_STATE, action) => { 16 | switch (action.type) { 17 | case SEARCH_SUCCESS: 18 | return { ...state, recipeList: action.payload, loading: false, error: '' }; 19 | case GET_RECIPES: 20 | return { ...state, loading: true, error: '' }; 21 | case RESET_RECIPES: 22 | return { ...state, recipeList: [], loading: false, error: '', selectedRecipe: {} }; 23 | case SELECT_RECIPE: 24 | return { ...state, selectedRecipe: action.payload, loading: false, error: '' }; 25 | case SEARCH_FAIL: 26 | return { 27 | ...state, 28 | recipeList: [], 29 | loading: false, 30 | error: 'Error retreiving recipes, please try again.' 31 | }; 32 | default: 33 | return state; 34 | } 35 | }; 36 | -------------------------------------------------------------------------------- /src/Router.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | import { Scene, Router } from 'react-native-router-flux'; 4 | import Search from './components/Search'; 5 | import Home from './components/Home'; 6 | import RecipeView from './components/RecipeView'; 7 | import RecipeListContainer from './components/RecipeListContainer'; 8 | import BookmarkContainer from './components/BookmarkContainer'; 9 | 10 | const RouterComponent = () => { 11 | return ( 12 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | ); 27 | }; 28 | 29 | export default RouterComponent; 30 | -------------------------------------------------------------------------------- /src/components/common/Input.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { TextInput, View, Text } from 'react-native'; 3 | 4 | const Input = ({ label, value, onChangeText, placeholder, secureTextEntry, viewStyle, style }) => { 5 | const { inputStyle, labelStyle, containerStyle } = styles; 6 | return ( 7 | 8 | {label} 9 | 18 | 19 | 20 | ); 21 | }; 22 | 23 | const styles = { 24 | inputStyle: { 25 | color: '#6B7794', 26 | paddingRight: 5, 27 | paddingLeft: 5, 28 | fontSize: 18, 29 | lineHeight: 23, 30 | flex: 2, 31 | }, 32 | labelStyle: { 33 | fontSize: 18, 34 | paddingLeft: 20, 35 | flex: 1 36 | }, 37 | containerStyle: { 38 | flex: 1, 39 | flexDirection: 'row', 40 | alignItems: 'flex-start' 41 | } 42 | }; 43 | 44 | export { Input }; 45 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "smitten_app", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "rnpm": { 10 | "assets": [ 11 | "src/assets/fonts" 12 | ] 13 | }, 14 | "dependencies": { 15 | "lodash": "^4.17.4", 16 | "react": "16.0.0-alpha.6", 17 | "react-addons-pure-render-mixin": "15.5.0", 18 | "react-native": "0.43.4", 19 | "react-native-communications": "^2.2.1", 20 | "react-native-global-props": "^1.1.1", 21 | "react-native-router-flux": "3.38.0", 22 | "react-native-search-box": "0.0.8", 23 | "react-native-vector-icons": "^4.0.1", 24 | "react-redux": "^5.0.4", 25 | "react-static-container": "^1.0.1", 26 | "redux": "^3.6.0", 27 | "redux-thunk": "^2.2.0" 28 | }, 29 | "devDependencies": { 30 | "babel-jest": "19.0.0", 31 | "babel-preset-react-native": "1.9.1", 32 | "eslint-config-rallycoding": "^3.2.0", 33 | "jest": "19.0.2", 34 | "react-test-renderer": "16.0.0-alpha.6" 35 | }, 36 | "jest": { 37 | "preset": "react-native" 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/components/HomeCategory.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Image, View, Text, TouchableOpacity } from 'react-native'; 3 | 4 | const HomeCategory = (props) => { 5 | const { category, onPress } = props; 6 | console.log(category.img); 7 | return ( 8 | 9 | 13 | 14 | {category.title} 15 | 16 | 17 | 18 | ); 19 | }; 20 | 21 | const styles = { 22 | backdrop: { 23 | height: 120, 24 | width: 170, 25 | borderRadius: 5 26 | }, 27 | backdropView: { 28 | height: 120, 29 | width: 170, 30 | backgroundColor: 'rgba(80,94,104,0.4)', 31 | justifyContent: 'center', 32 | alignItems: 'center', 33 | flexDirection: 'row', 34 | flexWrap: 'wrap' 35 | }, 36 | labelText: { 37 | color: 'white', 38 | fontWeight: 'bold', 39 | fontSize: 20, 40 | textAlign: 'center' 41 | } 42 | }; 43 | 44 | export default HomeCategory; 45 | -------------------------------------------------------------------------------- /src/components/ToggleButton.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { TouchableHighlight, Text, View } from 'react-native'; 3 | 4 | const ToggleButton = (props) => { 5 | return ( 6 | 7 | 8 | 11 | {props.children} 12 | 13 | 14 | 15 | ); 16 | }; 17 | 18 | const styles = { 19 | buttonStyle: { 20 | alignSelf: 'stretch' 21 | }, 22 | textStyle: { 23 | alignSelf: 'center', 24 | color: 'white', 25 | fontSize: 16, 26 | fontWeight: '600', 27 | paddingTop: 10, 28 | paddingBottom: 10, 29 | textAlign: 'center' 30 | }, 31 | textSelectedStyle: { 32 | color: '#bb4467', 33 | }, 34 | viewSelectedStyle: { 35 | backgroundColor: 'white', 36 | borderBottomWidth: 2, 37 | borderBottomColor: '#bb4467' 38 | }, 39 | viewStyle: { 40 | backgroundColor: '#6B7794', 41 | borderBottomWidth: 2, 42 | borderBottomColor: '#6B7794' 43 | } 44 | }; 45 | 46 | export default ToggleButton; 47 | -------------------------------------------------------------------------------- /src/components/RecipeListContainer.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { connect } from 'react-redux'; 3 | import { View } from 'react-native'; 4 | import Error from './Error'; 5 | import { Card, Spinner } from './common'; 6 | import * as actions from '../actions'; 7 | import RecipeList from './RecipeList'; 8 | 9 | class RecipeListContainer extends Component { 10 | renderRecipeList() { 11 | if (this.props.recipeList.length > 0) { 12 | return (); 13 | } 14 | return; 15 | } 16 | render() { 17 | const { error, loading } = this.props; 18 | if (loading) { 19 | return ( 20 | 21 | 22 | 23 | ); 24 | } else if (error) { 25 | return ; 26 | } 27 | return ( 28 | 29 | {this.renderRecipeList()} 30 | 31 | ); 32 | } 33 | } 34 | 35 | const mapStateToProps = (state) => { 36 | return { 37 | recipeList: state.recipes.recipeList, 38 | loading: state.recipes.loading, 39 | error: state.recipes.error 40 | }; 41 | }; 42 | 43 | 44 | export default connect(mapStateToProps, actions)(RecipeListContainer); 45 | -------------------------------------------------------------------------------- /src/components/RecipeList.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import _ from 'lodash'; 3 | import { connect } from 'react-redux'; 4 | import { ListView } from 'react-native'; 5 | import RecipeItem from './RecipeItem'; 6 | 7 | 8 | class RecipeList extends Component { 9 | 10 | componentWillMount() { 11 | this.createDataSource(this.props); 12 | } 13 | 14 | componentWillReceiveProps(nextProps) { 15 | this.createDataSource(nextProps); 16 | } 17 | 18 | createDataSource({ recipeList }) { 19 | const ds = new ListView.DataSource({ 20 | rowHasChanged: (r1, r2) => r1 !== r2 21 | }); 22 | this.dataSource = ds.cloneWithRows(recipeList); 23 | } 24 | 25 | renderRow(recipe) { 26 | return ; 27 | } 28 | render() { 29 | return ( 30 | 35 | ); 36 | } 37 | } 38 | 39 | const mapStateToProps = (state, ownProps) => { 40 | if (ownProps.showBookmarks) { 41 | return ({ 42 | recipeList: _.toArray(state.bookmarks).reverse() 43 | }); 44 | } 45 | return ({ 46 | recipeList: state.recipes.recipeList 47 | }); 48 | }; 49 | 50 | export default connect(mapStateToProps)(RecipeList); 51 | -------------------------------------------------------------------------------- /src/components/common/Confirm.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Text, View, Modal } from 'react-native'; 3 | import { CardSection } from './CardSection'; 4 | import { Button } from './Button'; 5 | 6 | const Confirm = ({ children, onAccept, onDecline, visible }) => { 7 | const { containerStyle, textStyle, cardSectionStyle } = styles; 8 | return ( 9 | {}} 12 | transparent 13 | visible={visible} 14 | > 15 | 16 | 17 | {children} 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | ); 27 | }; 28 | 29 | const styles = { 30 | cardSectionStyle: { 31 | justifyContent: 'center' 32 | }, 33 | textStyle: { 34 | flex: 1, 35 | fontSize: 18, 36 | textAlign: 'center', 37 | lineHeight: 40 38 | }, 39 | containerStyle: { 40 | backgroundColor: 'rgba(0,0,0,0.75)', 41 | position: 'relative', 42 | flex: 1, 43 | justifyContent: 'center' 44 | } 45 | }; 46 | 47 | export { Confirm }; 48 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /src/components/BookmarkContainer.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import _ from 'lodash'; 3 | import { connect } from 'react-redux'; 4 | import { View } from 'react-native'; 5 | import Error from './Error'; 6 | import { Card, Spinner } from './common'; 7 | import * as actions from '../actions'; 8 | import RecipeList from './RecipeList'; 9 | 10 | class BookmarkContainer extends Component { 11 | renderRecipeList() { 12 | if (this.props.recipeList.length > 0) { 13 | return (); 14 | } 15 | return; 16 | } 17 | render() { 18 | const { error, loading } = this.props; 19 | if (loading) { 20 | return ( 21 | 22 | 23 | 24 | ); 25 | } else if (error) { 26 | return ; 27 | } 28 | return ( 29 | 30 | {this.renderRecipeList()} 31 | 32 | ); 33 | } 34 | } 35 | 36 | const mapStateToProps = (state) => { 37 | return { 38 | recipeList: _.toArray(state.bookmarks), 39 | loading: state.recipes.loading, 40 | error: state.recipes.error 41 | }; 42 | }; 43 | 44 | 45 | export default connect(mapStateToProps, actions)(BookmarkContainer); 46 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/smitten_app/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.smitten_app; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.chirag.RNMail.RNMail; 7 | import com.oblador.vectoricons.VectorIconsPackage; 8 | import com.facebook.react.ReactNativeHost; 9 | import com.facebook.react.ReactPackage; 10 | import com.facebook.react.shell.MainReactPackage; 11 | import com.facebook.soloader.SoLoader; 12 | 13 | import java.util.Arrays; 14 | import java.util.List; 15 | 16 | public class MainApplication extends Application implements ReactApplication { 17 | 18 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 19 | @Override 20 | public boolean getUseDeveloperSupport() { 21 | return BuildConfig.DEBUG; 22 | } 23 | 24 | @Override 25 | protected List getPackages() { 26 | return Arrays.asList( 27 | new MainReactPackage(), 28 | new RNMail(), 29 | new VectorIconsPackage() 30 | ); 31 | } 32 | }; 33 | 34 | @Override 35 | public ReactNativeHost getReactNativeHost() { 36 | return mReactNativeHost; 37 | } 38 | 39 | @Override 40 | public void onCreate() { 41 | super.onCreate(); 42 | SoLoader.init(this, /* native exopackage */ false); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/components/RecipeItem.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { TouchableOpacity, Text, Image } from 'react-native'; 3 | import { connect } from 'react-redux'; 4 | import { Actions } from 'react-native-router-flux'; 5 | import { CardSection, Card } from './common'; 6 | import { selectRecipe } from '../actions'; 7 | 8 | class RecipeItem extends Component { 9 | onRecipePress() { 10 | this.props.selectRecipe({ recipe: this.props.recipe }); 11 | Actions.recipeView(); 12 | } 13 | render() { 14 | const { title, img } = this.props.recipe; 15 | return ( 16 | 17 | 18 | 19 | 20 | {title} 21 | 22 | 23 | 24 | 28 | 29 | 30 | 31 | ); 32 | } 33 | } 34 | 35 | const styles = { 36 | imgStyle: { 37 | borderRadius: 5, 38 | width: 300, 39 | height: 200 40 | }, 41 | textStyle: { 42 | fontSize: 18, 43 | textAlign: 'center', 44 | color: '#6B7794' 45 | } 46 | }; 47 | 48 | export default connect(null, { selectRecipe })(RecipeItem); 49 | -------------------------------------------------------------------------------- /ios/smitten_app/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | 12 | #import 13 | #import 14 | 15 | @implementation AppDelegate 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | NSURL *jsCodeLocation; 20 | 21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"smitten_app" 25 | initialProperties:nil 26 | launchOptions:launchOptions]; 27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 28 | 29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 30 | UIViewController *rootViewController = [UIViewController new]; 31 | rootViewController.view = rootView; 32 | self.window.rootViewController = rootViewController; 33 | [self.window makeKeyAndVisible]; 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | .*/Libraries/react-native/ReactNative.js 16 | 17 | [include] 18 | 19 | [libs] 20 | node_modules/react-native/Libraries/react-native/react-native-interface.js 21 | node_modules/react-native/flow 22 | flow/ 23 | 24 | [options] 25 | emoji=true 26 | 27 | module.system=haste 28 | 29 | experimental.strict_type_args=true 30 | 31 | munge_underscores=true 32 | 33 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 34 | 35 | suppress_type=$FlowIssue 36 | suppress_type=$FlowFixMe 37 | suppress_type=$FixMe 38 | 39 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-0]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 40 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-0]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 41 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 42 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 43 | 44 | unsafe.enable_getters_and_setters=true 45 | 46 | [version] 47 | ^0.40.0 48 | -------------------------------------------------------------------------------- /src/components/Search.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { connect } from 'react-redux'; 3 | import { View } from 'react-native'; 4 | import SearchBox from 'react-native-search-box'; 5 | import { Card, Spinner } from './common'; 6 | import * as actions from '../actions'; 7 | import RecipeList from './RecipeList'; 8 | import Error from './Error'; 9 | 10 | class Search extends Component { 11 | state = { searchTerm: '' } 12 | handleSearch() { 13 | this.props.searchFullText(this.state.searchTerm); 14 | return new Promise((resolve) => { 15 | resolve(); 16 | }); 17 | } 18 | renderRecipeList() { 19 | const { loading, recipeList } = this.props; 20 | if (loading) { 21 | return ( 22 | 23 | 24 | 25 | ); 26 | } else if (recipeList.length > 0) { 27 | return (); 28 | } 29 | return; 30 | } 31 | render() { 32 | const { error, recipeList } = this.props; 33 | const errorView = error ? : null; 34 | return ( 35 | 0 || error ? { flex: 1 } : {}}> 36 | this.setState({ searchTerm })} 39 | backgroundColor='#6B7794' 40 | placeholderTextColor='#6B7794' 41 | tintColorSearch='#6B7794' 42 | /> 43 | {errorView} 44 | {this.renderRecipeList()} 45 | 46 | ); 47 | } 48 | } 49 | const mapStateToProps = (state) => { 50 | return { 51 | recipeList: state.recipes.recipeList, 52 | loading: state.recipes.loading, 53 | error: state.recipes.error 54 | }; 55 | }; 56 | 57 | export default connect(mapStateToProps, actions)(Search); 58 | -------------------------------------------------------------------------------- /ios/smitten_app-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | lib_deps = [] 12 | 13 | for jarfile in glob(['libs/*.jar']): 14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')] 15 | lib_deps.append(':' + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | 21 | for aarfile in glob(['libs/*.aar']): 22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')] 23 | lib_deps.append(':' + name) 24 | android_prebuilt_aar( 25 | name = name, 26 | aar = aarfile, 27 | ) 28 | 29 | android_library( 30 | name = "all-libs", 31 | exported_deps = lib_deps, 32 | ) 33 | 34 | android_library( 35 | name = "app-code", 36 | srcs = glob([ 37 | "src/main/java/**/*.java", 38 | ]), 39 | deps = [ 40 | ":all-libs", 41 | ":build_config", 42 | ":res", 43 | ], 44 | ) 45 | 46 | android_build_config( 47 | name = "build_config", 48 | package = "com.smitten_app", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.smitten_app", 54 | res = "src/main/res", 55 | ) 56 | 57 | android_binary( 58 | name = "app", 59 | keystore = "//android/keystores:debug", 60 | manifest = "src/main/AndroidManifest.xml", 61 | package_type = "debug", 62 | deps = [ 63 | ":app-code", 64 | ], 65 | ) 66 | -------------------------------------------------------------------------------- /ios/smitten_app/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | {"images":[{"idiom":"iphone","size":"20x20","scale":"2x","filename":"Icon-App-20x20@2x.png"},{"idiom":"iphone","size":"20x20","scale":"3x","filename":"Icon-App-20x20@3x.png"},{"idiom":"iphone","size":"29x29","scale":"1x","filename":"Icon-App-29x29@1x.png"},{"idiom":"iphone","size":"29x29","scale":"2x","filename":"Icon-App-29x29@2x.png"},{"idiom":"iphone","size":"29x29","scale":"3x","filename":"Icon-App-29x29@3x.png"},{"idiom":"iphone","size":"40x40","scale":"1x","filename":"Icon-App-40x40@1x.png"},{"idiom":"iphone","size":"40x40","scale":"2x","filename":"Icon-App-40x40@2x.png"},{"idiom":"iphone","size":"40x40","scale":"3x","filename":"Icon-App-40x40@3x.png"},{"idiom":"iphone","size":"57x57","scale":"1x","filename":"Icon-App-57x57@1x.png"},{"idiom":"iphone","size":"57x57","scale":"2x","filename":"Icon-App-57x57@2x.png"},{"idiom":"iphone","size":"57x57","scale":"3x","filename":"Icon-App-57x57@3x.png"},{"idiom":"iphone","size":"60x60","scale":"1x","filename":"Icon-App-60x60@1x.png"},{"idiom":"iphone","size":"60x60","scale":"2x","filename":"Icon-App-60x60@2x.png"},{"idiom":"iphone","size":"60x60","scale":"3x","filename":"Icon-App-60x60@3x.png"},{"idiom":"iphone","size":"76x76","scale":"1x","filename":"Icon-App-76x76@1x.png"},{"idiom":"ipad","size":"20x20","scale":"1x","filename":"Icon-App-20x20@1x.png"},{"idiom":"ipad","size":"20x20","scale":"2x","filename":"Icon-App-20x20@2x.png"},{"idiom":"ipad","size":"29x29","scale":"1x","filename":"Icon-App-29x29@1x.png"},{"idiom":"ipad","size":"29x29","scale":"2x","filename":"Icon-App-29x29@2x.png"},{"idiom":"ipad","size":"40x40","scale":"1x","filename":"Icon-App-40x40@1x.png"},{"idiom":"ipad","size":"40x40","scale":"2x","filename":"Icon-App-40x40@2x.png"},{"idiom":"ipad","size":"76x76","scale":"1x","filename":"Icon-App-76x76@1x.png"},{"idiom":"ipad","size":"76x76","scale":"2x","filename":"Icon-App-76x76@2x.png"},{"idiom":"ipad","size":"76x76","scale":"3x","filename":"Icon-App-76x76@3x.png"},{"idiom":"ipad","size":"83.5x83.5","scale":"2x","filename":"Icon-App-83.5x83.5@2x.png"}],"info":{"version":1,"author":"fanstudio"}} -------------------------------------------------------------------------------- /ios/smitten_appTests/smitten_appTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | #import 12 | 13 | #import 14 | #import 15 | 16 | #define TIMEOUT_SECONDS 600 17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 18 | 19 | @interface smitten_appTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation smitten_appTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[[UIApplication sharedApplication] delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /ios/smitten_app/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | smitten_app 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 | NSExceptionDomains 30 | 31 | localhost 32 | 33 | NSExceptionAllowsInsecureHTTPLoads 34 | 35 | 36 | 37 | 38 | NSLocationWhenInUseUsageDescription 39 | 40 | UIAppFonts 41 | 42 | FjordOne-Regular.ttf 43 | Entypo.ttf 44 | EvilIcons.ttf 45 | FontAwesome.ttf 46 | Foundation.ttf 47 | Ionicons.ttf 48 | MaterialCommunityIcons.ttf 49 | MaterialIcons.ttf 50 | Octicons.ttf 51 | SimpleLineIcons.ttf 52 | Zocial.ttf 53 | 54 | UILaunchStoryboardName 55 | LaunchScreen 56 | UIRequiredDeviceCapabilities 57 | 58 | armv7 59 | 60 | UISupportedInterfaceOrientations 61 | 62 | UIInterfaceOrientationPortrait 63 | UIInterfaceOrientationLandscapeLeft 64 | UIInterfaceOrientationLandscapeRight 65 | 66 | UIViewControllerBasedStatusBarAppearance 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/components/BugModal.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { View, Modal } from 'react-native'; 3 | import { Button, CardSection, Input } from './common'; 4 | 5 | class BugModal extends Component { 6 | state={ titleText: this.props.recipeTitle, descriptionText: '' } 7 | 8 | onSubmit() { 9 | this.email({ title: this.state.titleText, description: this.state.descriptionText }); 10 | this.setState({ titleText: '', descriptionText: '' }); 11 | this.props.onCancel(); 12 | } 13 | 14 | email({ title, description }) { 15 | const url = `RECIPE_API_URL/email/?title=${title}&description=${description}`; 16 | fetch(url) // eslint-disable-line 17 | .catch((err) => { 18 | console.log(err); 19 | }); 20 | } 21 | 22 | render() { 23 | const { visible, onCancel } = this.props; 24 | const { containerStyle, cardSectionStyle } = styles; 25 | return ( {}} 28 | transparent 29 | visible={visible} 30 | > 31 | 32 | 33 | this.setState({ titleText: val })} 37 | viewStyle={{ flex: 1 }} 38 | style={{ height: 100 }} 39 | /> 40 | this.setState({ descriptionText: val })} 45 | multiline 46 | viewStyle={{ flex: 3 }} 47 | style={{ height: 400 }} 48 | /> 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | ); 57 | } 58 | } 59 | 60 | const styles = { 61 | cardSectionStyle: { 62 | justifyContent: 'center', 63 | flex: 1, 64 | flexDirection: 'column', 65 | paddingTop: 30 66 | }, 67 | textStyle: { 68 | flex: 1, 69 | fontSize: 18, 70 | textAlign: 'center', 71 | lineHeight: 40 72 | }, 73 | containerStyle: { 74 | backgroundColor: 'rgba(0,0,0,0.75)', 75 | position: 'relative', 76 | flex: 1, 77 | justifyContent: 'center', 78 | flexDirection: 'column', 79 | marginTop: 60 80 | } 81 | }; 82 | 83 | export default BugModal; 84 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # okhttp 54 | 55 | -keepattributes Signature 56 | -keepattributes *Annotation* 57 | -keep class okhttp3.** { *; } 58 | -keep interface okhttp3.** { *; } 59 | -dontwarn okhttp3.** 60 | 61 | # okio 62 | 63 | -keep class sun.misc.Unsafe { *; } 64 | -dontwarn java.nio.file.* 65 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 66 | -dontwarn okio.** 67 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /src/components/Home.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { View, ScrollView } from 'react-native'; 3 | import { connect } from 'react-redux'; 4 | import { Actions } from 'react-native-router-flux'; 5 | import HomeCategory from './HomeCategory'; 6 | import * as actions from '../actions'; 7 | 8 | import WeeknightImg from '../assets/Weeknight.jpg'; 9 | import RecentImg from '../assets/Recent.jpg'; 10 | import SpringImg from '../assets/Spring.jpg'; 11 | import SummerImg from '../assets/Summer.jpg'; 12 | import FallImg from '../assets/Fall.jpg'; 13 | import WinterImg from '../assets/Winter.jpg'; 14 | import SearchImg from '../assets/Search.jpg'; 15 | import SurpriseImg from '../assets/Surprise.jpg'; 16 | import BookmarkedImg from '../assets/Bookmarks.jpg'; 17 | import VegetarianImg from '../assets/Vegetarian.jpg'; 18 | 19 | const categoryList = [ 20 | { title: 'Search', img: SearchImg }, 21 | { title: 'Surprise!', img: SurpriseImg }, 22 | { title: 'Weeknight Favorites', img: WeeknightImg }, 23 | { title: 'Recent', img: RecentImg }, 24 | { title: 'Bookmarked', img: BookmarkedImg }, 25 | { title: 'Vegetarian', img: VegetarianImg }, 26 | { title: 'Spring', img: SpringImg }, 27 | { title: 'Summer', img: SummerImg }, 28 | { title: 'Fall', img: FallImg }, 29 | { title: 'Winter', img: WinterImg } 30 | ]; 31 | class Home extends Component { 32 | componentWillMount() { 33 | this.props.loadBookmarks(); 34 | this.props.loadRecent(); 35 | } 36 | 37 | handlePress({ title }) { 38 | this.props.resetRecipes(); 39 | switch (title) { 40 | case 'Search': 41 | Actions.search(); 42 | break; 43 | case 'Surprise!': 44 | this.props.getRandom(); 45 | Actions.recipeView(); 46 | break; 47 | case 'Recent': 48 | this.props.getRecent(); 49 | Actions.recipeCategory(); 50 | break; 51 | case 'Bookmarked': 52 | Actions.bookmarked(); 53 | break; 54 | default: 55 | Actions.recipeCategory(); 56 | this.props.searchByTag(title); 57 | } 58 | } 59 | 60 | renderCategories() { 61 | return ( 62 | categoryList.map((category, i) => { 63 | if (this.props.recentImg && category.title === 'Recent') { 64 | console.log('RECENT IMAGE', this.props.recentImg); 65 | return (); 69 | } 70 | return ( 71 | ); 74 | }) 75 | ); 76 | } 77 | render() { 78 | return ( 79 | 80 | 81 | {this.renderCategories()} 82 | 83 | 84 | ); 85 | } 86 | } 87 | 88 | const styles = { 89 | mainContainer: { 90 | flexDirection: 'row', 91 | flexWrap: 'wrap', 92 | justifyContent: 'center' 93 | }, 94 | backdrop: { 95 | height: 180.5, 96 | width: 180.5, 97 | borderRadius: 5 98 | }, 99 | backdropView: { 100 | height: 180.5, 101 | width: 180.5, 102 | backgroundColor: 'rgba(80,94,104,0.4)', 103 | justifyContent: 'center', 104 | alignItems: 'center', 105 | flexDirection: 'row', 106 | flexWrap: 'wrap' 107 | }, 108 | labelText: { 109 | color: 'white' 110 | } 111 | }; 112 | 113 | const mapStateToProps = (state) => { 114 | return { 115 | recentImg: state.recentImg 116 | }; 117 | }; 118 | 119 | export default connect(mapStateToProps, actions)(Home); 120 | -------------------------------------------------------------------------------- /ios/smitten_app/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/actions/index.js: -------------------------------------------------------------------------------- 1 | import { AsyncStorage } from 'react-native'; 2 | import { SEARCH_SUCCESS, 3 | GET_RECIPES, 4 | RESET_RECIPES, 5 | SEARCH_FAIL, 6 | SELECT_RECIPE, 7 | ADD_BOOKMARK, 8 | LOAD_BOOKMARK_SUCCESS, 9 | REMOVE_BOOKMARK, 10 | CACHE_RECENT_IMG } from './types'; 11 | 12 | export const searchFullText = (searchTerm) => { 13 | return (dispatch) => { 14 | dispatch({ type: GET_RECIPES }); 15 | const url = `RECIPE_API_URL/fullsearch/${searchTerm}`; 16 | getRecipes(url) 17 | .then((json) => { 18 | dispatch({ type: SEARCH_SUCCESS, payload: json }); 19 | }).catch((err) => { 20 | console.log(err); 21 | dispatch({ type: SEARCH_FAIL }); 22 | }); 23 | }; 24 | }; 25 | 26 | const timeout = (ms, promise) => { 27 | return new Promise((resolve, reject) => { 28 | setTimeout(() => { 29 | reject(new Error('timeout')); 30 | }, ms); 31 | promise.then(resolve, reject); 32 | }); 33 | }; 34 | 35 | const getRecipes = (url) => { 36 | const MAX_WAITING_TIME = 20000; 37 | return (timeout(MAX_WAITING_TIME, fetch(url) // eslint-disable-line 38 | .then((res) => res.json()) 39 | .catch((err) => { 40 | return (err); 41 | }))); 42 | }; 43 | 44 | export const searchByTag = (tag) => { 45 | return (dispatch) => { 46 | dispatch({ type: GET_RECIPES }); 47 | let url = `RECIPE_API_URL/?tags=${tag}`; 48 | if (tag === 'Weeknight Favorites') { 49 | url = `RECIPE_API_URL/fullsearch/${tag}`; 50 | } 51 | getRecipes(url).then((json) => { 52 | dispatch({ type: SEARCH_SUCCESS, payload: json }); 53 | }).catch((err) => { 54 | console.log(err); 55 | dispatch({ type: SEARCH_FAIL }); 56 | }); 57 | }; 58 | }; 59 | 60 | export const getRecent = () => { 61 | return (dispatch) => { 62 | dispatch({ type: GET_RECIPES }); 63 | const url = 'RECIPE_API_URL/recent'; 64 | getRecipes(url).then((json) => { 65 | dispatch({ type: SEARCH_SUCCESS, payload: json }); 66 | 67 | AsyncStorage.setItem('recentImg', JSON.stringify({ uri: json[0].img })) 68 | .then(() => dispatch({ type: CACHE_RECENT_IMG, payload: { uri: json[0].img } })); 69 | }).catch((err) => { 70 | console.log(err); 71 | dispatch({ type: SEARCH_FAIL }); 72 | }); 73 | }; 74 | }; 75 | 76 | export const getRandom = () => { 77 | return (dispatch) => { 78 | const url = 'RECIPE_API_URL/random'; 79 | dispatch({ type: GET_RECIPES }); 80 | getRecipes(url).then((json) => { 81 | dispatch(selectRecipe({ recipe: json[0] })); 82 | }).catch((err) => { 83 | console.log(err); 84 | dispatch({ type: SEARCH_FAIL }); 85 | }); 86 | }; 87 | }; 88 | 89 | export const resetRecipes = () => { 90 | return { type: RESET_RECIPES }; 91 | }; 92 | 93 | export const selectRecipe = ({ recipe }) => { 94 | return { type: SELECT_RECIPE, payload: recipe }; 95 | }; 96 | 97 | export const bookmarkRecipe = ({ recipe }) => { 98 | return ((dispatch) => { 99 | AsyncStorage.getItem('bookmarked', (err, result) => { 100 | let newResult = {}; 101 | if (result) { 102 | newResult = JSON.parse(result); 103 | } 104 | console.log(newResult); 105 | newResult[recipe.title] = recipe; 106 | AsyncStorage.setItem('bookmarked', JSON.stringify(newResult)) 107 | .then(() => dispatch({ type: ADD_BOOKMARK, payload: recipe })); 108 | }); 109 | }); 110 | }; 111 | 112 | export const loadBookmarks = () => { 113 | return ((dispatch) => { 114 | AsyncStorage.getItem('bookmarked', (err, result) => { 115 | let bookmarks = {}; 116 | if (result) { 117 | bookmarks = JSON.parse(result); 118 | } 119 | dispatch({ type: LOAD_BOOKMARK_SUCCESS, payload: bookmarks }); 120 | }); 121 | }); 122 | }; 123 | 124 | export const removeBookmark = ({ recipe }) => { 125 | return ((dispatch) => { 126 | AsyncStorage.getItem('bookmarked', (err, result) => { 127 | let newResult = {}; 128 | if (result) { 129 | newResult = JSON.parse(result); 130 | delete newResult[recipe.title]; 131 | AsyncStorage.setItem('bookmarked', JSON.stringify(newResult)) 132 | .then(() => dispatch({ type: REMOVE_BOOKMARK, payload: recipe })); 133 | } 134 | }); 135 | }); 136 | }; 137 | 138 | export const loadRecent = () => { 139 | return ((dispatch) => { 140 | AsyncStorage.getItem('recentImg', (err, result) => { 141 | if (result) { 142 | console.log('RESULT', JSON.parse(result)); 143 | dispatch({ type: CACHE_RECENT_IMG, payload: JSON.parse(result) }); 144 | } else { 145 | const url = 'RECIPE_API_URL/recent'; 146 | getRecipes(url).then((json) => { 147 | console.log('JSON', json[0].img); 148 | AsyncStorage.setItem('recentImg', JSON.stringify({ uri: json[0].img })) 149 | .then(() => dispatch({ type: CACHE_RECENT_IMG, payload: { uri: json[0].img } })); 150 | }); 151 | } 152 | }); 153 | }); 154 | }; 155 | -------------------------------------------------------------------------------- /ios/smitten_app.xcodeproj/xcshareddata/xcschemes/smitten_app.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/smitten_app.xcodeproj/xcshareddata/xcschemes/smitten_app-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 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // the root of your project, i.e. where "package.json" lives 37 | * root: "../../", 38 | * 39 | * // where to put the JS bundle asset in debug mode 40 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 41 | * 42 | * // where to put the JS bundle asset in release mode 43 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 44 | * 45 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 46 | * // require('./image.png')), in debug mode 47 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 48 | * 49 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 50 | * // require('./image.png')), in release mode 51 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 52 | * 53 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 54 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 55 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 56 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 57 | * // for example, you might want to remove it from here. 58 | * inputExcludes: ["android/**", "ios/**"], 59 | * 60 | * // override which node gets called and with what additional arguments 61 | * nodeExecutableAndArgs: ["node"] 62 | * 63 | * // supply additional arguments to the packager 64 | * extraPackagerArgs: [] 65 | * ] 66 | */ 67 | 68 | apply from: "../../node_modules/react-native/react.gradle" 69 | 70 | project.ext.vectoricons = [ 71 | iconFontNames: [ 'FontAwesome.ttf'] // Name of the font files you want to copy 72 | ] 73 | 74 | apply from: "../../node_modules/react-native-vector-icons/fonts.gradle" 75 | 76 | /** 77 | * Set this to true to create two separate APKs instead of one: 78 | * - An APK that only works on ARM devices 79 | * - An APK that only works on x86 devices 80 | * The advantage is the size of the APK is reduced by about 4MB. 81 | * Upload all the APKs to the Play Store and people will download 82 | * the correct one based on the CPU architecture of their device. 83 | */ 84 | def enableSeparateBuildPerCPUArchitecture = false 85 | 86 | /** 87 | * Run Proguard to shrink the Java bytecode in release builds. 88 | */ 89 | def enableProguardInReleaseBuilds = false 90 | 91 | android { 92 | compileSdkVersion 23 93 | buildToolsVersion "23.0.1" 94 | 95 | defaultConfig { 96 | applicationId "com.smitten_app" 97 | minSdkVersion 16 98 | targetSdkVersion 22 99 | versionCode 1 100 | versionName "1.0" 101 | ndk { 102 | abiFilters "armeabi-v7a", "x86" 103 | } 104 | } 105 | splits { 106 | abi { 107 | reset() 108 | enable enableSeparateBuildPerCPUArchitecture 109 | universalApk false // If true, also generate a universal APK 110 | include "armeabi-v7a", "x86" 111 | } 112 | } 113 | buildTypes { 114 | release { 115 | minifyEnabled enableProguardInReleaseBuilds 116 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 117 | } 118 | } 119 | // applicationVariants are e.g. debug, release 120 | applicationVariants.all { variant -> 121 | variant.outputs.each { output -> 122 | // For each separate APK per architecture, set a unique version code as described here: 123 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 124 | def versionCodes = ["armeabi-v7a":1, "x86":2] 125 | def abi = output.getFilter(OutputFile.ABI) 126 | if (abi != null) { // null for the universal-debug, universal-release variants 127 | output.versionCodeOverride = 128 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 129 | } 130 | } 131 | } 132 | } 133 | 134 | dependencies { 135 | compile project(':react-native-vector-icons') 136 | compile fileTree(dir: "libs", include: ["*.jar"]) 137 | compile "com.android.support:appcompat-v7:23.0.1" 138 | compile "com.facebook.react:react-native:+" // From node_modules 139 | } 140 | 141 | // Run this once to be able to run the application with BUCK 142 | // puts all compile dependencies into folder libs for BUCK to use 143 | task copyDownloadableDepsToLibs(type: Copy) { 144 | from configurations.compile 145 | into 'libs' 146 | } 147 | -------------------------------------------------------------------------------- /src/components/RecipeView.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { View, Text, Image, ScrollView, Linking } from 'react-native'; 3 | import { text } from 'react-native-communications'; 4 | import { connect } from 'react-redux'; 5 | import Icon from 'react-native-vector-icons/FontAwesome'; 6 | import { Card, CardSection, Spinner, Button } from './common'; 7 | import ToggleButton from './ToggleButton'; 8 | import BugModal from './BugModal'; 9 | import Error from './Error'; 10 | import { bookmarkRecipe, removeBookmark } from '../actions'; 11 | 12 | 13 | class RecipeView extends Component { 14 | state = { showIngredients: true, showBugModal: false } 15 | handleBookmark() { 16 | const { recipe } = this.props; 17 | if (this.props.bookmarked) { 18 | this.props.removeBookmark({ recipe }); 19 | } else { 20 | this.props.bookmarkRecipe({ recipe }); 21 | } 22 | } 23 | 24 | handleSend() { 25 | const { title, url } = this.props.recipe; 26 | text(null, //to 27 | `${title} by Smitten Kitchen\n${url}` //body 28 | ); 29 | } 30 | handleLink() { 31 | const { url } = this.props.recipe; 32 | Linking.openURL(url).catch(err => console.log('An error has occurred', err)); 33 | } 34 | 35 | renderIngredientList(ingredientList) { 36 | return ( 37 | ingredientList.map((ingredient, i) => { 38 | return ( 39 | 40 | + 41 | {ingredient} 42 | 43 | ); 44 | }) 45 | ); 46 | } 47 | 48 | renderDirectionList(directions) { 49 | return ( 50 | directions.map((dir, i) => { 51 | return ( 52 | 53 | {i + 1}. 54 | {dir} 55 | 56 | ); 57 | }) 58 | ); 59 | } 60 | renderList() { 61 | const { ingredient_list, directions } = this.props.recipe; 62 | if (this.state.showIngredients) { 63 | return (this.renderIngredientList(ingredient_list)); 64 | } 65 | return (this.renderDirectionList(directions)); 66 | } 67 | 68 | renderNotes() { 69 | if (this.props.recipe.notes) { 70 | return ( 71 | 72 | 73 | {this.props.recipe.notes} 74 | 75 | 76 | ); 77 | } 78 | return; 79 | } 80 | 81 | render() { 82 | if (this.props.loading) { 83 | return ( 84 | 85 | ); 86 | } else if (this.props.error) { 87 | return ; 88 | } 89 | const { img, title } = this.props.recipe; 90 | return ( 91 | 92 | 93 | 94 | 98 | 99 | {title} 100 | 101 | 102 | 103 | 104 | 112 | 120 | 128 | 129 | 130 | this.setState({ showIngredients: true })} 132 | selected={this.state.showIngredients} 133 | > 134 | Ingredients 135 | 136 | this.setState({ showIngredients: false })} 138 | selected={!this.state.showIngredients} 139 | > 140 | Directions 141 | 142 | 143 | 144 | {this.renderList()} 145 | 146 | 147 | 148 | this.setState({ showBugModal: false })} 150 | recipeTitle={this.props.recipe.title} 151 | /> 152 | 153 | ); 154 | } 155 | } 156 | 157 | const styles = { 158 | backdrop: { 159 | height: 320, 160 | alignItems: 'stretch', 161 | borderRadius: 5 162 | }, 163 | backdropView: { 164 | height: 320, 165 | width: 320, 166 | backgroundColor: 'rgba(80,94,104,0.6)', 167 | justifyContent: 'center', 168 | alignItems: 'flex-start', 169 | flexDirection: 'row', 170 | }, 171 | headline: { 172 | fontSize: 24, 173 | backgroundColor: 'rgba(0,0,0,0)', 174 | color: 'white', 175 | fontWeight: 'bold', 176 | textAlign: 'center' 177 | }, 178 | toggleContainer: { 179 | flex: 1, 180 | flexDirection: 'row', 181 | flexWrap: 'wrap', 182 | justifyContent: 'center' 183 | }, 184 | ingredient: { 185 | marginTop: 5, 186 | margin: 5, 187 | color: '#6B7794', 188 | fontSize: 16 189 | }, 190 | iconContainer: { 191 | flex: 1, 192 | flexDirection: 'row', 193 | borderBottomWidth: 2, 194 | borderBottomColor: '#6B7794' 195 | } 196 | }; 197 | 198 | const mapStateToProps = (state) => { 199 | const { loading, error } = state.recipes; 200 | let { selectedRecipe } = state.recipes; 201 | const bookmarked = selectedRecipe.title in state.bookmarks; 202 | if (bookmarked) { 203 | selectedRecipe = state.bookmarks[selectedRecipe.title]; 204 | } 205 | return { 206 | loading, 207 | recipe: selectedRecipe, 208 | error, 209 | bookmarked 210 | }; 211 | }; 212 | 213 | export default connect(mapStateToProps, { bookmarkRecipe, removeBookmark })(RecipeView); 214 | -------------------------------------------------------------------------------- /ios/smitten_app.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | /* Begin PBXBuildFile section */ 9 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 10 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 11 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 12 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 13 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 14 | 00E356F31AD99517003FC87E /* smitten_appTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* smitten_appTests.m */; }; 15 | 0AC19BBB20E6414DBE4E1D1C /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = BFB1EFD74E49416A8132CADD /* EvilIcons.ttf */; }; 16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 23 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 25 | 16BC7579E14E4F71BDAC2A44 /* FjordOne-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E206FDFC5D4D424E8435E42A /* FjordOne-Regular.ttf */; }; 26 | 1EC8ACE06C1C4E1FB4354780 /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E14A50EDFC0244509DBC659A /* libRNVectorIcons.a */; }; 27 | 26C9A0347B1844148AD2477F /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E7E2485CC431496DA715E46D /* Ionicons.ttf */; }; 28 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 29 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 30 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 31 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */; }; 32 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 33 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 34 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 35 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 36 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 37 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 38 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 39 | 2DCD954D1E0B4F2C00145EB5 /* smitten_appTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* smitten_appTests.m */; }; 40 | 31728C7333E94E33A53441B1 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 9E8630B94F284DF980AE6CE4 /* MaterialIcons.ttf */; }; 41 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 42 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 43 | 8600A60185FA43A9BA7F88AA /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B3DF7ACA0E44ED5B65323FB /* libRCTActionSheet.a */; }; 44 | 86601CBDFECF4FFE8220109D /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 49381EFF898A47F183FFEF97 /* Zocial.ttf */; }; 45 | 871E0317E5234152A528E77F /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 82989CF265AA48E79825A908 /* FontAwesome.ttf */; }; 46 | C404CAEAD6704AD9B6B55313 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A8A1E9121C9646F1877FD4B7 /* SimpleLineIcons.ttf */; }; 47 | DDE3364E0CD3416E9CA562A8 /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 01FBFD11A8E84C98B32CE387 /* Octicons.ttf */; }; 48 | E08943287DDE45FF8C4CF444 /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 33533AB326F34F80A987BF2D /* Foundation.ttf */; }; 49 | E6CE1D292C5C44269BC603FB /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 8E262FDA0F754204BB384866 /* MaterialCommunityIcons.ttf */; }; 50 | F769E5FC9EAA4F8C9378DA63 /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4592CA305A5E4DD6838EA0DB /* Entypo.ttf */; }; 51 | /* End PBXBuildFile section */ 52 | 53 | /* Begin PBXContainerItemProxy section */ 54 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 55 | isa = PBXContainerItemProxy; 56 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 57 | proxyType = 2; 58 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 59 | remoteInfo = RCTActionSheet; 60 | }; 61 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 62 | isa = PBXContainerItemProxy; 63 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 64 | proxyType = 2; 65 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 66 | remoteInfo = RCTGeolocation; 67 | }; 68 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 69 | isa = PBXContainerItemProxy; 70 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 71 | proxyType = 2; 72 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 73 | remoteInfo = RCTImage; 74 | }; 75 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 76 | isa = PBXContainerItemProxy; 77 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 78 | proxyType = 2; 79 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 80 | remoteInfo = RCTNetwork; 81 | }; 82 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 83 | isa = PBXContainerItemProxy; 84 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 85 | proxyType = 2; 86 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 87 | remoteInfo = RCTVibration; 88 | }; 89 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 90 | isa = PBXContainerItemProxy; 91 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 92 | proxyType = 1; 93 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 94 | remoteInfo = smitten_app; 95 | }; 96 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 97 | isa = PBXContainerItemProxy; 98 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 99 | proxyType = 2; 100 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 101 | remoteInfo = RCTSettings; 102 | }; 103 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 104 | isa = PBXContainerItemProxy; 105 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 106 | proxyType = 2; 107 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 108 | remoteInfo = RCTWebSocket; 109 | }; 110 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 111 | isa = PBXContainerItemProxy; 112 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 113 | proxyType = 2; 114 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 115 | remoteInfo = React; 116 | }; 117 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 118 | isa = PBXContainerItemProxy; 119 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 120 | proxyType = 1; 121 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 122 | remoteInfo = "smitten_app-tvOS"; 123 | }; 124 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 125 | isa = PBXContainerItemProxy; 126 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 127 | proxyType = 2; 128 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 129 | remoteInfo = "RCTImage-tvOS"; 130 | }; 131 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 132 | isa = PBXContainerItemProxy; 133 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 134 | proxyType = 2; 135 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 136 | remoteInfo = "RCTLinking-tvOS"; 137 | }; 138 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 139 | isa = PBXContainerItemProxy; 140 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 141 | proxyType = 2; 142 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 143 | remoteInfo = "RCTNetwork-tvOS"; 144 | }; 145 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 146 | isa = PBXContainerItemProxy; 147 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 148 | proxyType = 2; 149 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 150 | remoteInfo = "RCTSettings-tvOS"; 151 | }; 152 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 153 | isa = PBXContainerItemProxy; 154 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 155 | proxyType = 2; 156 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 157 | remoteInfo = "RCTText-tvOS"; 158 | }; 159 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 160 | isa = PBXContainerItemProxy; 161 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 162 | proxyType = 2; 163 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 164 | remoteInfo = "RCTWebSocket-tvOS"; 165 | }; 166 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 167 | isa = PBXContainerItemProxy; 168 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 169 | proxyType = 2; 170 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 171 | remoteInfo = "React-tvOS"; 172 | }; 173 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 174 | isa = PBXContainerItemProxy; 175 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 176 | proxyType = 2; 177 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 178 | remoteInfo = yoga; 179 | }; 180 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 181 | isa = PBXContainerItemProxy; 182 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 183 | proxyType = 2; 184 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 185 | remoteInfo = "yoga-tvOS"; 186 | }; 187 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 188 | isa = PBXContainerItemProxy; 189 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 190 | proxyType = 2; 191 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 192 | remoteInfo = cxxreact; 193 | }; 194 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 195 | isa = PBXContainerItemProxy; 196 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 197 | proxyType = 2; 198 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 199 | remoteInfo = "cxxreact-tvOS"; 200 | }; 201 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 202 | isa = PBXContainerItemProxy; 203 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 204 | proxyType = 2; 205 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 206 | remoteInfo = jschelpers; 207 | }; 208 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 209 | isa = PBXContainerItemProxy; 210 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 211 | proxyType = 2; 212 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 213 | remoteInfo = "jschelpers-tvOS"; 214 | }; 215 | 410EF9001EB6AB3E0009575F /* PBXContainerItemProxy */ = { 216 | isa = PBXContainerItemProxy; 217 | containerPortal = 19397864FCD4479A906CC8CD /* ReactNativeGlobalProps.xcodeproj */; 218 | proxyType = 2; 219 | remoteGlobalIDString = 13B07F961A680F5B00A75B9A; 220 | remoteInfo = ReactNativeGlobalProps; 221 | }; 222 | 410EF9021EB6AB3E0009575F /* PBXContainerItemProxy */ = { 223 | isa = PBXContainerItemProxy; 224 | containerPortal = 19397864FCD4479A906CC8CD /* ReactNativeGlobalProps.xcodeproj */; 225 | proxyType = 2; 226 | remoteGlobalIDString = 00E356EE1AD99517003FC87E; 227 | remoteInfo = ReactNativeGlobalPropsTests; 228 | }; 229 | 410EF9051EB6AB3E0009575F /* PBXContainerItemProxy */ = { 230 | isa = PBXContainerItemProxy; 231 | containerPortal = 9B778A0066004FD3A5047D2F /* RNVectorIcons.xcodeproj */; 232 | proxyType = 2; 233 | remoteGlobalIDString = 5DBEB1501B18CEA900B34395; 234 | remoteInfo = RNVectorIcons; 235 | }; 236 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 237 | isa = PBXContainerItemProxy; 238 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 239 | proxyType = 2; 240 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 241 | remoteInfo = RCTAnimation; 242 | }; 243 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 244 | isa = PBXContainerItemProxy; 245 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 246 | proxyType = 2; 247 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 248 | remoteInfo = "RCTAnimation-tvOS"; 249 | }; 250 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 251 | isa = PBXContainerItemProxy; 252 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 253 | proxyType = 2; 254 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 255 | remoteInfo = RCTLinking; 256 | }; 257 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 258 | isa = PBXContainerItemProxy; 259 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 260 | proxyType = 2; 261 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 262 | remoteInfo = RCTText; 263 | }; 264 | /* End PBXContainerItemProxy section */ 265 | 266 | /* Begin PBXFileReference section */ 267 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 268 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 269 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 270 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 271 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 272 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 273 | 00E356EE1AD99517003FC87E /* smitten_appTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = smitten_appTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 274 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 275 | 00E356F21AD99517003FC87E /* smitten_appTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = smitten_appTests.m; sourceTree = ""; }; 276 | 01FBFD11A8E84C98B32CE387 /* Octicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Octicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; }; 277 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 278 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 279 | 13B07F961A680F5B00A75B9A /* smitten_app.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = smitten_app.app; sourceTree = BUILT_PRODUCTS_DIR; }; 280 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = smitten_app/AppDelegate.h; sourceTree = ""; }; 281 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = smitten_app/AppDelegate.m; sourceTree = ""; }; 282 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 283 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = smitten_app/Images.xcassets; sourceTree = ""; }; 284 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = smitten_app/Info.plist; sourceTree = ""; }; 285 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = smitten_app/main.m; sourceTree = ""; }; 286 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 287 | 19397864FCD4479A906CC8CD /* ReactNativeGlobalProps.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = ReactNativeGlobalProps.xcodeproj; path = "../node_modules/react-native-global-props/ios/ReactNativeGlobalProps.xcodeproj"; sourceTree = ""; }; 288 | 2D02E47B1E0B4A5D006451C7 /* smitten_app-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "smitten_app-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 289 | 2D02E4901E0B4A5D006451C7 /* smitten_app-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "smitten_app-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 290 | 33533AB326F34F80A987BF2D /* Foundation.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Foundation.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; }; 291 | 3B3DF7ACA0E44ED5B65323FB /* libRCTActionSheet.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRCTActionSheet.a; sourceTree = ""; }; 292 | 4592CA305A5E4DD6838EA0DB /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; }; 293 | 49381EFF898A47F183FFEF97 /* Zocial.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Zocial.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; }; 294 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 295 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 296 | 82989CF265AA48E79825A908 /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; }; 297 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 298 | 8E262FDA0F754204BB384866 /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialCommunityIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; }; 299 | 9B778A0066004FD3A5047D2F /* RNVectorIcons.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNVectorIcons.xcodeproj; path = "../node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj"; sourceTree = ""; }; 300 | 9E8630B94F284DF980AE6CE4 /* MaterialIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; }; 301 | A8A1E9121C9646F1877FD4B7 /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; }; 302 | BFB1EFD74E49416A8132CADD /* EvilIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = EvilIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; }; 303 | E14A50EDFC0244509DBC659A /* libRNVectorIcons.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNVectorIcons.a; sourceTree = ""; }; 304 | E206FDFC5D4D424E8435E42A /* FjordOne-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "FjordOne-Regular.ttf"; path = "../src/assets/fonts/FjordOne-Regular.ttf"; sourceTree = ""; }; 305 | E7E2485CC431496DA715E46D /* Ionicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Ionicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; }; 306 | /* End PBXFileReference section */ 307 | 308 | /* Begin PBXFrameworksBuildPhase section */ 309 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 310 | isa = PBXFrameworksBuildPhase; 311 | buildActionMask = 2147483647; 312 | files = ( 313 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 314 | ); 315 | runOnlyForDeploymentPostprocessing = 0; 316 | }; 317 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 318 | isa = PBXFrameworksBuildPhase; 319 | buildActionMask = 2147483647; 320 | files = ( 321 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 322 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 323 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 324 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 325 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 326 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 327 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 328 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 329 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 330 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 331 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 332 | 8600A60185FA43A9BA7F88AA /* libRCTActionSheet.a in Frameworks */, 333 | 1EC8ACE06C1C4E1FB4354780 /* libRNVectorIcons.a in Frameworks */, 334 | ); 335 | runOnlyForDeploymentPostprocessing = 0; 336 | }; 337 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 338 | isa = PBXFrameworksBuildPhase; 339 | buildActionMask = 2147483647; 340 | files = ( 341 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, 342 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */, 343 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 344 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 345 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 346 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 347 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 348 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 349 | ); 350 | runOnlyForDeploymentPostprocessing = 0; 351 | }; 352 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 353 | isa = PBXFrameworksBuildPhase; 354 | buildActionMask = 2147483647; 355 | files = ( 356 | ); 357 | runOnlyForDeploymentPostprocessing = 0; 358 | }; 359 | /* End PBXFrameworksBuildPhase section */ 360 | 361 | /* Begin PBXGroup section */ 362 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 363 | isa = PBXGroup; 364 | children = ( 365 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 366 | ); 367 | name = Products; 368 | sourceTree = ""; 369 | }; 370 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 371 | isa = PBXGroup; 372 | children = ( 373 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 374 | ); 375 | name = Products; 376 | sourceTree = ""; 377 | }; 378 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 379 | isa = PBXGroup; 380 | children = ( 381 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 382 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 383 | ); 384 | name = Products; 385 | sourceTree = ""; 386 | }; 387 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 388 | isa = PBXGroup; 389 | children = ( 390 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 391 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 392 | ); 393 | name = Products; 394 | sourceTree = ""; 395 | }; 396 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 397 | isa = PBXGroup; 398 | children = ( 399 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 400 | ); 401 | name = Products; 402 | sourceTree = ""; 403 | }; 404 | 00E356EF1AD99517003FC87E /* smitten_appTests */ = { 405 | isa = PBXGroup; 406 | children = ( 407 | 00E356F21AD99517003FC87E /* smitten_appTests.m */, 408 | 00E356F01AD99517003FC87E /* Supporting Files */, 409 | ); 410 | path = smitten_appTests; 411 | sourceTree = ""; 412 | }; 413 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 414 | isa = PBXGroup; 415 | children = ( 416 | 00E356F11AD99517003FC87E /* Info.plist */, 417 | ); 418 | name = "Supporting Files"; 419 | sourceTree = ""; 420 | }; 421 | 139105B71AF99BAD00B5F7CC /* Products */ = { 422 | isa = PBXGroup; 423 | children = ( 424 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 425 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 426 | ); 427 | name = Products; 428 | sourceTree = ""; 429 | }; 430 | 139FDEE71B06529A00C62182 /* Products */ = { 431 | isa = PBXGroup; 432 | children = ( 433 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 434 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 435 | ); 436 | name = Products; 437 | sourceTree = ""; 438 | }; 439 | 13B07FAE1A68108700A75B9A /* smitten_app */ = { 440 | isa = PBXGroup; 441 | children = ( 442 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 443 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 444 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 445 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 446 | 13B07FB61A68108700A75B9A /* Info.plist */, 447 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 448 | 13B07FB71A68108700A75B9A /* main.m */, 449 | ); 450 | name = smitten_app; 451 | sourceTree = ""; 452 | }; 453 | 146834001AC3E56700842450 /* Products */ = { 454 | isa = PBXGroup; 455 | children = ( 456 | 146834041AC3E56700842450 /* libReact.a */, 457 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 458 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 459 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 460 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 461 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 462 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 463 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 464 | ); 465 | name = Products; 466 | sourceTree = ""; 467 | }; 468 | 410EF8E11EB6AB3C0009575F /* Products */ = { 469 | isa = PBXGroup; 470 | children = ( 471 | 410EF9011EB6AB3E0009575F /* ReactNativeGlobalProps.app */, 472 | 410EF9031EB6AB3E0009575F /* ReactNativeGlobalPropsTests.xctest */, 473 | ); 474 | name = Products; 475 | sourceTree = ""; 476 | }; 477 | 410EF8E31EB6AB3C0009575F /* Products */ = { 478 | isa = PBXGroup; 479 | children = ( 480 | 410EF9061EB6AB3E0009575F /* libRNVectorIcons.a */, 481 | ); 482 | name = Products; 483 | sourceTree = ""; 484 | }; 485 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 486 | isa = PBXGroup; 487 | children = ( 488 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 489 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */, 490 | ); 491 | name = Products; 492 | sourceTree = ""; 493 | }; 494 | 78C398B11ACF4ADC00677621 /* Products */ = { 495 | isa = PBXGroup; 496 | children = ( 497 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 498 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 499 | ); 500 | name = Products; 501 | sourceTree = ""; 502 | }; 503 | 7C55D57B34014985A78237CB /* Resources */ = { 504 | isa = PBXGroup; 505 | children = ( 506 | E206FDFC5D4D424E8435E42A /* FjordOne-Regular.ttf */, 507 | 4592CA305A5E4DD6838EA0DB /* Entypo.ttf */, 508 | BFB1EFD74E49416A8132CADD /* EvilIcons.ttf */, 509 | 82989CF265AA48E79825A908 /* FontAwesome.ttf */, 510 | 33533AB326F34F80A987BF2D /* Foundation.ttf */, 511 | E7E2485CC431496DA715E46D /* Ionicons.ttf */, 512 | 8E262FDA0F754204BB384866 /* MaterialCommunityIcons.ttf */, 513 | 9E8630B94F284DF980AE6CE4 /* MaterialIcons.ttf */, 514 | 01FBFD11A8E84C98B32CE387 /* Octicons.ttf */, 515 | A8A1E9121C9646F1877FD4B7 /* SimpleLineIcons.ttf */, 516 | 49381EFF898A47F183FFEF97 /* Zocial.ttf */, 517 | ); 518 | name = Resources; 519 | sourceTree = ""; 520 | }; 521 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 522 | isa = PBXGroup; 523 | children = ( 524 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 525 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 526 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 527 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 528 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 529 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 530 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 531 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 532 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 533 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 534 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 535 | 19397864FCD4479A906CC8CD /* ReactNativeGlobalProps.xcodeproj */, 536 | 9B778A0066004FD3A5047D2F /* RNVectorIcons.xcodeproj */, 537 | ); 538 | name = Libraries; 539 | sourceTree = ""; 540 | }; 541 | 832341B11AAA6A8300B99B32 /* Products */ = { 542 | isa = PBXGroup; 543 | children = ( 544 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 545 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 546 | ); 547 | name = Products; 548 | sourceTree = ""; 549 | }; 550 | 83CBB9F61A601CBA00E9B192 = { 551 | isa = PBXGroup; 552 | children = ( 553 | 13B07FAE1A68108700A75B9A /* smitten_app */, 554 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 555 | 00E356EF1AD99517003FC87E /* smitten_appTests */, 556 | 83CBBA001A601CBA00E9B192 /* Products */, 557 | 7C55D57B34014985A78237CB /* Resources */, 558 | ); 559 | indentWidth = 2; 560 | sourceTree = ""; 561 | tabWidth = 2; 562 | }; 563 | 83CBBA001A601CBA00E9B192 /* Products */ = { 564 | isa = PBXGroup; 565 | children = ( 566 | 13B07F961A680F5B00A75B9A /* smitten_app.app */, 567 | 00E356EE1AD99517003FC87E /* smitten_appTests.xctest */, 568 | 2D02E47B1E0B4A5D006451C7 /* smitten_app-tvOS.app */, 569 | 2D02E4901E0B4A5D006451C7 /* smitten_app-tvOSTests.xctest */, 570 | ); 571 | name = Products; 572 | sourceTree = ""; 573 | }; 574 | /* End PBXGroup section */ 575 | 576 | /* Begin PBXNativeTarget section */ 577 | 00E356ED1AD99517003FC87E /* smitten_appTests */ = { 578 | isa = PBXNativeTarget; 579 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "smitten_appTests" */; 580 | buildPhases = ( 581 | 00E356EA1AD99517003FC87E /* Sources */, 582 | 00E356EB1AD99517003FC87E /* Frameworks */, 583 | 00E356EC1AD99517003FC87E /* Resources */, 584 | ); 585 | buildRules = ( 586 | ); 587 | dependencies = ( 588 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 589 | ); 590 | name = smitten_appTests; 591 | productName = smitten_appTests; 592 | productReference = 00E356EE1AD99517003FC87E /* smitten_appTests.xctest */; 593 | productType = "com.apple.product-type.bundle.unit-test"; 594 | }; 595 | 13B07F861A680F5B00A75B9A /* smitten_app */ = { 596 | isa = PBXNativeTarget; 597 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "smitten_app" */; 598 | buildPhases = ( 599 | 13B07F871A680F5B00A75B9A /* Sources */, 600 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 601 | 13B07F8E1A680F5B00A75B9A /* Resources */, 602 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 603 | ); 604 | buildRules = ( 605 | ); 606 | dependencies = ( 607 | ); 608 | name = smitten_app; 609 | productName = "Hello World"; 610 | productReference = 13B07F961A680F5B00A75B9A /* smitten_app.app */; 611 | productType = "com.apple.product-type.application"; 612 | }; 613 | 2D02E47A1E0B4A5D006451C7 /* smitten_app-tvOS */ = { 614 | isa = PBXNativeTarget; 615 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "smitten_app-tvOS" */; 616 | buildPhases = ( 617 | 2D02E4771E0B4A5D006451C7 /* Sources */, 618 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 619 | 2D02E4791E0B4A5D006451C7 /* Resources */, 620 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 621 | ); 622 | buildRules = ( 623 | ); 624 | dependencies = ( 625 | ); 626 | name = "smitten_app-tvOS"; 627 | productName = "smitten_app-tvOS"; 628 | productReference = 2D02E47B1E0B4A5D006451C7 /* smitten_app-tvOS.app */; 629 | productType = "com.apple.product-type.application"; 630 | }; 631 | 2D02E48F1E0B4A5D006451C7 /* smitten_app-tvOSTests */ = { 632 | isa = PBXNativeTarget; 633 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "smitten_app-tvOSTests" */; 634 | buildPhases = ( 635 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 636 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 637 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 638 | ); 639 | buildRules = ( 640 | ); 641 | dependencies = ( 642 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 643 | ); 644 | name = "smitten_app-tvOSTests"; 645 | productName = "smitten_app-tvOSTests"; 646 | productReference = 2D02E4901E0B4A5D006451C7 /* smitten_app-tvOSTests.xctest */; 647 | productType = "com.apple.product-type.bundle.unit-test"; 648 | }; 649 | /* End PBXNativeTarget section */ 650 | 651 | /* Begin PBXProject section */ 652 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 653 | isa = PBXProject; 654 | attributes = { 655 | LastUpgradeCheck = 820; 656 | ORGANIZATIONNAME = Facebook; 657 | TargetAttributes = { 658 | 00E356ED1AD99517003FC87E = { 659 | CreatedOnToolsVersion = 6.2; 660 | TestTargetID = 13B07F861A680F5B00A75B9A; 661 | }; 662 | 2D02E47A1E0B4A5D006451C7 = { 663 | CreatedOnToolsVersion = 8.2.1; 664 | ProvisioningStyle = Automatic; 665 | }; 666 | 2D02E48F1E0B4A5D006451C7 = { 667 | CreatedOnToolsVersion = 8.2.1; 668 | ProvisioningStyle = Automatic; 669 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 670 | }; 671 | }; 672 | }; 673 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "smitten_app" */; 674 | compatibilityVersion = "Xcode 3.2"; 675 | developmentRegion = English; 676 | hasScannedForEncodings = 0; 677 | knownRegions = ( 678 | en, 679 | Base, 680 | ); 681 | mainGroup = 83CBB9F61A601CBA00E9B192; 682 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 683 | projectDirPath = ""; 684 | projectReferences = ( 685 | { 686 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 687 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 688 | }, 689 | { 690 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 691 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 692 | }, 693 | { 694 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 695 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 696 | }, 697 | { 698 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 699 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 700 | }, 701 | { 702 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 703 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 704 | }, 705 | { 706 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 707 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 708 | }, 709 | { 710 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 711 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 712 | }, 713 | { 714 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 715 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 716 | }, 717 | { 718 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 719 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 720 | }, 721 | { 722 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 723 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 724 | }, 725 | { 726 | ProductGroup = 146834001AC3E56700842450 /* Products */; 727 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 728 | }, 729 | { 730 | ProductGroup = 410EF8E11EB6AB3C0009575F /* Products */; 731 | ProjectRef = 19397864FCD4479A906CC8CD /* ReactNativeGlobalProps.xcodeproj */; 732 | }, 733 | { 734 | ProductGroup = 410EF8E31EB6AB3C0009575F /* Products */; 735 | ProjectRef = 9B778A0066004FD3A5047D2F /* RNVectorIcons.xcodeproj */; 736 | }, 737 | ); 738 | projectRoot = ""; 739 | targets = ( 740 | 13B07F861A680F5B00A75B9A /* smitten_app */, 741 | 00E356ED1AD99517003FC87E /* smitten_appTests */, 742 | 2D02E47A1E0B4A5D006451C7 /* smitten_app-tvOS */, 743 | 2D02E48F1E0B4A5D006451C7 /* smitten_app-tvOSTests */, 744 | ); 745 | }; 746 | /* End PBXProject section */ 747 | 748 | /* Begin PBXReferenceProxy section */ 749 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 750 | isa = PBXReferenceProxy; 751 | fileType = archive.ar; 752 | path = libRCTActionSheet.a; 753 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 754 | sourceTree = BUILT_PRODUCTS_DIR; 755 | }; 756 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 757 | isa = PBXReferenceProxy; 758 | fileType = archive.ar; 759 | path = libRCTGeolocation.a; 760 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 761 | sourceTree = BUILT_PRODUCTS_DIR; 762 | }; 763 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 764 | isa = PBXReferenceProxy; 765 | fileType = archive.ar; 766 | path = libRCTImage.a; 767 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 768 | sourceTree = BUILT_PRODUCTS_DIR; 769 | }; 770 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 771 | isa = PBXReferenceProxy; 772 | fileType = archive.ar; 773 | path = libRCTNetwork.a; 774 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 775 | sourceTree = BUILT_PRODUCTS_DIR; 776 | }; 777 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 778 | isa = PBXReferenceProxy; 779 | fileType = archive.ar; 780 | path = libRCTVibration.a; 781 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 782 | sourceTree = BUILT_PRODUCTS_DIR; 783 | }; 784 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 785 | isa = PBXReferenceProxy; 786 | fileType = archive.ar; 787 | path = libRCTSettings.a; 788 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 789 | sourceTree = BUILT_PRODUCTS_DIR; 790 | }; 791 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 792 | isa = PBXReferenceProxy; 793 | fileType = archive.ar; 794 | path = libRCTWebSocket.a; 795 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 796 | sourceTree = BUILT_PRODUCTS_DIR; 797 | }; 798 | 146834041AC3E56700842450 /* libReact.a */ = { 799 | isa = PBXReferenceProxy; 800 | fileType = archive.ar; 801 | path = libReact.a; 802 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 803 | sourceTree = BUILT_PRODUCTS_DIR; 804 | }; 805 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 806 | isa = PBXReferenceProxy; 807 | fileType = archive.ar; 808 | path = "libRCTImage-tvOS.a"; 809 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 810 | sourceTree = BUILT_PRODUCTS_DIR; 811 | }; 812 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 813 | isa = PBXReferenceProxy; 814 | fileType = archive.ar; 815 | path = "libRCTLinking-tvOS.a"; 816 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 817 | sourceTree = BUILT_PRODUCTS_DIR; 818 | }; 819 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 820 | isa = PBXReferenceProxy; 821 | fileType = archive.ar; 822 | path = "libRCTNetwork-tvOS.a"; 823 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 824 | sourceTree = BUILT_PRODUCTS_DIR; 825 | }; 826 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 827 | isa = PBXReferenceProxy; 828 | fileType = archive.ar; 829 | path = "libRCTSettings-tvOS.a"; 830 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 831 | sourceTree = BUILT_PRODUCTS_DIR; 832 | }; 833 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 834 | isa = PBXReferenceProxy; 835 | fileType = archive.ar; 836 | path = "libRCTText-tvOS.a"; 837 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 838 | sourceTree = BUILT_PRODUCTS_DIR; 839 | }; 840 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 841 | isa = PBXReferenceProxy; 842 | fileType = archive.ar; 843 | path = "libRCTWebSocket-tvOS.a"; 844 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 845 | sourceTree = BUILT_PRODUCTS_DIR; 846 | }; 847 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 848 | isa = PBXReferenceProxy; 849 | fileType = archive.ar; 850 | path = libReact.a; 851 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 852 | sourceTree = BUILT_PRODUCTS_DIR; 853 | }; 854 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 855 | isa = PBXReferenceProxy; 856 | fileType = archive.ar; 857 | path = libyoga.a; 858 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 859 | sourceTree = BUILT_PRODUCTS_DIR; 860 | }; 861 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 862 | isa = PBXReferenceProxy; 863 | fileType = archive.ar; 864 | path = libyoga.a; 865 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 866 | sourceTree = BUILT_PRODUCTS_DIR; 867 | }; 868 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 869 | isa = PBXReferenceProxy; 870 | fileType = archive.ar; 871 | path = libcxxreact.a; 872 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 873 | sourceTree = BUILT_PRODUCTS_DIR; 874 | }; 875 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 876 | isa = PBXReferenceProxy; 877 | fileType = archive.ar; 878 | path = libcxxreact.a; 879 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 880 | sourceTree = BUILT_PRODUCTS_DIR; 881 | }; 882 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 883 | isa = PBXReferenceProxy; 884 | fileType = archive.ar; 885 | path = libjschelpers.a; 886 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 887 | sourceTree = BUILT_PRODUCTS_DIR; 888 | }; 889 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 890 | isa = PBXReferenceProxy; 891 | fileType = archive.ar; 892 | path = libjschelpers.a; 893 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 894 | sourceTree = BUILT_PRODUCTS_DIR; 895 | }; 896 | 410EF9011EB6AB3E0009575F /* ReactNativeGlobalProps.app */ = { 897 | isa = PBXReferenceProxy; 898 | fileType = wrapper.application; 899 | path = ReactNativeGlobalProps.app; 900 | remoteRef = 410EF9001EB6AB3E0009575F /* PBXContainerItemProxy */; 901 | sourceTree = BUILT_PRODUCTS_DIR; 902 | }; 903 | 410EF9031EB6AB3E0009575F /* ReactNativeGlobalPropsTests.xctest */ = { 904 | isa = PBXReferenceProxy; 905 | fileType = wrapper.cfbundle; 906 | path = ReactNativeGlobalPropsTests.xctest; 907 | remoteRef = 410EF9021EB6AB3E0009575F /* PBXContainerItemProxy */; 908 | sourceTree = BUILT_PRODUCTS_DIR; 909 | }; 910 | 410EF9061EB6AB3E0009575F /* libRNVectorIcons.a */ = { 911 | isa = PBXReferenceProxy; 912 | fileType = archive.ar; 913 | path = libRNVectorIcons.a; 914 | remoteRef = 410EF9051EB6AB3E0009575F /* PBXContainerItemProxy */; 915 | sourceTree = BUILT_PRODUCTS_DIR; 916 | }; 917 | 410EF90F1EB6ABA00009575F /* RNMailTests.xctest */ = { 918 | isa = PBXReferenceProxy; 919 | fileType = wrapper.cfbundle; 920 | path = RNMailTests.xctest; 921 | remoteRef = 410EF90E1EB6ABA00009575F /* PBXContainerItemProxy */; 922 | sourceTree = BUILT_PRODUCTS_DIR; 923 | }; 924 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 925 | isa = PBXReferenceProxy; 926 | fileType = archive.ar; 927 | path = libRCTAnimation.a; 928 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 929 | sourceTree = BUILT_PRODUCTS_DIR; 930 | }; 931 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */ = { 932 | isa = PBXReferenceProxy; 933 | fileType = archive.ar; 934 | path = "libRCTAnimation-tvOS.a"; 935 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 936 | sourceTree = BUILT_PRODUCTS_DIR; 937 | }; 938 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 939 | isa = PBXReferenceProxy; 940 | fileType = archive.ar; 941 | path = libRCTLinking.a; 942 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 943 | sourceTree = BUILT_PRODUCTS_DIR; 944 | }; 945 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 946 | isa = PBXReferenceProxy; 947 | fileType = archive.ar; 948 | path = libRCTText.a; 949 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 950 | sourceTree = BUILT_PRODUCTS_DIR; 951 | }; 952 | /* End PBXReferenceProxy section */ 953 | 954 | /* Begin PBXResourcesBuildPhase section */ 955 | 00E356EC1AD99517003FC87E /* Resources */ = { 956 | isa = PBXResourcesBuildPhase; 957 | buildActionMask = 2147483647; 958 | files = ( 959 | ); 960 | runOnlyForDeploymentPostprocessing = 0; 961 | }; 962 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 963 | isa = PBXResourcesBuildPhase; 964 | buildActionMask = 2147483647; 965 | files = ( 966 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 967 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 968 | 16BC7579E14E4F71BDAC2A44 /* FjordOne-Regular.ttf in Resources */, 969 | F769E5FC9EAA4F8C9378DA63 /* Entypo.ttf in Resources */, 970 | 0AC19BBB20E6414DBE4E1D1C /* EvilIcons.ttf in Resources */, 971 | 871E0317E5234152A528E77F /* FontAwesome.ttf in Resources */, 972 | E08943287DDE45FF8C4CF444 /* Foundation.ttf in Resources */, 973 | 26C9A0347B1844148AD2477F /* Ionicons.ttf in Resources */, 974 | E6CE1D292C5C44269BC603FB /* MaterialCommunityIcons.ttf in Resources */, 975 | 31728C7333E94E33A53441B1 /* MaterialIcons.ttf in Resources */, 976 | DDE3364E0CD3416E9CA562A8 /* Octicons.ttf in Resources */, 977 | C404CAEAD6704AD9B6B55313 /* SimpleLineIcons.ttf in Resources */, 978 | 86601CBDFECF4FFE8220109D /* Zocial.ttf in Resources */, 979 | ); 980 | runOnlyForDeploymentPostprocessing = 0; 981 | }; 982 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 983 | isa = PBXResourcesBuildPhase; 984 | buildActionMask = 2147483647; 985 | files = ( 986 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 987 | ); 988 | runOnlyForDeploymentPostprocessing = 0; 989 | }; 990 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 991 | isa = PBXResourcesBuildPhase; 992 | buildActionMask = 2147483647; 993 | files = ( 994 | ); 995 | runOnlyForDeploymentPostprocessing = 0; 996 | }; 997 | /* End PBXResourcesBuildPhase section */ 998 | 999 | /* Begin PBXShellScriptBuildPhase section */ 1000 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1001 | isa = PBXShellScriptBuildPhase; 1002 | buildActionMask = 2147483647; 1003 | files = ( 1004 | ); 1005 | inputPaths = ( 1006 | ); 1007 | name = "Bundle React Native code and images"; 1008 | outputPaths = ( 1009 | ); 1010 | runOnlyForDeploymentPostprocessing = 0; 1011 | shellPath = /bin/sh; 1012 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 1013 | }; 1014 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1015 | isa = PBXShellScriptBuildPhase; 1016 | buildActionMask = 2147483647; 1017 | files = ( 1018 | ); 1019 | inputPaths = ( 1020 | ); 1021 | name = "Bundle React Native Code And Images"; 1022 | outputPaths = ( 1023 | ); 1024 | runOnlyForDeploymentPostprocessing = 0; 1025 | shellPath = /bin/sh; 1026 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 1027 | }; 1028 | /* End PBXShellScriptBuildPhase section */ 1029 | 1030 | /* Begin PBXSourcesBuildPhase section */ 1031 | 00E356EA1AD99517003FC87E /* Sources */ = { 1032 | isa = PBXSourcesBuildPhase; 1033 | buildActionMask = 2147483647; 1034 | files = ( 1035 | 00E356F31AD99517003FC87E /* smitten_appTests.m in Sources */, 1036 | ); 1037 | runOnlyForDeploymentPostprocessing = 0; 1038 | }; 1039 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1040 | isa = PBXSourcesBuildPhase; 1041 | buildActionMask = 2147483647; 1042 | files = ( 1043 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1044 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1045 | ); 1046 | runOnlyForDeploymentPostprocessing = 0; 1047 | }; 1048 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1049 | isa = PBXSourcesBuildPhase; 1050 | buildActionMask = 2147483647; 1051 | files = ( 1052 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1053 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1054 | ); 1055 | runOnlyForDeploymentPostprocessing = 0; 1056 | }; 1057 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1058 | isa = PBXSourcesBuildPhase; 1059 | buildActionMask = 2147483647; 1060 | files = ( 1061 | 2DCD954D1E0B4F2C00145EB5 /* smitten_appTests.m in Sources */, 1062 | ); 1063 | runOnlyForDeploymentPostprocessing = 0; 1064 | }; 1065 | /* End PBXSourcesBuildPhase section */ 1066 | 1067 | /* Begin PBXTargetDependency section */ 1068 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1069 | isa = PBXTargetDependency; 1070 | target = 13B07F861A680F5B00A75B9A /* smitten_app */; 1071 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1072 | }; 1073 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1074 | isa = PBXTargetDependency; 1075 | target = 2D02E47A1E0B4A5D006451C7 /* smitten_app-tvOS */; 1076 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1077 | }; 1078 | /* End PBXTargetDependency section */ 1079 | 1080 | /* Begin PBXVariantGroup section */ 1081 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1082 | isa = PBXVariantGroup; 1083 | children = ( 1084 | 13B07FB21A68108700A75B9A /* Base */, 1085 | ); 1086 | name = LaunchScreen.xib; 1087 | path = smitten_app; 1088 | sourceTree = ""; 1089 | }; 1090 | /* End PBXVariantGroup section */ 1091 | 1092 | /* Begin XCBuildConfiguration section */ 1093 | 00E356F61AD99517003FC87E /* Debug */ = { 1094 | isa = XCBuildConfiguration; 1095 | buildSettings = { 1096 | BUNDLE_LOADER = "$(TEST_HOST)"; 1097 | GCC_PREPROCESSOR_DEFINITIONS = ( 1098 | "DEBUG=1", 1099 | "$(inherited)", 1100 | ); 1101 | HEADER_SEARCH_PATHS = ( 1102 | "$(inherited)", 1103 | "$(SRCROOT)/../node_modules/react-native-global-props/ios/ReactNativeGlobalProps/**", 1104 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1105 | ); 1106 | INFOPLIST_FILE = smitten_appTests/Info.plist; 1107 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1108 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1109 | LIBRARY_SEARCH_PATHS = ( 1110 | "$(inherited)", 1111 | ); 1112 | OTHER_LDFLAGS = ( 1113 | "-ObjC", 1114 | "-lc++", 1115 | ); 1116 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1117 | PRODUCT_NAME = "$(TARGET_NAME)"; 1118 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/smitten_app.app/smitten_app"; 1119 | }; 1120 | name = Debug; 1121 | }; 1122 | 00E356F71AD99517003FC87E /* Release */ = { 1123 | isa = XCBuildConfiguration; 1124 | buildSettings = { 1125 | BUNDLE_LOADER = "$(TEST_HOST)"; 1126 | COPY_PHASE_STRIP = NO; 1127 | HEADER_SEARCH_PATHS = ( 1128 | "$(inherited)", 1129 | "$(SRCROOT)/../node_modules/react-native-global-props/ios/ReactNativeGlobalProps/**", 1130 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1131 | ); 1132 | INFOPLIST_FILE = smitten_appTests/Info.plist; 1133 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1134 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1135 | LIBRARY_SEARCH_PATHS = ( 1136 | "$(inherited)", 1137 | ); 1138 | OTHER_LDFLAGS = ( 1139 | "-ObjC", 1140 | "-lc++", 1141 | ); 1142 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1143 | PRODUCT_NAME = "$(TARGET_NAME)"; 1144 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/smitten_app.app/smitten_app"; 1145 | }; 1146 | name = Release; 1147 | }; 1148 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1149 | isa = XCBuildConfiguration; 1150 | buildSettings = { 1151 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1152 | CURRENT_PROJECT_VERSION = 1; 1153 | DEAD_CODE_STRIPPING = NO; 1154 | HEADER_SEARCH_PATHS = ( 1155 | "$(inherited)", 1156 | "$(SRCROOT)/../node_modules/react-native-global-props/ios/ReactNativeGlobalProps/**", 1157 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1158 | ); 1159 | INFOPLIST_FILE = smitten_app/Info.plist; 1160 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1161 | OTHER_LDFLAGS = ( 1162 | "$(inherited)", 1163 | "-ObjC", 1164 | "-lc++", 1165 | ); 1166 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1167 | PRODUCT_NAME = smitten_app; 1168 | VERSIONING_SYSTEM = "apple-generic"; 1169 | }; 1170 | name = Debug; 1171 | }; 1172 | 13B07F951A680F5B00A75B9A /* Release */ = { 1173 | isa = XCBuildConfiguration; 1174 | buildSettings = { 1175 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1176 | CURRENT_PROJECT_VERSION = 1; 1177 | HEADER_SEARCH_PATHS = ( 1178 | "$(inherited)", 1179 | "$(SRCROOT)/../node_modules/react-native-global-props/ios/ReactNativeGlobalProps/**", 1180 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1181 | ); 1182 | INFOPLIST_FILE = smitten_app/Info.plist; 1183 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1184 | OTHER_LDFLAGS = ( 1185 | "$(inherited)", 1186 | "-ObjC", 1187 | "-lc++", 1188 | ); 1189 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1190 | PRODUCT_NAME = smitten_app; 1191 | VERSIONING_SYSTEM = "apple-generic"; 1192 | }; 1193 | name = Release; 1194 | }; 1195 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1196 | isa = XCBuildConfiguration; 1197 | buildSettings = { 1198 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1199 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1200 | CLANG_ANALYZER_NONNULL = YES; 1201 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1202 | CLANG_WARN_INFINITE_RECURSION = YES; 1203 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1204 | DEBUG_INFORMATION_FORMAT = dwarf; 1205 | ENABLE_TESTABILITY = YES; 1206 | GCC_NO_COMMON_BLOCKS = YES; 1207 | HEADER_SEARCH_PATHS = ( 1208 | "$(inherited)", 1209 | "$(SRCROOT)/../node_modules/react-native-global-props/ios/ReactNativeGlobalProps/**", 1210 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1211 | ); 1212 | INFOPLIST_FILE = "smitten_app-tvOS/Info.plist"; 1213 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1214 | LIBRARY_SEARCH_PATHS = ( 1215 | "$(inherited)", 1216 | ); 1217 | OTHER_LDFLAGS = ( 1218 | "-ObjC", 1219 | "-lc++", 1220 | ); 1221 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.smitten_app-tvOS"; 1222 | PRODUCT_NAME = "$(TARGET_NAME)"; 1223 | SDKROOT = appletvos; 1224 | TARGETED_DEVICE_FAMILY = 3; 1225 | TVOS_DEPLOYMENT_TARGET = 9.2; 1226 | }; 1227 | name = Debug; 1228 | }; 1229 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1230 | isa = XCBuildConfiguration; 1231 | buildSettings = { 1232 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1233 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1234 | CLANG_ANALYZER_NONNULL = YES; 1235 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1236 | CLANG_WARN_INFINITE_RECURSION = YES; 1237 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1238 | COPY_PHASE_STRIP = NO; 1239 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1240 | GCC_NO_COMMON_BLOCKS = YES; 1241 | HEADER_SEARCH_PATHS = ( 1242 | "$(inherited)", 1243 | "$(SRCROOT)/../node_modules/react-native-global-props/ios/ReactNativeGlobalProps/**", 1244 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1245 | ); 1246 | INFOPLIST_FILE = "smitten_app-tvOS/Info.plist"; 1247 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1248 | LIBRARY_SEARCH_PATHS = ( 1249 | "$(inherited)", 1250 | ); 1251 | OTHER_LDFLAGS = ( 1252 | "-ObjC", 1253 | "-lc++", 1254 | ); 1255 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.smitten_app-tvOS"; 1256 | PRODUCT_NAME = "$(TARGET_NAME)"; 1257 | SDKROOT = appletvos; 1258 | TARGETED_DEVICE_FAMILY = 3; 1259 | TVOS_DEPLOYMENT_TARGET = 9.2; 1260 | }; 1261 | name = Release; 1262 | }; 1263 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1264 | isa = XCBuildConfiguration; 1265 | buildSettings = { 1266 | BUNDLE_LOADER = "$(TEST_HOST)"; 1267 | CLANG_ANALYZER_NONNULL = YES; 1268 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1269 | CLANG_WARN_INFINITE_RECURSION = YES; 1270 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1271 | DEBUG_INFORMATION_FORMAT = dwarf; 1272 | ENABLE_TESTABILITY = YES; 1273 | GCC_NO_COMMON_BLOCKS = YES; 1274 | INFOPLIST_FILE = "smitten_app-tvOSTests/Info.plist"; 1275 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1276 | LIBRARY_SEARCH_PATHS = ( 1277 | "$(inherited)", 1278 | ); 1279 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.smitten_app-tvOSTests"; 1280 | PRODUCT_NAME = "$(TARGET_NAME)"; 1281 | SDKROOT = appletvos; 1282 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/smitten_app-tvOS.app/smitten_app-tvOS"; 1283 | TVOS_DEPLOYMENT_TARGET = 10.1; 1284 | }; 1285 | name = Debug; 1286 | }; 1287 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1288 | isa = XCBuildConfiguration; 1289 | buildSettings = { 1290 | BUNDLE_LOADER = "$(TEST_HOST)"; 1291 | CLANG_ANALYZER_NONNULL = YES; 1292 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1293 | CLANG_WARN_INFINITE_RECURSION = YES; 1294 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1295 | COPY_PHASE_STRIP = NO; 1296 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1297 | GCC_NO_COMMON_BLOCKS = YES; 1298 | INFOPLIST_FILE = "smitten_app-tvOSTests/Info.plist"; 1299 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1300 | LIBRARY_SEARCH_PATHS = ( 1301 | "$(inherited)", 1302 | ); 1303 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.smitten_app-tvOSTests"; 1304 | PRODUCT_NAME = "$(TARGET_NAME)"; 1305 | SDKROOT = appletvos; 1306 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/smitten_app-tvOS.app/smitten_app-tvOS"; 1307 | TVOS_DEPLOYMENT_TARGET = 10.1; 1308 | }; 1309 | name = Release; 1310 | }; 1311 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1312 | isa = XCBuildConfiguration; 1313 | buildSettings = { 1314 | ALWAYS_SEARCH_USER_PATHS = NO; 1315 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1316 | CLANG_CXX_LIBRARY = "libc++"; 1317 | CLANG_ENABLE_MODULES = YES; 1318 | CLANG_ENABLE_OBJC_ARC = YES; 1319 | CLANG_WARN_BOOL_CONVERSION = YES; 1320 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1321 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1322 | CLANG_WARN_EMPTY_BODY = YES; 1323 | CLANG_WARN_ENUM_CONVERSION = YES; 1324 | CLANG_WARN_INFINITE_RECURSION = YES; 1325 | CLANG_WARN_INT_CONVERSION = YES; 1326 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1327 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1328 | CLANG_WARN_UNREACHABLE_CODE = YES; 1329 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1330 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1331 | COPY_PHASE_STRIP = NO; 1332 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1333 | ENABLE_TESTABILITY = YES; 1334 | GCC_C_LANGUAGE_STANDARD = gnu99; 1335 | GCC_DYNAMIC_NO_PIC = NO; 1336 | GCC_NO_COMMON_BLOCKS = YES; 1337 | GCC_OPTIMIZATION_LEVEL = 0; 1338 | GCC_PREPROCESSOR_DEFINITIONS = ( 1339 | "DEBUG=1", 1340 | "$(inherited)", 1341 | ); 1342 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1343 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1344 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1345 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1346 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1347 | GCC_WARN_UNUSED_FUNCTION = YES; 1348 | GCC_WARN_UNUSED_VARIABLE = YES; 1349 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1350 | MTL_ENABLE_DEBUG_INFO = YES; 1351 | ONLY_ACTIVE_ARCH = YES; 1352 | SDKROOT = iphoneos; 1353 | }; 1354 | name = Debug; 1355 | }; 1356 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1357 | isa = XCBuildConfiguration; 1358 | buildSettings = { 1359 | ALWAYS_SEARCH_USER_PATHS = NO; 1360 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1361 | CLANG_CXX_LIBRARY = "libc++"; 1362 | CLANG_ENABLE_MODULES = YES; 1363 | CLANG_ENABLE_OBJC_ARC = YES; 1364 | CLANG_WARN_BOOL_CONVERSION = YES; 1365 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1366 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1367 | CLANG_WARN_EMPTY_BODY = YES; 1368 | CLANG_WARN_ENUM_CONVERSION = YES; 1369 | CLANG_WARN_INFINITE_RECURSION = YES; 1370 | CLANG_WARN_INT_CONVERSION = YES; 1371 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1372 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1373 | CLANG_WARN_UNREACHABLE_CODE = YES; 1374 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1375 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1376 | COPY_PHASE_STRIP = YES; 1377 | ENABLE_NS_ASSERTIONS = NO; 1378 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1379 | GCC_C_LANGUAGE_STANDARD = gnu99; 1380 | GCC_NO_COMMON_BLOCKS = YES; 1381 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1382 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1383 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1384 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1385 | GCC_WARN_UNUSED_FUNCTION = YES; 1386 | GCC_WARN_UNUSED_VARIABLE = YES; 1387 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1388 | MTL_ENABLE_DEBUG_INFO = NO; 1389 | SDKROOT = iphoneos; 1390 | VALIDATE_PRODUCT = YES; 1391 | }; 1392 | name = Release; 1393 | }; 1394 | /* End XCBuildConfiguration section */ 1395 | 1396 | /* Begin XCConfigurationList section */ 1397 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "smitten_appTests" */ = { 1398 | isa = XCConfigurationList; 1399 | buildConfigurations = ( 1400 | 00E356F61AD99517003FC87E /* Debug */, 1401 | 00E356F71AD99517003FC87E /* Release */, 1402 | ); 1403 | defaultConfigurationIsVisible = 0; 1404 | defaultConfigurationName = Release; 1405 | }; 1406 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "smitten_app" */ = { 1407 | isa = XCConfigurationList; 1408 | buildConfigurations = ( 1409 | 13B07F941A680F5B00A75B9A /* Debug */, 1410 | 13B07F951A680F5B00A75B9A /* Release */, 1411 | ); 1412 | defaultConfigurationIsVisible = 0; 1413 | defaultConfigurationName = Release; 1414 | }; 1415 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "smitten_app-tvOS" */ = { 1416 | isa = XCConfigurationList; 1417 | buildConfigurations = ( 1418 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1419 | 2D02E4981E0B4A5E006451C7 /* Release */, 1420 | ); 1421 | defaultConfigurationIsVisible = 0; 1422 | defaultConfigurationName = Release; 1423 | }; 1424 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "smitten_app-tvOSTests" */ = { 1425 | isa = XCConfigurationList; 1426 | buildConfigurations = ( 1427 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1428 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1429 | ); 1430 | defaultConfigurationIsVisible = 0; 1431 | defaultConfigurationName = Release; 1432 | }; 1433 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "smitten_app" */ = { 1434 | isa = XCConfigurationList; 1435 | buildConfigurations = ( 1436 | 83CBBA201A601CBA00E9B192 /* Debug */, 1437 | 83CBBA211A601CBA00E9B192 /* Release */, 1438 | ); 1439 | defaultConfigurationIsVisible = 0; 1440 | defaultConfigurationName = Release; 1441 | }; 1442 | /* End XCConfigurationList section */ 1443 | }; 1444 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1445 | } 1446 | --------------------------------------------------------------------------------