├── .watchmanconfig ├── Store ├── Actions │ └── ProductsActions.js └── Reducers │ ├── WishListReducer.js │ ├── ProductsReducers.js │ └── CartReducers.js ├── .gitattributes ├── app.json ├── .eslintrc.js ├── ScreenShots ├── 1.jpg ├── 2.jpg ├── 3.jpg ├── 4.jpg ├── 5.jpg ├── 6.jpg ├── 7.jpg └── 8.jpg ├── babel.config.js ├── android ├── .settings │ └── org.eclipse.buildship.core.prefs ├── app │ ├── .settings │ │ └── org.eclipse.buildship.core.prefs │ ├── debug.keystore │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── values │ │ │ │ │ ├── strings.xml │ │ │ │ │ ├── colors-icon.xml │ │ │ │ │ └── styles.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-ldpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-hdpi-v26 │ │ │ │ │ ├── ic_foreground.png │ │ │ │ │ └── ic_launcher.xml │ │ │ │ ├── mipmap-ldpi-v26 │ │ │ │ │ ├── ic_foreground.png │ │ │ │ │ └── ic_launcher.xml │ │ │ │ ├── mipmap-mdpi-v26 │ │ │ │ │ ├── ic_foreground.png │ │ │ │ │ └── ic_launcher.xml │ │ │ │ ├── mipmap-xhdpi-v26 │ │ │ │ │ ├── ic_foreground.png │ │ │ │ │ └── ic_launcher.xml │ │ │ │ ├── mipmap-xxhdpi-v26 │ │ │ │ │ ├── ic_foreground.png │ │ │ │ │ └── ic_launcher.xml │ │ │ │ └── mipmap-xxxhdpi-v26 │ │ │ │ │ ├── ic_foreground.png │ │ │ │ │ └── ic_launcher.xml │ │ │ ├── assets │ │ │ │ └── fonts │ │ │ │ │ ├── m20.TTF │ │ │ │ │ ├── Entypo.ttf │ │ │ │ │ ├── HANDA.otf │ │ │ │ │ ├── Samuel.ttf │ │ │ │ │ ├── Zocial.ttf │ │ │ │ │ ├── Feather.ttf │ │ │ │ │ ├── Fontisto.ttf │ │ │ │ │ ├── Hamster.otf │ │ │ │ │ ├── Ionicons.ttf │ │ │ │ │ ├── Octicons.ttf │ │ │ │ │ ├── AntDesign.ttf │ │ │ │ │ ├── EvilIcons.ttf │ │ │ │ │ ├── FontAwesome.ttf │ │ │ │ │ ├── Foundation.ttf │ │ │ │ │ ├── Happy Bomb.otf │ │ │ │ │ ├── Happy Bomb.ttf │ │ │ │ │ ├── HalloEuroboy.ttf │ │ │ │ │ ├── Machala_Sans.otf │ │ │ │ │ ├── MaterialIcons.ttf │ │ │ │ │ ├── halfmoon_bold.ttf │ │ │ │ │ ├── SimpleLineIcons.ttf │ │ │ │ │ ├── halfmoon_regular.ttf │ │ │ │ │ ├── FontAwesome5_Solid.ttf │ │ │ │ │ ├── Happy_Bomb_Italic.otf │ │ │ │ │ ├── Happy_Bomb_Italic.ttf │ │ │ │ │ ├── FontAwesome5_Brands.ttf │ │ │ │ │ ├── FontAwesome5_Regular.ttf │ │ │ │ │ └── MaterialCommunityIcons.ttf │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── shoppingapp │ │ │ │ │ ├── MainActivity.java │ │ │ │ │ └── MainApplication.java │ │ │ └── AndroidManifest.xml │ │ └── debug │ │ │ └── AndroidManifest.xml │ ├── .classpath │ ├── proguard-rules.pro │ ├── .project │ ├── build_defs.bzl │ ├── BUCK │ └── build.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── settings.gradle ├── .project ├── gradle.properties ├── build.gradle ├── gradlew.bat └── gradlew ├── assets └── fonts │ ├── m20.TTF │ ├── HANDA.otf │ ├── Hamster.otf │ ├── Samuel.ttf │ ├── HalloEuroboy.ttf │ ├── Happy Bomb.otf │ ├── Happy Bomb.ttf │ ├── Machala_Sans.otf │ ├── halfmoon_bold.ttf │ ├── Happy_Bomb_Italic.otf │ ├── Happy_Bomb_Italic.ttf │ └── halfmoon_regular.ttf ├── ios ├── ShoppingApp │ ├── Images.xcassets │ │ ├── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── AppDelegate.h │ ├── main.m │ ├── AppDelegate.m │ ├── Info.plist │ └── Base.lproj │ │ └── LaunchScreen.xib ├── ShoppingAppTests │ ├── Info.plist │ └── ShoppingAppTests.m ├── ShoppingApp-tvOSTests │ └── Info.plist ├── ShoppingApp-tvOS │ └── Info.plist ├── Podfile └── ShoppingApp.xcodeproj │ ├── xcshareddata │ └── xcschemes │ │ ├── ShoppingApp.xcscheme │ │ └── ShoppingApp-tvOS.xcscheme │ └── project.pbxproj ├── .buckconfig ├── .prettierrc.js ├── react-native.config.js ├── index.js ├── __tests__ └── App-test.js ├── metro.config.js ├── Screens ├── MyHeaderButton.js ├── OrdersScreen.js ├── CategoriesScreen.js ├── ProductsDetailScreen.js ├── CartScreen.js ├── WishListScreen.js ├── AllProductsScreen.js ├── CategoriesProductsScreen.js └── Data.js ├── README.md ├── App.js ├── .gitignore ├── package.json ├── .flowconfig └── Navigation └── NavigationConfig.js /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /Store/Actions/ProductsActions.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ShoppingApp", 3 | "displayName": "ShoppingApp" 4 | } -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | extends: '@react-native-community', 4 | }; 5 | -------------------------------------------------------------------------------- /ScreenShots/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/ScreenShots/1.jpg -------------------------------------------------------------------------------- /ScreenShots/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/ScreenShots/2.jpg -------------------------------------------------------------------------------- /ScreenShots/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/ScreenShots/3.jpg -------------------------------------------------------------------------------- /ScreenShots/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/ScreenShots/4.jpg -------------------------------------------------------------------------------- /ScreenShots/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/ScreenShots/5.jpg -------------------------------------------------------------------------------- /ScreenShots/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/ScreenShots/6.jpg -------------------------------------------------------------------------------- /ScreenShots/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/ScreenShots/7.jpg -------------------------------------------------------------------------------- /ScreenShots/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/ScreenShots/8.jpg -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /android/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | connection.project.dir= 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /assets/fonts/m20.TTF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/assets/fonts/m20.TTF -------------------------------------------------------------------------------- /android/app/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | connection.project.dir=.. 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /assets/fonts/HANDA.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/assets/fonts/HANDA.otf -------------------------------------------------------------------------------- /assets/fonts/Hamster.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/assets/fonts/Hamster.otf -------------------------------------------------------------------------------- /assets/fonts/Samuel.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/assets/fonts/Samuel.ttf -------------------------------------------------------------------------------- /android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/debug.keystore -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Shopping 3 | 4 | -------------------------------------------------------------------------------- /assets/fonts/HalloEuroboy.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/assets/fonts/HalloEuroboy.ttf -------------------------------------------------------------------------------- /assets/fonts/Happy Bomb.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/assets/fonts/Happy Bomb.otf -------------------------------------------------------------------------------- /assets/fonts/Happy Bomb.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/assets/fonts/Happy Bomb.ttf -------------------------------------------------------------------------------- /assets/fonts/Machala_Sans.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/assets/fonts/Machala_Sans.otf -------------------------------------------------------------------------------- /android/app/src/main/res/values/colors-icon.xml: -------------------------------------------------------------------------------- 1 | 2 | #FFFFFF 3 | 4 | -------------------------------------------------------------------------------- /assets/fonts/halfmoon_bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/assets/fonts/halfmoon_bold.ttf -------------------------------------------------------------------------------- /ios/ShoppingApp/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /assets/fonts/Happy_Bomb_Italic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/assets/fonts/Happy_Bomb_Italic.otf -------------------------------------------------------------------------------- /assets/fonts/Happy_Bomb_Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/assets/fonts/Happy_Bomb_Italic.ttf -------------------------------------------------------------------------------- /assets/fonts/halfmoon_regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/assets/fonts/halfmoon_regular.ttf -------------------------------------------------------------------------------- /.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/m20.TTF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/m20.TTF -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | bracketSpacing: false, 3 | jsxBracketSameLine: true, 4 | singleQuote: true, 5 | trailingComma: 'all', 6 | }; 7 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/HANDA.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/HANDA.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Samuel.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/Samuel.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Feather.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/Feather.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Fontisto.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/Fontisto.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Hamster.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/Hamster.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /react-native.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | project: { 3 | ios: {}, 4 | android: {}, 5 | }, 6 | assets: ['./assets/fonts'] 7 | }; -------------------------------------------------------------------------------- /Store/Reducers/WishListReducer.js: -------------------------------------------------------------------------------- 1 | const initialState = { 2 | wishListItems : [], 3 | } 4 | export default (state=initialState, action)=>{ 5 | return state; 6 | } -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/AntDesign.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/AntDesign.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Happy Bomb.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/Happy Bomb.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Happy Bomb.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/Happy Bomb.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/HalloEuroboy.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/HalloEuroboy.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Machala_Sans.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/Machala_Sans.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/halfmoon_bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/halfmoon_bold.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/halfmoon_regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/halfmoon_regular.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/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/Sanan4li/React-Native-Shopping-App/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/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/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/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Happy_Bomb_Italic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/Happy_Bomb_Italic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Happy_Bomb_Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/Happy_Bomb_Italic.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi-v26/ic_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/res/mipmap-hdpi-v26/ic_foreground.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-ldpi-v26/ic_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/res/mipmap-ldpi-v26/ic_foreground.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi-v26/ic_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/res/mipmap-mdpi-v26/ic_foreground.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi-v26/ic_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/res/mipmap-xhdpi-v26/ic_foreground.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi-v26/ic_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/res/mipmap-xxhdpi-v26/ic_foreground.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi-v26/ic_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_foreground.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sanan4li/React-Native-Shopping-App/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import {AppRegistry} from 'react-native'; 6 | import App from './App'; 7 | import {name as appName} from './app.json'; 8 | 9 | AppRegistry.registerComponent(appName, () => App); 10 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-ldpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Store/Reducers/ProductsReducers.js: -------------------------------------------------------------------------------- 1 | import ProductsList from "../../Screens/Data"; 2 | const initialState = { 3 | products : ProductsList, 4 | 5 | } 6 | 7 | export default (state = initialState, action)=>{ 8 | 9 | return state; 10 | } 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /__tests__/App-test.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import 'react-native'; 6 | import React from 'react'; 7 | import App from '../App'; 8 | 9 | // Note: test renderer must be required after react-native. 10 | import renderer from 'react-test-renderer'; 11 | 12 | it('renders correctly', () => { 13 | renderer.create(); 14 | }); 15 | -------------------------------------------------------------------------------- /android/app/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /metro.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Metro configuration for React Native 3 | * https://github.com/facebook/react-native 4 | * 5 | * @format 6 | */ 7 | 8 | module.exports = { 9 | transformer: { 10 | getTransformOptions: async () => ({ 11 | transform: { 12 | experimentalImportSupport: false, 13 | inlineRequires: false, 14 | }, 15 | }), 16 | }, 17 | }; 18 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'ShoppingApp' 2 | apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) 3 | include ':app' 4 | 5 | include ':react-native-vector-icons' 6 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 7 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/shoppingapp/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.shoppingapp; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. This is used to schedule 9 | * rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "ShoppingApp"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /ios/ShoppingApp/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (nonatomic, strong) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /ios/ShoppingApp/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | -------------------------------------------------------------------------------- /android/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ShoppingApp 4 | Project android created by Buildship. 5 | 6 | 7 | 8 | 9 | org.eclipse.buildship.core.gradleprojectbuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.buildship.core.gradleprojectnature 16 | 17 | 18 | -------------------------------------------------------------------------------- /Screens/MyHeaderButton.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import {View, Text , StyleSheet} from "react-native"; 3 | import {HeaderButton} from "react-navigation-header-buttons"; 4 | import Icon from 'react-native-vector-icons/FontAwesome5'; 5 | class MyHeaderButton extends Component { 6 | render() { 7 | return ( 8 | 10 | ) 11 | } 12 | } 13 | export default MyHeaderButton; 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Screens/OrdersScreen.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import { 3 | StyleSheet, 4 | View, 5 | Text, 6 | 7 | } from 'react-native'; 8 | 9 | class OrdersScreen extends Component { 10 | render() { 11 | return ( 12 | 13 | Orders Screen 14 | 15 | ) 16 | } 17 | } 18 | const styles = StyleSheet.create({ 19 | main:{ 20 | flex:1, 21 | justifyContent:"center", 22 | alignItems: "center" 23 | } 24 | }); 25 | 26 | export default OrdersScreen; -------------------------------------------------------------------------------- /android/app/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | app 4 | Project app created by Buildship. 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.buildship.core.gradleprojectbuilder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.buildship.core.gradleprojectnature 22 | 23 | 24 | -------------------------------------------------------------------------------- /android/app/build_defs.bzl: -------------------------------------------------------------------------------- 1 | """Helper definitions to glob .aar and .jar targets""" 2 | 3 | def create_aar_targets(aarfiles): 4 | for aarfile in aarfiles: 5 | name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")] 6 | lib_deps.append(":" + name) 7 | android_prebuilt_aar( 8 | name = name, 9 | aar = aarfile, 10 | ) 11 | 12 | def create_jar_targets(jarfiles): 13 | for jarfile in jarfiles: 14 | name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")] 15 | lib_deps.append(":" + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # React-Native-Shopping-App 2 | A simple Shopping App in React Native. For Complete Functionality... check https://www.youtube.com/watch?v=Lf0MLrcSx0Q 3 | # Close the app and run "npm install" in root folder 4 | 5 | # Screen Shots 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/ShoppingApp/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /ios/ShoppingAppTests/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/ShoppingApp-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 | -------------------------------------------------------------------------------- /App.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { StyleSheet } from 'react-native'; 3 | import {createStore, combineReducers} from "redux"; 4 | import {Provider} from "react-redux"; 5 | import AppContainer from "./Navigation/NavigationConfig" 6 | import ProductsReducers from "./Store/Reducers/ProductsReducers"; 7 | import CartReducers from "./Store/Reducers/CartReducers"; 8 | const RootReducer = combineReducers({ 9 | products : ProductsReducers, 10 | cartItems : CartReducers, 11 | itemsCount : CartReducers , 12 | wishListItems : CartReducers 13 | 14 | }); 15 | const store = createStore(RootReducer); 16 | 17 | const App = () => { 18 | // console.log(store.products); 19 | return ( 20 | 21 | 22 | 23 | ); 24 | }; 25 | 26 | const styles = StyleSheet.create({ 27 | main:{ 28 | flex:1, 29 | justifyContent:"center", 30 | alignItems: "center" 31 | } 32 | }); 33 | 34 | export default App; 35 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useAndroidX=true 21 | android.enableJetifier=true 22 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 12 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | 24 | # Android/IntelliJ 25 | # 26 | build/ 27 | .idea 28 | .gradle 29 | local.properties 30 | *.iml 31 | 32 | # node.js 33 | # 34 | node_modules/ 35 | npm-debug.log 36 | yarn-error.log 37 | 38 | # BUCK 39 | buck-out/ 40 | \.buckd/ 41 | *.keystore 42 | !debug.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | 55 | # Bundle artifact 56 | *.jsbundle 57 | 58 | # CocoaPods 59 | /ios/Pods/ 60 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext { 5 | buildToolsVersion = "28.0.3" 6 | minSdkVersion = 16 7 | compileSdkVersion = 28 8 | targetSdkVersion = 28 9 | } 10 | repositories { 11 | google() 12 | jcenter() 13 | } 14 | dependencies { 15 | classpath("com.android.tools.build:gradle:3.4.2") 16 | 17 | // NOTE: Do not place your application dependencies here; they belong 18 | // in the individual module build.gradle files 19 | } 20 | } 21 | 22 | allprojects { 23 | repositories { 24 | mavenLocal() 25 | maven { 26 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 27 | url("$rootDir/../node_modules/react-native/android") 28 | } 29 | maven { 30 | // Android JSC is installed from npm 31 | url("$rootDir/../node_modules/jsc-android/dist") 32 | } 33 | 34 | google() 35 | jcenter() 36 | maven { url 'https://jitpack.io' } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ShoppingApp", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "android": "react-native run-android", 7 | "ios": "react-native run-ios", 8 | "start": "react-native start", 9 | "test": "jest", 10 | "lint": "eslint ." 11 | }, 12 | "dependencies": { 13 | "navigation": "^5.2.0", 14 | "react": "^16.9.0", 15 | "react-native": "0.61.5", 16 | "react-native-elements": "^1.2.7", 17 | "react-native-gesture-handler": "^1.5.1", 18 | "react-native-ratings": "^6.5.0", 19 | "react-native-reanimated": "^1.4.0", 20 | "react-native-screens": "^2.0.0-alpha.12", 21 | "react-native-vector-icons": "^6.6.0", 22 | "react-navigation": "^4.0.10", 23 | "react-navigation-header-buttons": "^3.0.4", 24 | "react-navigation-stack": "^1.10.3", 25 | "react-navigation-tabs": "^2.6.0", 26 | "react-redux": "^7.1.3", 27 | "redux": "^4.0.4" 28 | }, 29 | "devDependencies": { 30 | "@babel/core": "7.7.4", 31 | "@babel/runtime": "7.7.4", 32 | "@bam.tech/react-native-make": "^1.0.3", 33 | "@react-native-community/eslint-config": "0.0.5", 34 | "babel-jest": "24.9.0", 35 | "eslint": "6.7.1", 36 | "jest": "24.9.0", 37 | "metro-react-native-babel-preset": "0.56.3", 38 | "react-test-renderer": "16.9.0" 39 | }, 40 | "jest": { 41 | "preset": "react-native" 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets") 12 | 13 | lib_deps = [] 14 | 15 | create_aar_targets(glob(["libs/*.aar"])) 16 | 17 | create_jar_targets(glob(["libs/*.jar"])) 18 | 19 | android_library( 20 | name = "all-libs", 21 | exported_deps = lib_deps, 22 | ) 23 | 24 | android_library( 25 | name = "app-code", 26 | srcs = glob([ 27 | "src/main/java/**/*.java", 28 | ]), 29 | deps = [ 30 | ":all-libs", 31 | ":build_config", 32 | ":res", 33 | ], 34 | ) 35 | 36 | android_build_config( 37 | name = "build_config", 38 | package = "com.shoppingapp", 39 | ) 40 | 41 | android_resource( 42 | name = "res", 43 | package = "com.shoppingapp", 44 | res = "src/main/res", 45 | ) 46 | 47 | android_binary( 48 | name = "app", 49 | keystore = "//android/keystores:debug", 50 | manifest = "src/main/AndroidManifest.xml", 51 | package_type = "debug", 52 | deps = [ 53 | ":app-code", 54 | ], 55 | ) 56 | -------------------------------------------------------------------------------- /ios/ShoppingApp/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import "AppDelegate.h" 9 | 10 | #import 11 | #import 12 | #import 13 | 14 | @implementation AppDelegate 15 | 16 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 17 | { 18 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; 19 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge 20 | moduleName:@"ShoppingApp" 21 | initialProperties:nil]; 22 | 23 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 24 | 25 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 26 | UIViewController *rootViewController = [UIViewController new]; 27 | rootViewController.view = rootView; 28 | self.window.rootViewController = rootViewController; 29 | [self.window makeKeyAndVisible]; 30 | return YES; 31 | } 32 | 33 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge 34 | { 35 | #if DEBUG 36 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 37 | #else 38 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 39 | #endif 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /ios/ShoppingApp-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | NSAppTransportSecurity 26 | 27 | NSExceptionDomains 28 | 29 | localhost 30 | 31 | NSExceptionAllowsInsecureHTTPLoads 32 | 33 | 34 | 35 | 36 | NSLocationWhenInUseUsageDescription 37 | 38 | UILaunchStoryboardName 39 | LaunchScreen 40 | UIRequiredDeviceCapabilities 41 | 42 | armv7 43 | 44 | UISupportedInterfaceOrientations 45 | 46 | UIInterfaceOrientationPortrait 47 | UIInterfaceOrientationLandscapeLeft 48 | UIInterfaceOrientationLandscapeRight 49 | 50 | UIViewControllerBasedStatusBarAppearance 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /ios/ShoppingAppTests/ShoppingAppTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | #import 12 | #import 13 | 14 | #define TIMEOUT_SECONDS 600 15 | #define TEXT_TO_LOOK_FOR @"Welcome to React" 16 | 17 | @interface ShoppingAppTests : XCTestCase 18 | 19 | @end 20 | 21 | @implementation ShoppingAppTests 22 | 23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 24 | { 25 | if (test(view)) { 26 | return YES; 27 | } 28 | for (UIView *subview in [view subviews]) { 29 | if ([self findSubviewInView:subview matching:test]) { 30 | return YES; 31 | } 32 | } 33 | return NO; 34 | } 35 | 36 | - (void)testRendersWelcomeScreen 37 | { 38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 40 | BOOL foundElement = NO; 41 | 42 | __block NSString *redboxError = nil; 43 | #ifdef DEBUG 44 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 45 | if (level >= RCTLogLevelError) { 46 | redboxError = message; 47 | } 48 | }); 49 | #endif 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | #ifdef DEBUG 64 | RCTSetLogFunction(RCTDefaultLogFunction); 65 | #endif 66 | 67 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 68 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 69 | } 70 | 71 | 72 | @end 73 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore polyfills 9 | node_modules/react-native/Libraries/polyfills/.* 10 | 11 | ; These should not be required directly 12 | ; require from fbjs/lib instead: require('fbjs/lib/warning') 13 | node_modules/warning/.* 14 | 15 | ; Flow doesn't support platforms 16 | .*/Libraries/Utilities/LoadingView.js 17 | 18 | [untyped] 19 | .*/node_modules/@react-native-community/cli/.*/.* 20 | 21 | [include] 22 | 23 | [libs] 24 | node_modules/react-native/Libraries/react-native/react-native-interface.js 25 | node_modules/react-native/flow/ 26 | 27 | [options] 28 | emoji=true 29 | 30 | esproposal.optional_chaining=enable 31 | esproposal.nullish_coalescing=enable 32 | 33 | module.file_ext=.js 34 | module.file_ext=.json 35 | module.file_ext=.ios.js 36 | 37 | munge_underscores=true 38 | 39 | module.name_mapper='^react-native$' -> '/node_modules/react-native/Libraries/react-native/react-native-implementation' 40 | module.name_mapper='^react-native/\(.*\)$' -> '/node_modules/react-native/\1' 41 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '/node_modules/react-native/Libraries/Image/RelativeImageStub' 42 | 43 | suppress_type=$FlowIssue 44 | suppress_type=$FlowFixMe 45 | suppress_type=$FlowFixMeProps 46 | suppress_type=$FlowFixMeState 47 | 48 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\) 49 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+ 50 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 51 | 52 | [lints] 53 | sketchy-null-number=warn 54 | sketchy-null-mixed=warn 55 | sketchy-number=warn 56 | untyped-type-import=warn 57 | nonstrict-import=warn 58 | deprecated-type=warn 59 | unsafe-getters-setters=warn 60 | inexact-spread=warn 61 | unnecessary-invariant=warn 62 | signature-verification-failure=warn 63 | deprecated-utility=error 64 | 65 | [strict] 66 | deprecated-type 67 | nonstrict-import 68 | sketchy-null 69 | unclear-type 70 | unsafe-getters-setters 71 | untyped-import 72 | untyped-type-import 73 | 74 | [version] 75 | ^0.105.0 76 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/shoppingapp/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.shoppingapp; 2 | import com.oblador.vectoricons.VectorIconsPackage; 3 | import android.app.Application; 4 | import android.content.Context; 5 | import com.facebook.react.PackageList; 6 | import com.facebook.react.ReactApplication; 7 | import com.facebook.react.ReactNativeHost; 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.soloader.SoLoader; 10 | import java.lang.reflect.InvocationTargetException; 11 | import java.util.List; 12 | 13 | public class MainApplication extends Application implements ReactApplication { 14 | 15 | private final ReactNativeHost mReactNativeHost = 16 | new ReactNativeHost(this) { 17 | @Override 18 | public boolean getUseDeveloperSupport() { 19 | return BuildConfig.DEBUG; 20 | } 21 | 22 | @Override 23 | protected List getPackages() { 24 | @SuppressWarnings("UnnecessaryLocalVariable") 25 | List packages = new PackageList(this).getPackages(); 26 | // Packages that cannot be autolinked yet can be added manually here, for example: 27 | // packages.add(new MyReactNativePackage()); 28 | new VectorIconsPackage(); 29 | return packages; 30 | } 31 | 32 | @Override 33 | protected String getJSMainModuleName() { 34 | return "index"; 35 | } 36 | }; 37 | 38 | @Override 39 | public ReactNativeHost getReactNativeHost() { 40 | return mReactNativeHost; 41 | } 42 | 43 | @Override 44 | public void onCreate() { 45 | super.onCreate(); 46 | SoLoader.init(this, /* native exopackage */ false); 47 | initializeFlipper(this); // Remove this line if you don't want Flipper enabled 48 | } 49 | 50 | /** 51 | * Loads Flipper in React Native templates. 52 | * 53 | * @param context 54 | */ 55 | private static void initializeFlipper(Context context) { 56 | if (BuildConfig.DEBUG) { 57 | try { 58 | /* 59 | We use reflection here to pick up the class that initializes Flipper, 60 | since Flipper library is not available in release mode 61 | */ 62 | Class aClass = Class.forName("com.facebook.flipper.ReactNativeFlipper"); 63 | aClass.getMethod("initializeFlipper", Context.class).invoke(null, context); 64 | } catch (ClassNotFoundException e) { 65 | e.printStackTrace(); 66 | } catch (NoSuchMethodException e) { 67 | e.printStackTrace(); 68 | } catch (IllegalAccessException e) { 69 | e.printStackTrace(); 70 | } catch (InvocationTargetException e) { 71 | e.printStackTrace(); 72 | } 73 | } 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '9.0' 2 | require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' 3 | 4 | target 'ShoppingApp' do 5 | # Pods for ShoppingApp 6 | pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector" 7 | pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec" 8 | pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired" 9 | pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety" 10 | pod 'React', :path => '../node_modules/react-native/' 11 | pod 'React-Core', :path => '../node_modules/react-native/' 12 | pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules' 13 | pod 'React-Core/DevSupport', :path => '../node_modules/react-native/' 14 | pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS' 15 | pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation' 16 | pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob' 17 | pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image' 18 | pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS' 19 | pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network' 20 | pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings' 21 | pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text' 22 | pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration' 23 | pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/' 24 | 25 | pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact' 26 | pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi' 27 | pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor' 28 | pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector' 29 | pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon" 30 | pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon" 31 | pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga' 32 | 33 | pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec' 34 | pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec' 35 | pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec' 36 | 37 | target 'ShoppingAppTests' do 38 | inherit! :search_paths 39 | # Pods for testing 40 | end 41 | 42 | use_native_modules! 43 | end 44 | 45 | target 'ShoppingApp-tvOS' do 46 | # Pods for ShoppingApp-tvOS 47 | 48 | target 'ShoppingApp-tvOSTests' do 49 | inherit! :search_paths 50 | # Pods for testing 51 | end 52 | 53 | end 54 | -------------------------------------------------------------------------------- /ios/ShoppingApp/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ShoppingApp 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | NSAppTransportSecurity 28 | 29 | NSAllowsArbitraryLoads 30 | 31 | NSExceptionDomains 32 | 33 | localhost 34 | 35 | NSExceptionAllowsInsecureHTTPLoads 36 | 37 | 38 | 39 | 40 | NSLocationWhenInUseUsageDescription 41 | 42 | UILaunchStoryboardName 43 | LaunchScreen 44 | UIRequiredDeviceCapabilities 45 | 46 | armv7 47 | 48 | UISupportedInterfaceOrientations 49 | 50 | UIInterfaceOrientationPortrait 51 | UIInterfaceOrientationLandscapeLeft 52 | UIInterfaceOrientationLandscapeRight 53 | 54 | UIViewControllerBasedStatusBarAppearance 55 | 56 | UIAppFonts 57 | 58 | halfmoon_bold.ttf 59 | halfmoon_regular.ttf 60 | HalloEuroboy.ttf 61 | Hamster.otf 62 | HANDA.otf 63 | Happy Bomb.otf 64 | Happy Bomb.ttf 65 | Happy_Bomb_Italic.otf 66 | Happy_Bomb_Italic.ttf 67 | m20.TTF 68 | Machala_Sans.otf 69 | Samuel.ttf 70 | AntDesign.ttf 71 | Entypo.ttf 72 | EvilIcons.ttf 73 | Feather.ttf 74 | FontAwesome.ttf 75 | FontAwesome5_Brands.ttf 76 | FontAwesome5_Regular.ttf 77 | FontAwesome5_Solid.ttf 78 | Fontisto.ttf 79 | Foundation.ttf 80 | Ionicons.ttf 81 | MaterialCommunityIcons.ttf 82 | MaterialIcons.ttf 83 | Octicons.ttf 84 | SimpleLineIcons.ttf 85 | Zocial.ttf 86 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem http://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%" == "" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem Gradle startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%" == "" set DIRNAME=. 29 | set APP_BASE_NAME=%~n0 30 | set APP_HOME=%DIRNAME% 31 | 32 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 33 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 34 | 35 | @rem Find java.exe 36 | if defined JAVA_HOME goto findJavaFromJavaHome 37 | 38 | set JAVA_EXE=java.exe 39 | %JAVA_EXE% -version >NUL 2>&1 40 | if "%ERRORLEVEL%" == "0" goto init 41 | 42 | echo. 43 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 44 | echo. 45 | echo Please set the JAVA_HOME variable in your environment to match the 46 | echo location of your Java installation. 47 | 48 | goto fail 49 | 50 | :findJavaFromJavaHome 51 | set JAVA_HOME=%JAVA_HOME:"=% 52 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 53 | 54 | if exist "%JAVA_EXE%" goto init 55 | 56 | echo. 57 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 58 | echo. 59 | echo Please set the JAVA_HOME variable in your environment to match the 60 | echo location of your Java installation. 61 | 62 | goto fail 63 | 64 | :init 65 | @rem Get command-line arguments, handling Windows variants 66 | 67 | if not "%OS%" == "Windows_NT" goto win9xME_args 68 | 69 | :win9xME_args 70 | @rem Slurp the command line arguments. 71 | set CMD_LINE_ARGS= 72 | set _SKIP=2 73 | 74 | :win9xME_args_slurp 75 | if "x%~1" == "x" goto execute 76 | 77 | set CMD_LINE_ARGS=%* 78 | 79 | :execute 80 | @rem Setup the command line 81 | 82 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 83 | 84 | @rem Execute Gradle 85 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 86 | 87 | :end 88 | @rem End local scope for the variables with windows NT shell 89 | if "%ERRORLEVEL%"=="0" goto mainEnd 90 | 91 | :fail 92 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 93 | rem the _cmd.exe /c_ return code! 94 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 95 | exit /b 1 96 | 97 | :mainEnd 98 | if "%OS%"=="Windows_NT" endlocal 99 | 100 | :omega 101 | -------------------------------------------------------------------------------- /Screens/CategoriesScreen.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import { 3 | StyleSheet, 4 | View, 5 | Text, 6 | Button, 7 | TouchableOpacity, 8 | FlatList, 9 | Image 10 | 11 | } from 'react-native'; 12 | import Icon from 'react-native-vector-icons/FontAwesome5'; 13 | class CategoriesScreen extends Component { 14 | state = { 15 | categories : [ 16 | {id : "1" , title: "Books", image : "https://image.flaticon.com/icons/png/512/562/562132.png"}, 17 | {id : "2" , title: "Mobiles", image : "https://icon-library.net/images/smartphone-icon-png/smartphone-icon-png-13.jpg"}, 18 | {id : "4" , title: "Watches", image : "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRcHVsPJmUpbX1qe0js7-NLLHWzrJNofP0wrim8dle-Oj5k31CC&s"}, 19 | {id : "5" , title: "Shoes", image : "https://cdn3.iconfinder.com/data/icons/sport-set-1/512/Shoes_2-256.png"}, 20 | {id : "8" , title: "Laptops", image : "https://cdn0.iconfinder.com/data/icons/devices-icons-rounded/110/Laptop-512.png"}, 21 | {id : "9" , title: "T-Shirt", image : "https://cdn2.iconfinder.com/data/icons/mobile-device/512/tshirt-wear-sport-man-blue-round-512.png"}, 22 | {id : "6" , title: "Jewelry", image : "https://www.shareicon.net/data/512x512/2016/09/02/824427_jewel_512x512.png"}, 23 | {id : "7" , title: "Wallets", image : "https://cdn4.iconfinder.com/data/icons/peppyicons-rounded/512/wallet2-512.png"}, 24 | 25 | ] 26 | } 27 | 28 | renderItemsFunction = (itemData)=>{ 29 | return ( 30 | { 33 | this.props.navigation.navigate("CategoriesProducts" , {title:itemData.item.title,}); 34 | } 35 | }> 36 | 37 | 38 | 39 | {itemData.item.title} 40 | 41 | 42 | 43 | ) 44 | } 45 | 46 | render() { 47 | 48 | return ( 49 | 50 | 51 | 53 | 54 | ) 55 | } 56 | } 57 | 58 | const styles = StyleSheet.create({ 59 | main: { 60 | flex : 1, 61 | padding : 5, 62 | backgroundColor : "#f5f5f0", 63 | 64 | }, 65 | item:{ 66 | flex : 1, 67 | height:180, 68 | backgroundColor:"white", 69 | borderRadius : 5, 70 | shadowColor: "gray", 71 | shadowOpacity : 0.4, 72 | shadowOffset : {width:0, height:2}, 73 | shadowRadius : 2, 74 | elevation : 2, 75 | justifyContent : "center", 76 | alignItems : "center", 77 | padding : 15, 78 | margin:5 79 | }, 80 | text : { 81 | fontSize : 15, 82 | fontFamily : "halfmoon_bold", 83 | alignContent : "flex-end", 84 | marginTop: 10 85 | 86 | }, 87 | 88 | }); 89 | 90 | 91 | 92 | export default CategoriesScreen; 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | -------------------------------------------------------------------------------- /Store/Reducers/CartReducers.js: -------------------------------------------------------------------------------- 1 | const initialState = { 2 | cartItems : [], 3 | wishListItems : [], 4 | itemsCount : 0 5 | 6 | } 7 | 8 | export default (state=initialState, action)=>{ 9 | if(action.type=="ADD_TO_CART"){ 10 | let exists = -1; 11 | if(state.itemsCount>0){ 12 | for(let i=0; i item.id === action.item.id ? 19 | { ...item, quantity: item.quantity+1 } : 20 | item 21 | ) , 22 | } 23 | } 24 | } 25 | } 26 | if(exists==1){ 27 | console.log("if"); 28 | console.log(state.cartItems); 29 | } 30 | else{ 31 | let updatedCartItems = [...state.cartItems, action.item]; 32 | let count = state.itemsCount + 1; 33 | return { 34 | ...state, 35 | itemsCount : count, 36 | cartItems : updatedCartItems , 37 | 38 | } 39 | } 40 | 41 | } 42 | else if(action.type=="DELETE_ITEM"){ 43 | let newCartItems = state.cartItems.filter( 44 | (item)=>{ 45 | return item.id!=action.item 46 | } 47 | ); 48 | let count = state.itemsCount-1; 49 | return { 50 | ...state, 51 | itemsCount : count, 52 | cartItems : newCartItems , 53 | 54 | } 55 | 56 | } 57 | else if(action.type=="DECREASE_QUANTITY"){ 58 | return { 59 | ...state, 60 | cartItems: state.cartItems.map(item => item.id === action.item ? 61 | { ...item, quantity: item.quantity-1 } : 62 | item 63 | ) , 64 | } 65 | } 66 | else if(action.type=="INCREASE_QUANTITY"){ 67 | return { 68 | ...state, 69 | cartItems: state.cartItems.map(item => item.id === action.item ? 70 | { ...item, quantity: item.quantity+1 } : 71 | item 72 | ) , 73 | } 74 | } 75 | else if(action.type=="ADD_TO_WISH_LIST"){ 76 | 77 | for(let i = 0; i < state.wishListItems.length; i++){ 78 | if(state.wishListItems[i].id== action.item.id){ 79 | 80 | return state; 81 | } 82 | } 83 | 84 | let updatedWishListItems = [...state.wishListItems, action.item]; 85 | return { 86 | ...state, 87 | wishListItems : updatedWishListItems , 88 | 89 | } 90 | } 91 | else if(action.type=="DELETE_FROM_CART"){ 92 | let newWishListItems = state.wishListItems.filter( 93 | (item)=>{ 94 | return item.id!=action.item.id 95 | } 96 | ); 97 | 98 | return { 99 | ...state, 100 | wishListItems : newWishListItems , 101 | 102 | } 103 | } 104 | else if(action.type=="ORDER_PLACED"){ 105 | return { 106 | ...state, 107 | itemsCount : 0, 108 | cartItems : [], 109 | } 110 | } 111 | 112 | 113 | 114 | 115 | return state 116 | } 117 | 118 | 119 | -------------------------------------------------------------------------------- /ios/ShoppingApp/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 | -------------------------------------------------------------------------------- /Navigation/NavigationConfig.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { createAppContainer } from 'react-navigation'; 3 | import { createStackNavigator } from 'react-navigation-stack'; 4 | import { createBottomTabNavigator } from 'react-navigation-tabs'; 5 | import Icon from 'react-native-vector-icons/FontAwesome5'; 6 | import FontAwesome from 'react-native-vector-icons/FontAwesome'; 7 | import Entypo from 'react-native-vector-icons/Entypo'; 8 | import Fontisto from 'react-native-vector-icons/Fontisto'; 9 | import CategoriesScreen from "../Screens/CategoriesScreen"; 10 | import AllProductsScreen from "../Screens/AllProductsScreen"; 11 | import WishListScreen from "../Screens/WishListScreen"; 12 | import CartScreen from "../Screens/CartScreen"; 13 | import CategoriesProductsScreen from "../Screens/CategoriesProductsScreen"; 14 | import ProductsDetailScreen from "../Screens/ProductsDetailScreen"; 15 | import OrdersScreen from "../Screens/OrdersScreen"; 16 | const defaultOptionsForStack = { 17 | defaultNavigationOptions: { 18 | 19 | headerStyle: { 20 | backgroundColor: '#FF543C', 21 | elevation: 0, 22 | shadowOpacity: 0 23 | }, 24 | headerTintColor: '#FFFFFF', 25 | headerTitleStyle: { 26 | fontWeight: 'bold', 27 | color: '#FFFFFF', 28 | fontSize:18 29 | } 30 | } 31 | 32 | }; 33 | 34 | const CategoriesStack = createStackNavigator({ 35 | Categories : { 36 | screen : CategoriesScreen, 37 | navigationOptions : { 38 | headerTitle : " Categories" 39 | } 40 | }, 41 | CategoriesProducts : { 42 | screen : CategoriesProductsScreen, 43 | 44 | }, 45 | ProductDetails : { 46 | screen : ProductsDetailScreen, 47 | 48 | }, 49 | Cart : { 50 | screen : CartScreen 51 | } 52 | 53 | }, defaultOptionsForStack 54 | 55 | ); 56 | 57 | const AllProductsStack = createStackNavigator({ 58 | 59 | AllProducts : { 60 | screen : AllProductsScreen, 61 | navigationOptions : { 62 | headerTitle : "All Products" 63 | } 64 | }, 65 | ProductDetails : { 66 | screen : ProductsDetailScreen, 67 | 68 | }, 69 | Cart : { 70 | screen : CartScreen 71 | } 72 | 73 | }, defaultOptionsForStack 74 | 75 | ); 76 | 77 | 78 | const WishListStack = createStackNavigator({ 79 | 80 | WishList : { 81 | screen : WishListScreen, 82 | navigationOptions : { 83 | headerTitle : "Wish List" 84 | } 85 | }, 86 | ProductDetails : { 87 | screen : ProductsDetailScreen, 88 | navigationOptions : { 89 | headerTitle : "Products Details" 90 | } 91 | }, 92 | Cart : { 93 | screen : CartScreen 94 | } 95 | 96 | }, defaultOptionsForStack 97 | 98 | ); 99 | 100 | 101 | const CartStack = createStackNavigator({ 102 | 103 | Cart : { 104 | screen : CartScreen, 105 | navigationOptions:{ 106 | headerTitle : "Items in Cart" 107 | } 108 | }, 109 | 110 | 111 | 112 | }, defaultOptionsForStack 113 | 114 | ); 115 | 116 | 117 | 118 | 119 | 120 | const TabNavigator = createBottomTabNavigator({ 121 | Categories: { 122 | screen : CategoriesStack, 123 | navigationOptions : { 124 | tabBarIcon: ({ tintColor }) => { 125 | return 126 | } 127 | 128 | }, 129 | 130 | 131 | }, 132 | Products : { 133 | screen : AllProductsStack, 134 | navigationOptions : { 135 | tabBarIcon: ({ tintColor }) => { 136 | return 137 | } 138 | } 139 | }, 140 | "Wish List": { 141 | screen : WishListStack, 142 | navigationOptions : { 143 | tabBarIcon: ({ tintColor }) => { 144 | return 145 | } 146 | } 147 | }, 148 | Cart: { 149 | screen : CartStack, 150 | navigationOptions : { 151 | tabBarIcon: ({ tintColor }) => { 152 | return 153 | } 154 | } 155 | }, 156 | }, { 157 | tabBarOptions : { 158 | showLabel : false, 159 | activeTintColor : "#FF543C", 160 | inactiveTintColor : "black", 161 | tabStyle : {height : 50 , zIndex:99, borderColor:"white", borderTopWidth:0}, 162 | labelStyle : {fontSize: 12, paddingTop:2,paddingBottom:3, fontFamily : "halfmoon_bold",}, 163 | } 164 | } 165 | 166 | 167 | ); 168 | 169 | 170 | 171 | const AppContainer = createAppContainer(TabNavigator) 172 | 173 | export default AppContainer ; 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | -------------------------------------------------------------------------------- /ios/ShoppingApp.xcodeproj/xcshareddata/xcschemes/ShoppingApp.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/ShoppingApp.xcodeproj/xcshareddata/xcschemes/ShoppingApp-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 | -------------------------------------------------------------------------------- /Screens/ProductsDetailScreen.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import { 3 | StyleSheet, 4 | View, 5 | Text, 6 | ScrollView, 7 | Image, 8 | TouchableOpacity, 9 | } from 'react-native'; 10 | import { Rating, AirbnbRating } from 'react-native-ratings'; 11 | import { HeaderButtons , Item } from "react-navigation-header-buttons"; 12 | import MyHeaderButton from "./MyHeaderButton"; 13 | import { Avatar, Badge, Icon, withBadge } from 'react-native-elements'; 14 | import { NavigationEvents } from 'react-navigation'; 15 | import {connect} from "react-redux"; 16 | class ProductsDetailScreen extends Component { 17 | static navigationOptions = ({ navigation }) => { 18 | return { 19 | title : navigation.getParam("title"), 20 | headerRight : 21 | 22 | 23 | 26 | 27 | { 29 | console.log("Pressed"); 30 | }} 31 | style={{marginTop:4}} 32 | /> 33 | 34 | 35 | 36 | 37 | }; 38 | }; 39 | state = { 40 | count : -12 41 | } 42 | componentDidMount = ()=>{ 43 | let count = this.props.itemsCount.itemsCount; 44 | console.log(count); 45 | this.props.navigation.setParams({ 46 | count : count, 47 | }); 48 | } 49 | 50 | getItemsCount = ()=>{ 51 | this.setState({ 52 | count : this.state.count+1 53 | }, 54 | ()=>{ 55 | let count = this.props.itemsCount.itemsCount; 56 | console.log(count); 57 | this.props.navigation.setParams({ 58 | count : count, 59 | }); 60 | } 61 | ); 62 | } 63 | addCartHandler = (book)=>{ 64 | this.getItemsCount(); 65 | //console.log(this.state.count); 66 | let qty = 1; 67 | book.quantity = qty; 68 | this.props.addToCart(book); 69 | // console.log(book); 70 | this.props.navigation.goBack(); 71 | // this.props.itemsCount.itemsCount 72 | } 73 | 74 | 75 | 76 | 77 | 78 | render() { 79 | 80 | let book = this.props.navigation.getParam("newBook"); 81 | return ( 82 | 83 | 84 | { 86 | this.getItemsCount() 87 | }} 88 | /> 89 | 93 | 94 | Product 95 | {book.title} 96 | 97 | 98 | 99 | Category 100 | {book.category} 101 | 102 | 103 | Price 104 | ${book.Price} 105 | 106 | 107 | 108 | Description! 109 | {book.Description} 110 | 111 | 118 | 119 | 120 | { 131 | this.addCartHandler(book); 132 | }} 133 | > 134 | Add to Cart 135 | 136 | 137 | 138 | 139 | 140 | 141 | ) 142 | } 143 | } 144 | const styles = StyleSheet.create({ 145 | main: { 146 | flex : 1, 147 | padding : 10, 148 | }, 149 | rating : { 150 | marginTop:10, 151 | marginBottom:10 152 | }, 153 | infoBox: { 154 | flexDirection:"row", 155 | justifyContent:"space-between", borderColor:"gray", 156 | borderWidth:1, 157 | padding:10, 158 | marginTop:15, 159 | }, 160 | fitImage: { 161 | borderRadius: 5, 162 | zIndex : -1, 163 | resizeMode:"contain", 164 | width:"100%", 165 | height:430 166 | }, 167 | fitImageWithSize: { 168 | height: 100, 169 | width: 30, 170 | }, 171 | defaultText:{ 172 | fontSize : 15, 173 | }, 174 | propText: { 175 | fontFamily : "halfmoon_bold", 176 | fontSize : 15, 177 | } 178 | }); 179 | 180 | const mapStateToProps = (state)=>{ 181 | return { 182 | products : state.products, 183 | itemsCount : state.itemsCount, 184 | } 185 | } 186 | const mapDispatchToProps = (dispatch)=>{ 187 | return { 188 | addToCart : (itemData)=>{ 189 | dispatch({ 190 | type : "ADD_TO_CART", 191 | item : itemData 192 | }); 193 | } 194 | } 195 | } 196 | export default connect(mapStateToProps,mapDispatchToProps)(ProductsDetailScreen); -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | # 4 | # Copyright 2015 the original author or authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | ############################################################################## 20 | ## 21 | ## Gradle start up script for UN*X 22 | ## 23 | ############################################################################## 24 | 25 | # Attempt to set APP_HOME 26 | # Resolve links: $0 may be a link 27 | PRG="$0" 28 | # Need this for relative symlinks. 29 | while [ -h "$PRG" ] ; do 30 | ls=`ls -ld "$PRG"` 31 | link=`expr "$ls" : '.*-> \(.*\)$'` 32 | if expr "$link" : '/.*' > /dev/null; then 33 | PRG="$link" 34 | else 35 | PRG=`dirname "$PRG"`"/$link" 36 | fi 37 | done 38 | SAVED="`pwd`" 39 | cd "`dirname \"$PRG\"`/" >/dev/null 40 | APP_HOME="`pwd -P`" 41 | cd "$SAVED" >/dev/null 42 | 43 | APP_NAME="Gradle" 44 | APP_BASE_NAME=`basename "$0"` 45 | 46 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 47 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 48 | 49 | # Use the maximum available, or set MAX_FD != -1 to use that value. 50 | MAX_FD="maximum" 51 | 52 | warn () { 53 | echo "$*" 54 | } 55 | 56 | die () { 57 | echo 58 | echo "$*" 59 | echo 60 | exit 1 61 | } 62 | 63 | # OS specific support (must be 'true' or 'false'). 64 | cygwin=false 65 | msys=false 66 | darwin=false 67 | nonstop=false 68 | case "`uname`" in 69 | CYGWIN* ) 70 | cygwin=true 71 | ;; 72 | Darwin* ) 73 | darwin=true 74 | ;; 75 | MINGW* ) 76 | msys=true 77 | ;; 78 | NONSTOP* ) 79 | nonstop=true 80 | ;; 81 | esac 82 | 83 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 84 | 85 | # Determine the Java command to use to start the JVM. 86 | if [ -n "$JAVA_HOME" ] ; then 87 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 88 | # IBM's JDK on AIX uses strange locations for the executables 89 | JAVACMD="$JAVA_HOME/jre/sh/java" 90 | else 91 | JAVACMD="$JAVA_HOME/bin/java" 92 | fi 93 | if [ ! -x "$JAVACMD" ] ; then 94 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 95 | 96 | Please set the JAVA_HOME variable in your environment to match the 97 | location of your Java installation." 98 | fi 99 | else 100 | JAVACMD="java" 101 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 102 | 103 | Please set the JAVA_HOME variable in your environment to match the 104 | location of your Java installation." 105 | fi 106 | 107 | # Increase the maximum file descriptors if we can. 108 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 109 | MAX_FD_LIMIT=`ulimit -H -n` 110 | if [ $? -eq 0 ] ; then 111 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 112 | MAX_FD="$MAX_FD_LIMIT" 113 | fi 114 | ulimit -n $MAX_FD 115 | if [ $? -ne 0 ] ; then 116 | warn "Could not set maximum file descriptor limit: $MAX_FD" 117 | fi 118 | else 119 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 120 | fi 121 | fi 122 | 123 | # For Darwin, add options to specify how the application appears in the dock 124 | if $darwin; then 125 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 126 | fi 127 | 128 | # For Cygwin, switch paths to Windows format before running java 129 | if $cygwin ; then 130 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 131 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 132 | JAVACMD=`cygpath --unix "$JAVACMD"` 133 | 134 | # We build the pattern for arguments to be converted via cygpath 135 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 136 | SEP="" 137 | for dir in $ROOTDIRSRAW ; do 138 | ROOTDIRS="$ROOTDIRS$SEP$dir" 139 | SEP="|" 140 | done 141 | OURCYGPATTERN="(^($ROOTDIRS))" 142 | # Add a user-defined pattern to the cygpath arguments 143 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 144 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 145 | fi 146 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 147 | i=0 148 | for arg in "$@" ; do 149 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 150 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 151 | 152 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 153 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 154 | else 155 | eval `echo args$i`="\"$arg\"" 156 | fi 157 | i=$((i+1)) 158 | done 159 | case $i in 160 | (0) set -- ;; 161 | (1) set -- "$args0" ;; 162 | (2) set -- "$args0" "$args1" ;; 163 | (3) set -- "$args0" "$args1" "$args2" ;; 164 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 165 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 166 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 167 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 168 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 169 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 170 | esac 171 | fi 172 | 173 | # Escape application args 174 | save () { 175 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 176 | echo " " 177 | } 178 | APP_ARGS=$(save "$@") 179 | 180 | # Collect all arguments for the java command, following the shell quoting and substitution rules 181 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 182 | 183 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong 184 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then 185 | cd "$(dirname "$0")" 186 | fi 187 | 188 | exec "$JAVACMD" "$@" 189 | -------------------------------------------------------------------------------- /Screens/CartScreen.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import { 3 | StyleSheet, 4 | View, 5 | Text, 6 | Button, 7 | Alert, 8 | TouchableOpacity, 9 | FlatList, 10 | Image, 11 | } from 'react-native'; 12 | import { NavigationEvents } from 'react-navigation'; 13 | import Icon from 'react-native-vector-icons/AntDesign'; 14 | import FontAwesome from 'react-native-vector-icons/FontAwesome5'; 15 | import { HeaderButtons , Item } from "react-navigation-header-buttons"; 16 | import MyHeaderButton from "./MyHeaderButton"; 17 | import { Avatar, Badge, withBadge } from 'react-native-elements'; 18 | 19 | import {connect} from "react-redux"; 20 | class CartScreen extends Component { 21 | 22 | static navigationOptions = ({ navigation }) => { 23 | return { 24 | title : "Items in Cart", 25 | } 26 | } 27 | state = { 28 | itemsInCart : null, 29 | itemsCount : -1, 30 | } 31 | 32 | componentDidMount = ()=>{ 33 | this.getItemsCount(); 34 | 35 | } 36 | 37 | getItemsCount = ()=>{ 38 | 39 | let Items = this.props.cartItems.cartItems.map( 40 | (item)=>{ 41 | return item 42 | } 43 | ); 44 | 45 | this.setState({ 46 | itemsInCart : Items, 47 | itemsCount : this.props.itemsCount.itemsCount 48 | }); 49 | } 50 | 51 | 52 | 53 | 54 | loadBooks = (book)=>{ 55 | return ( 56 | 57 | 58 | 59 | 61 | 62 | 63 | 64 | {book.item.title} 65 | 66 | Price : ${book.item.Price} 67 | 68 | {book.item.quantity > 1 ? 69 | { 71 | this.props.decreaseQuantity(book.item.id); 72 | setTimeout(this.getItemsCount,1000); 73 | } 74 | }> 75 | 76 | 77 | : { 79 | this.props.decreaseQuantity(book.item.id); 80 | setTimeout(this.getItemsCount,1000); 81 | } 82 | }> 83 | 84 | 85 | } 86 | 87 | 88 | 89 | {book.item.quantity} 90 | 91 | { 93 | this.props.increaseQuantity(book.item.id); 94 | setTimeout(this.getItemsCount,1000); 95 | } 96 | }> 97 | 98 | 99 | { 102 | this.props.deleteItem(book.item.id); 103 | setTimeout(this.getItemsCount,1000); 104 | } 105 | } 106 | style={{flexDirection:"row", marginLeft:"30%" ,justifyContent:"space-between", alignItems:"flex-end"}}> 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | ) 116 | 117 | 118 | 119 | 120 | } 121 | render() { 122 | if(this.state.itemsCount<=0){ 123 | return ( 124 | 125 | { 127 | this.getItemsCount() 128 | }} 129 | /> 130 | You Have No Item in Your Cart List. 131 | 132 | ) 133 | } 134 | else{ 135 | return ( 136 | 137 | { 139 | this.getItemsCount() 140 | }} 141 | /> 142 | 146 | { 157 | Alert.alert( 158 | "Order Placed!", 159 | "Thanks for Ordering. You will receive your order in 2-4 business days. Cash On Delivery!", 160 | [{text: 'OK', onPress: () => console.log('Order Placed Success!')}] 161 | ); 162 | this.props.orderPlaced(); 163 | setTimeout(this.getItemsCount,1000); 164 | 165 | }} 166 | > 167 | Order Now 168 | 169 | 170 | ) 171 | } 172 | } 173 | } 174 | 175 | 176 | const styles = StyleSheet.create({ 177 | main: { 178 | flex : 1, 179 | padding : 10, 180 | alignItems:"center", 181 | 182 | }, 183 | bookMain :{ 184 | marginTop:10, 185 | width : "100%", 186 | height:500, 187 | 188 | borderColor:"black" , borderWidth:1, 189 | borderRadius : 5 190 | }, 191 | productMain: { 192 | flexDirection:"row", 193 | justifyContent:"flex-start", 194 | borderBottomColor:"gray", 195 | borderBottomWidth:1, 196 | marginBottom:5 197 | 198 | 199 | }, 200 | text : { 201 | color:"black", 202 | fontFamily : "halfmoon_bold", 203 | fontSize: 15, 204 | fontWeight:"bold", 205 | overflow:"hidden", 206 | width:"90%", 207 | } 208 | }); 209 | 210 | 211 | 212 | const mapStateToProps = (state)=>{ 213 | return { 214 | cartItems : state.cartItems, 215 | itemsCount : state.itemsCount, 216 | } 217 | } 218 | const mapDispatchToProps = (dispatch)=>{ 219 | return { 220 | deleteItem : (itemData)=>{ 221 | dispatch({ 222 | type : "DELETE_ITEM", 223 | item : itemData 224 | }); 225 | }, 226 | decreaseQuantity : (itemData)=>{ 227 | dispatch({ 228 | type : "DECREASE_QUANTITY", 229 | item : itemData 230 | }); 231 | }, 232 | increaseQuantity : (itemData)=>{ 233 | dispatch({ 234 | type : "INCREASE_QUANTITY", 235 | item : itemData 236 | }); 237 | }, 238 | orderPlaced : ()=>{ 239 | dispatch({ 240 | type : "ORDER_PLACED", 241 | }); 242 | }, 243 | } 244 | } 245 | export default connect(mapStateToProps, mapDispatchToProps)(CartScreen); -------------------------------------------------------------------------------- /Screens/WishListScreen.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import { 3 | StyleSheet, 4 | View, 5 | Text, 6 | TextInput, 7 | TouchableOpacity, 8 | FlatList, 9 | Image, 10 | 11 | } from 'react-native'; 12 | import { NavigationEvents } from 'react-navigation'; 13 | import { Rating, AirbnbRating } from 'react-native-ratings'; 14 | import Fontisto from 'react-native-vector-icons/Fontisto'; 15 | import { Avatar, Badge, Icon, withBadge } from 'react-native-elements'; 16 | import { HeaderButtons , Item } from "react-navigation-header-buttons"; 17 | import MyHeaderButton from "./MyHeaderButton"; 18 | import {connect} from "react-redux"; 19 | class WishListScreen extends Component { 20 | static navigationOptions = ({ navigation }) => { 21 | return { 22 | headerRight : 23 | 24 | 25 | 28 | 29 | { 32 | navigation.navigate("Cart"); 33 | } 34 | } 35 | style={{marginTop:4}} 36 | /> 37 | 38 | 39 | 40 | 41 | }; 42 | }; 43 | state = { 44 | filteredProducts : [], 45 | count : -12 46 | } 47 | componentDidMount = ()=>{ 48 | let products = this.props.wishListItems.wishListItems; 49 | this.setState({ 50 | filteredProducts : products 51 | }); 52 | } 53 | getItemsCount = ()=>{ 54 | this.setState({ 55 | count : this.state.count+1 56 | }, 57 | ()=>{ 58 | let count = this.props.itemsCount.itemsCount; 59 | this.props.navigation.setParams({ 60 | count : count, 61 | }); 62 | } 63 | ); 64 | let products = this.props.wishListItems.wishListItems; 65 | this.setState({ 66 | filteredProducts : products 67 | }); 68 | } 69 | 70 | 71 | addCartHandler = (book)=>{ 72 | let qty = 1; 73 | book.quantity = qty; 74 | this.props.addToCart(book); 75 | this.getItemsCount(); 76 | } 77 | deleteFromCartHandler = (book)=>{ 78 | 79 | this.props.deleteFromCart(book); 80 | setTimeout(this.getItemsCount,1000); 81 | } 82 | 83 | 84 | loadBooks = (book)=>{ 85 | let newBook = { 86 | id : book.item.id, 87 | title : book.item.title, 88 | Description : book.item.Description, 89 | image : book.item.image, 90 | Price : book.item.Price, 91 | category : book.item.category, 92 | rating : book.item.rating, 93 | favourite: book.item.favourite 94 | } 95 | return ( 96 | { 98 | this.props.navigation.navigate("ProductDetails", 99 | {newBook} ); 100 | 101 | } 102 | }> 103 | 104 | 105 | 107 | 108 | 109 | 110 | {book.item.title} 111 | 112 | Category : {book.item.category} 113 | Price : ${book.item.Price} 114 | 121 | 122 | { 133 | this.addCartHandler(newBook); 134 | this.deleteFromCartHandler(newBook); 135 | }} 136 | > 137 | Move to Cart 138 | 139 | { 140 | this.deleteFromCartHandler(newBook); 141 | }}> 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | ) 150 | 151 | } 152 | 153 | render() { 154 | console.log(this.props.wishListItems.wishListItems); 155 | if(!this.props.wishListItems.wishListItems.length){ 156 | return ( 157 | 158 | { 160 | this.getItemsCount() 161 | }} 162 | /> 163 | No Item in Wish List! 164 | 165 | ) 166 | 167 | } 168 | else{ 169 | return ( 170 | 171 | 172 | { 174 | this.getItemsCount() 175 | }} 176 | /> 177 | 181 | 182 | ) 183 | } 184 | } 185 | } 186 | 187 | const styles = StyleSheet.create({ 188 | main: { 189 | flex : 1, 190 | padding : 10, 191 | 192 | }, 193 | bookMain :{ 194 | marginTop:10, 195 | width : "100%", 196 | height:500, 197 | 198 | borderColor:"black" , borderWidth:1, 199 | borderRadius : 5 200 | }, 201 | productMain: { 202 | flexDirection:"row", 203 | justifyContent:"flex-start", 204 | borderBottomColor:"gray", 205 | borderBottomWidth:1, 206 | marginBottom:5 207 | 208 | 209 | }, 210 | text : { 211 | color:"black", 212 | fontFamily : "halfmoon_bold", 213 | fontSize: 15, 214 | fontWeight:"bold", 215 | overflow:"hidden", 216 | width:"90%", 217 | } 218 | }); 219 | 220 | const mapStateToProps = (state)=>{ 221 | return { 222 | wishListItems : state.wishListItems, 223 | itemsCount : state.itemsCount, 224 | } 225 | } 226 | const mapDispatchToProps = (dispatch)=>{ 227 | return { 228 | addToCart : (itemData)=>{ 229 | dispatch({ 230 | type : "ADD_TO_CART", 231 | item : itemData 232 | }); 233 | }, 234 | addToWishList : (itemData)=>{ 235 | dispatch({ 236 | type : "ADD_TO_WISH_LIST", 237 | item : itemData 238 | }); 239 | }, 240 | deleteFromCart : (itemData)=>{ 241 | dispatch({ 242 | type : "DELETE_FROM_CART", 243 | item : itemData 244 | }); 245 | } 246 | 247 | } 248 | } 249 | 250 | 251 | 252 | export default connect(mapStateToProps,mapDispatchToProps)(WishListScreen); -------------------------------------------------------------------------------- /Screens/AllProductsScreen.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import { 3 | StyleSheet, 4 | View, 5 | Text, 6 | TextInput, 7 | TouchableOpacity, 8 | FlatList, 9 | Image, 10 | Button 11 | 12 | } from 'react-native'; 13 | import { NavigationEvents } from 'react-navigation'; 14 | import { Rating, AirbnbRating } from 'react-native-ratings'; 15 | import { HeaderButtons , Item } from "react-navigation-header-buttons"; 16 | import MyHeaderButton from "./MyHeaderButton"; 17 | import Fontisto from 'react-native-vector-icons/Fontisto'; 18 | import { Avatar, Badge, Icon, withBadge } from 'react-native-elements'; 19 | import {connect} from "react-redux"; 20 | class AllProductsScreen extends Component { 21 | 22 | static navigationOptions = ({ navigation }) => { 23 | return { 24 | headerRight : 25 | 32 | 33 | 34 | 35 | { 37 | console.log("Pressed"); 38 | }} 39 | /> 40 | 41 | 42 | 45 | 46 | { 49 | navigation.navigate("Cart"); 50 | } 51 | } 52 | style={{marginTop:4}} 53 | /> 54 | 55 | 56 | 57 | 58 | }; 59 | }; 60 | state = { 61 | filteredProducts : [], 62 | count : -12 63 | } 64 | componentDidMount = ()=>{ 65 | let products = this.props.products.products; 66 | this.setState({ 67 | filteredProducts : products 68 | }); 69 | let count = this.props.itemsCount.itemsCount; 70 | console.log(count); 71 | this.props.navigation.setParams({ 72 | count : count, 73 | }); 74 | } 75 | getItemsCount = ()=>{ 76 | this.setState({ 77 | count : this.state.count+1 78 | }, 79 | ()=>{ 80 | let count = this.props.itemsCount.itemsCount; 81 | this.props.navigation.setParams({ 82 | count : count, 83 | }); 84 | } 85 | ); 86 | } 87 | addToWishListHandler = (book)=>{ 88 | this.props.addToWishList(book); 89 | this.getItemsCount(); 90 | } 91 | 92 | addCartHandler = (book)=>{ 93 | let qty = 1; 94 | book.quantity = qty; 95 | //console.log(this.state.count); 96 | this.props.addToCart(book); 97 | this.getItemsCount(); 98 | // this.props.itemsCount.itemsCount 99 | 100 | // this.props.itemsCount.itemsCount 101 | } 102 | 103 | 104 | 105 | loadBooks = (book)=>{ 106 | let newBook = { 107 | id : book.item.id, 108 | title : book.item.title, 109 | Description : book.item.Description, 110 | image : book.item.image, 111 | Price : book.item.Price, 112 | category : book.item.category, 113 | rating : book.item.rating, 114 | favourite: book.item.favourite 115 | } 116 | return ( 117 | { 119 | this.props.navigation.navigate("ProductDetails", 120 | {newBook} ); 121 | 122 | } 123 | }> 124 | 125 | 126 | 128 | 129 | 130 | 131 | {book.item.title} 132 | 133 | Category : {book.item.category} 134 | Price : ${book.item.Price} 135 | 142 | 143 | { 154 | this.addCartHandler(newBook); 155 | }} 156 | > 157 | Add to Cart 158 | 159 | { 160 | this.addToWishListHandler(newBook); 161 | }}> 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | ) 170 | 171 | } 172 | 173 | 174 | 175 | 176 | render() { 177 | return ( 178 | 179 | { 181 | this.getItemsCount() 182 | }} 183 | /> 184 | 188 | 189 | ) 190 | } 191 | } 192 | 193 | const styles = StyleSheet.create({ 194 | main: { 195 | flex : 1, 196 | padding : 10, 197 | 198 | }, 199 | bookMain :{ 200 | marginTop:10, 201 | width : "100%", 202 | height:500, 203 | 204 | borderColor:"black" , borderWidth:1, 205 | borderRadius : 5 206 | }, 207 | productMain: { 208 | flexDirection:"row", 209 | justifyContent:"flex-start", 210 | borderBottomColor:"gray", 211 | borderBottomWidth:1, 212 | marginBottom:5 213 | 214 | 215 | }, 216 | text : { 217 | color:"black", 218 | fontFamily : "halfmoon_bold", 219 | fontSize: 15, 220 | fontWeight:"bold", 221 | overflow:"hidden", 222 | width:"90%", 223 | 224 | } 225 | }); 226 | 227 | 228 | 229 | const mapStateToProps = (state)=>{ 230 | return { 231 | products : state.products, 232 | itemsCount : state.itemsCount, 233 | } 234 | } 235 | const mapDispatchToProps = (dispatch)=>{ 236 | return { 237 | addToCart : (itemData)=>{ 238 | dispatch({ 239 | type : "ADD_TO_CART", 240 | item : itemData 241 | }); 242 | }, 243 | addToWishList : (itemData)=>{ 244 | dispatch({ 245 | type : "ADD_TO_WISH_LIST", 246 | item : itemData 247 | }); 248 | } 249 | } 250 | } 251 | export default connect(mapStateToProps,mapDispatchToProps)(AllProductsScreen); -------------------------------------------------------------------------------- /Screens/CategoriesProductsScreen.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import { 3 | StyleSheet, 4 | View, 5 | Text, 6 | TextInput, 7 | TouchableOpacity, 8 | FlatList, 9 | Image, 10 | Button 11 | 12 | } from 'react-native'; 13 | import { NavigationEvents } from 'react-navigation'; 14 | import { Rating, AirbnbRating } from 'react-native-ratings'; 15 | import { HeaderButtons , Item } from "react-navigation-header-buttons"; 16 | import MyHeaderButton from "./MyHeaderButton"; 17 | import { Avatar, Badge, withBadge } from 'react-native-elements'; 18 | import {connect} from "react-redux"; 19 | import Fontisto from 'react-native-vector-icons/Fontisto'; 20 | class CategoriesProductsScreen extends Component { 21 | 22 | state = { 23 | filteredProducts : [], 24 | count : -12 25 | } 26 | 27 | 28 | static navigationOptions = ({ navigation }) => { 29 | return { 30 | title : navigation.getParam("title"), 31 | headerRight : 32 | 39 | 40 | 41 | 42 | { 44 | console.log("Pressed"); 45 | }} 46 | /> 47 | 48 | 49 | 50 | 53 | 54 | { 57 | navigation.navigate("Cart"); 58 | } 59 | } 60 | style={{marginTop:4}} 61 | /> 62 | 63 | 64 | 65 | 66 | 67 | }; 68 | }; 69 | 70 | 71 | 72 | componentDidMount = ()=>{ 73 | 74 | let category = this.props.navigation.getParam("title"); 75 | let products = this.props.products.products.filter( 76 | (product)=>{ 77 | return product.category == category 78 | } 79 | ); 80 | 81 | this.setState({ 82 | filteredProducts : products, 83 | 84 | }); 85 | let count = this.props.itemsCount.itemsCount; 86 | this.props.navigation.setParams({ 87 | count, 88 | }); 89 | 90 | } 91 | addToWishListHandler = (book)=>{ 92 | this.props.addToWishList(book); 93 | this.getItemsCount(); 94 | } 95 | 96 | getItemsCount = ()=>{ 97 | this.setState({ 98 | count : this.state.count+1 99 | }, 100 | ()=>{ 101 | let count = this.props.itemsCount.itemsCount; 102 | this.props.navigation.setParams({ 103 | count : count, 104 | }); 105 | } 106 | ); 107 | } 108 | addCartHandler = (book)=>{ 109 | 110 | let qty = 1; 111 | book.quantity = qty; 112 | //console.log(this.state.count); 113 | this.props.addToCart(book); 114 | this.getItemsCount(); 115 | // this.props.itemsCount.itemsCount 116 | } 117 | 118 | loadBooks = (book)=>{ 119 | let newBook = { 120 | id : book.item.id, 121 | title : book.item.title, 122 | Description : book.item.Description, 123 | image : book.item.image, 124 | Price : book.item.Price, 125 | category : book.item.category, 126 | rating : book.item.rating, 127 | favourite: book.item.favourite 128 | } 129 | return ( 130 | { 132 | this.props.navigation.navigate("ProductDetails", 133 | {newBook} ); 134 | } 135 | }> 136 | 137 | 138 | 140 | 141 | 142 | 143 | {book.item.title} 144 | 145 | Category : {book.item.category} 146 | Price : ${book.item.Price} 147 | 154 | 155 | { 166 | this.addCartHandler(newBook); 167 | }} 168 | > 169 | Add to Cart 170 | 171 | { 172 | this.addToWishListHandler(newBook); 173 | }}> 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | ) 182 | 183 | } 184 | 185 | 186 | 187 | render() { 188 | 189 | return ( 190 | 191 | { 193 | this.getItemsCount() 194 | }} 195 | /> 196 | 200 | 201 | ) 202 | } 203 | } 204 | 205 | const styles = StyleSheet.create({ 206 | main: { 207 | flex : 1, 208 | padding : 10, 209 | 210 | }, 211 | bookMain :{ 212 | marginTop:10, 213 | width : "100%", 214 | height:500, 215 | 216 | borderColor:"black" , borderWidth:1, 217 | borderRadius : 5 218 | }, 219 | productMain: { 220 | flexDirection:"row", 221 | justifyContent:"flex-start", 222 | borderBottomColor:"gray", 223 | borderBottomWidth:1, 224 | marginBottom:5 225 | 226 | 227 | }, 228 | text : { 229 | color:"black", 230 | fontFamily : "halfmoon_bold", 231 | fontSize: 15, 232 | fontWeight:"bold", 233 | overflow:"hidden", 234 | width:"90%", 235 | } 236 | }); 237 | 238 | 239 | 240 | const mapStateToProps = (state)=>{ 241 | return { 242 | products : state.products, 243 | itemsCount : state.itemsCount, 244 | } 245 | } 246 | const mapDispatchToProps = (dispatch)=>{ 247 | return { 248 | addToCart : (itemData)=>{ 249 | dispatch({ 250 | type : "ADD_TO_CART", 251 | item : itemData 252 | }); 253 | }, 254 | addToWishList : (itemData)=>{ 255 | dispatch({ 256 | type : "ADD_TO_WISH_LIST", 257 | item : itemData 258 | }); 259 | } 260 | } 261 | } 262 | export default connect(mapStateToProps,mapDispatchToProps)(CategoriesProductsScreen); 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // https://facebook.github.io/react-native/docs/performance#enable-the-ram-format 22 | * bundleCommand: "ram-bundle", 23 | * 24 | * // whether to bundle JS and assets in debug mode 25 | * bundleInDebug: false, 26 | * 27 | * // whether to bundle JS and assets in release mode 28 | * bundleInRelease: true, 29 | * 30 | * // whether to bundle JS and assets in another build variant (if configured). 31 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 32 | * // The configuration property can be in the following formats 33 | * // 'bundleIn${productFlavor}${buildType}' 34 | * // 'bundleIn${buildType}' 35 | * // bundleInFreeDebug: true, 36 | * // bundleInPaidRelease: true, 37 | * // bundleInBeta: true, 38 | * 39 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 40 | * // for example: to disable dev mode in the staging build type (if configured) 41 | * devDisabledInStaging: true, 42 | * // The configuration property can be in the following formats 43 | * // 'devDisabledIn${productFlavor}${buildType}' 44 | * // 'devDisabledIn${buildType}' 45 | * 46 | * // the root of your project, i.e. where "package.json" lives 47 | * root: "../../", 48 | * 49 | * // where to put the JS bundle asset in debug mode 50 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 51 | * 52 | * // where to put the JS bundle asset in release mode 53 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 54 | * 55 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 56 | * // require('./image.png')), in debug mode 57 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 58 | * 59 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 60 | * // require('./image.png')), in release mode 61 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 62 | * 63 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 64 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 65 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 66 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 67 | * // for example, you might want to remove it from here. 68 | * inputExcludes: ["android/**", "ios/**"], 69 | * 70 | * // override which node gets called and with what additional arguments 71 | * nodeExecutableAndArgs: ["node"], 72 | * 73 | * // supply additional arguments to the packager 74 | * extraPackagerArgs: [] 75 | * ] 76 | */ 77 | 78 | project.ext.react = [ 79 | entryFile: "index.js", 80 | enableHermes: false, // clean and rebuild if changing 81 | ] 82 | 83 | apply from: "../../node_modules/react-native/react.gradle" 84 | 85 | /** 86 | * Set this to true to create two separate APKs instead of one: 87 | * - An APK that only works on ARM devices 88 | * - An APK that only works on x86 devices 89 | * The advantage is the size of the APK is reduced by about 4MB. 90 | * Upload all the APKs to the Play Store and people will download 91 | * the correct one based on the CPU architecture of their device. 92 | */ 93 | def enableSeparateBuildPerCPUArchitecture = false 94 | 95 | /** 96 | * Run Proguard to shrink the Java bytecode in release builds. 97 | */ 98 | def enableProguardInReleaseBuilds = false 99 | 100 | /** 101 | * The preferred build flavor of JavaScriptCore. 102 | * 103 | * For example, to use the international variant, you can use: 104 | * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` 105 | * 106 | * The international variant includes ICU i18n library and necessary data 107 | * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that 108 | * give correct results when using with locales other than en-US. Note that 109 | * this variant is about 6MiB larger per architecture than default. 110 | */ 111 | def jscFlavor = 'org.webkit:android-jsc:+' 112 | 113 | /** 114 | * Whether to enable the Hermes VM. 115 | * 116 | * This should be set on project.ext.react and mirrored here. If it is not set 117 | * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode 118 | * and the benefits of using Hermes will therefore be sharply reduced. 119 | */ 120 | def enableHermes = project.ext.react.get("enableHermes", false); 121 | 122 | android { 123 | compileSdkVersion rootProject.ext.compileSdkVersion 124 | 125 | compileOptions { 126 | sourceCompatibility JavaVersion.VERSION_1_8 127 | targetCompatibility JavaVersion.VERSION_1_8 128 | } 129 | 130 | defaultConfig { 131 | applicationId "com.shoppingapp" 132 | minSdkVersion rootProject.ext.minSdkVersion 133 | targetSdkVersion rootProject.ext.targetSdkVersion 134 | versionCode 1 135 | versionName "1.0" 136 | } 137 | splits { 138 | abi { 139 | reset() 140 | enable enableSeparateBuildPerCPUArchitecture 141 | universalApk false // If true, also generate a universal APK 142 | include "armeabi-v7a", "x86", "arm64-v8a", "x86_64" 143 | } 144 | } 145 | signingConfigs { 146 | debug { 147 | storeFile file('debug.keystore') 148 | storePassword 'android' 149 | keyAlias 'androiddebugkey' 150 | keyPassword 'android' 151 | } 152 | } 153 | buildTypes { 154 | debug { 155 | signingConfig signingConfigs.debug 156 | } 157 | release { 158 | // Caution! In production, you need to generate your own keystore file. 159 | // see https://facebook.github.io/react-native/docs/signed-apk-android. 160 | signingConfig signingConfigs.debug 161 | minifyEnabled enableProguardInReleaseBuilds 162 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 163 | } 164 | } 165 | // applicationVariants are e.g. debug, release 166 | applicationVariants.all { variant -> 167 | variant.outputs.each { output -> 168 | // For each separate APK per architecture, set a unique version code as described here: 169 | // https://developer.android.com/studio/build/configure-apk-splits.html 170 | def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4] 171 | def abi = output.getFilter(OutputFile.ABI) 172 | if (abi != null) { // null for the universal-debug, universal-release variants 173 | output.versionCodeOverride = 174 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 175 | } 176 | 177 | } 178 | } 179 | } 180 | 181 | dependencies { 182 | implementation fileTree(dir: "libs", include: ["*.jar"]) 183 | implementation "com.facebook.react:react-native:+" // From node_modules 184 | implementation 'androidx.appcompat:appcompat:1.1.0-rc01' 185 | implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-alpha02' 186 | compile project(':react-native-vector-icons') 187 | 188 | if (enableHermes) { 189 | def hermesPath = "../../node_modules/hermes-engine/android/"; 190 | debugImplementation files(hermesPath + "hermes-debug.aar") 191 | releaseImplementation files(hermesPath + "hermes-release.aar") 192 | } else { 193 | implementation jscFlavor 194 | } 195 | } 196 | 197 | // Run this once to be able to run the application with BUCK 198 | // puts all compile dependencies into folder libs for BUCK to use 199 | task copyDownloadableDepsToLibs(type: Copy) { 200 | from configurations.compile 201 | into 'libs' 202 | } 203 | 204 | apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); 205 | applyNativeModulesAppBuildGradle(project) 206 | apply from: "../../node_modules/react-native-vector-icons/fonts.gradle" -------------------------------------------------------------------------------- /Screens/Data.js: -------------------------------------------------------------------------------- 1 | const ProductsList = [ 2 | {id : "2" , category: "T-Shirt", title : "Men's Short Sleeve T-Shirt", Description: "Item part number: L24GMWBS-$P ASIN: B07NQHQ5BD Date first available at Amazon.in: 13 February 2019 Average Customer Review: 3.6 out of 5 stars 75", Price :6.7 , rating : "3.5" , favourite : false, image :"https://ae01.alicdn.com/kf/HTB1ei_Ov9BYBeNjy0Feq6znmFXae/Men-s-Tops-Tees-2019-summer-new-cotton-v-neck-short-sleeve-t-shirt-men-fashion.jpg", }, 3 | {id : "211" , category: "T-Shirt", title : "Summer New V Neck Shirt", Description: "US $6.2 31% OFF|Men's Tops Tees 2019 summer new cotton v neck short sleeve t shirt men fashion trends fitnes…", Price :9.5 , rating : "3.4" , favourite : false, image :"https://5.imimg.com/data5/WL/IO/MY-3507052/stylish-v-neck-men-t-shirt-500x500.jpg", }, 4 | {id : "221" , category: "T-Shirt", title : "Short Sleeve Men's T-Shirt", Description: "UGDXL Men Mandarin Collar T-Shirt Basic Tshirt Male Short Sleeve Shirt Tops Tees Cotton T Shirt | Amazon.com", Price :8.5 , rating : "4.3" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/61xHYLxJY%2BL._UL1500_.jpg", }, 5 | {id : "243" , category: "T-Shirt", title : "Korean Fashion Men's T-Shirt", Description: "Blueberry - offering XXL Party Wear Korean Fashion Men's Pattern T-shirt at Rs 400/piece in Bhiwandi, Maharashtra. Get best price and read about company and get contact details and address....", Price :4.5 , rating : "4.1" , favourite : false, image :"https://5.imimg.com/data5/LY/AR/MY-40507433/korean-fashion-men-27s-pattern-t-shirt-500x500.jpg"}, 6 | {id : "2123" , category: "T-Shirt", title : "Nouveau Style Men's T-Shirt", Description: "Offre spéciale 2017 nouveau Style grande taille décontracté hommes T shirt mode T shirts d'été porter à manches long", Price :13.45 , rating : "4.6" , favourite : false, image :"https://www.dhresource.com/0x0s/f2-albu-g5-M01-CE-E7-rBVaI1mGU6yAFVISAAYboZFmkUI237.jpg/fashion-mens-slim-fit-long-sleeve-t-shirts.jpg", }, 7 | {id : "234" , category: "T-Shirt", title : "Mens Slim Fit Long Sleeve T Shirt", Description: "Fashion Mens Slim Fit Long Sleeve T Shirts Stylish Luxury Men V Neck Cotton T Shirt Tops Tee XZ 025 Funny T Shirt", Price :4.5 , rating : "4.1" , favourite : false, image :"https://5.imimg.com/data5/BH/RH/MY-22920466/mens-full-sleeves-t-shirts-500x500.jpg", }, 8 | {id : "2545" , category: "T-Shirt", title : "Just Do It! T-Shirt for Men", Description: "Theres not many slogans in the world more iconic than Nike's 'Just Do It'. And of course, such iconic and high-quality t-shirts are available at MOF. ...", Price :4.35 , rating : "4.2" , favourite : false, image :"http://www.wit20075880.eu/wp-content/uploads/2018/11/t-shirt.jpg", }, 9 | {id : "23455" , category: "T-Shirt", title : "Solid V Neck T-Shirt for Men", Description: "Item Type: Tops Tops Type: Tees Gender: Men Sale by Pack: No Pattern Type: Solid Sleeve Length(cm): Short Sleeve Style: Regular Style: Casual Brand ...", Price :12.21 , rating : "4.8" , favourite : false, image :"https://www.shoptruely.com/wp-content/uploads/2018/03/Hot-Sale-Fashion-Solid-V-Neck-Men-s-T-Shirt-2017-Summer-Short-Sleeve-Casual-T.jpg_640x640.jpg", }, 10 | {id : "1" , category: "Mobiles" , title : "Samsung Galaxy J6", Description: "smartphone runs on Android v8.0 (Oreo) operating system. The phone is powered by Octa core, 1.6 GHz, Cortex A53 processor. It runs on the Samsung ", Price :"344" , rating : "4.01" , favourite : false, image :"https://static.toiimg.com/thumb/msid-63393984,width-240,resizemode-4,imgv-5/Samsung-Galaxy-J6.jpg", }, 11 | {id : "121" , category: "Mobiles" , title : "Samsung Galaxy A60", Description: "Infinity-O Display, Rear-Mounted Fingerprint ScannerThe Samsung Galaxy A60 is position just between the Galaxy A50 and Galaxy A70. The A60 happens to", Price :"522" , rating : "4.2" , favourite : false, image :"https://assets.mspimages.in/c/tr:w-375,h-300,c-at_max/15591-61-1.jpg", }, 12 | {id : "111" , category: "Mobiles" , title : "Samsung Galaxy Note10+", Description: "El algoritmo del Galaxy Note10+ aprende de cómo trabajas y vives para optimizar su energía, para horas de funcionamiento con solo minutos de carga", Price :"442" , rating : "4.5" , favourite : false, image :"https://www02.cp-static.com/objects/multimedia/8/8b9/1351030963_1882577651_smartphones-samsung-galaxy-note-10-256gb-sm-n975fzsdphn.jpg", }, 13 | {id : "112" , category: "Mobiles" , title : "Samsung Galaxy J8 (32GB)", Description: "Dual SIM International model phone, Does NOT have US . Will work with Most GSM SIM cards in US and world Including AT&T, T-Mobile, Metrics, Etc. Will ...", Price :"422" , rating : "3.9" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/413bSbVIiWL._SY355_.jpg", }, 14 | {id : "114" , category: "Mobiles" , title : "Huawei Y7 Prime 2018", Description: "smartphone runs on Android v8.0 (Oreo) operating system. The phone is powered by Octa core, 1.4 GHz, Cortex A53 processor. It runs on the Qualcomm ", Price :"31" , rating : "4.7" , favourite : false, image :"https://static.toiimg.com/photo/63588000/Huawei-Y7-Prime-2018.jpg", }, 15 | {id : "115" , category: "Mobiles" , title : "Huawei Y9 2019", Description: "Huawei Y9 2019, Latest Mobile Phone in the industry with great performance ", Price :"546" , rating : "4.5" , favourite : false, image :"https://kandjietfreres.com/wp-content/uploads/2019/06/Huawei-Y9-2019-550.jpg", }, 16 | {id : "41" , category: "Watches", title : "Simple Dial Color Bright Pointer Quartz Watch", Description: "CRRJU 2258 Simple Dial Color Bright Pointer Day Display Fashion Men Quartz Watch", Price :"71.7" , rating : "4.1" , favourite : false, image :"https://imgaz2.staticbg.com/thumb/large/oaupload/banggood/images/2D/FA/eefdc08b-5d19-4d67-9088-d80a809d7853.jpg",}, 17 | {id : "411" , category: "Watches", title : "Luxus Herren Quarzuhr Watch", Description: "[US$14.99 42% OFF] CRRJU 2117 Luxus Herren Quarzuhr Mode Ultra dünne wasserdichte Armbanduhr Herrenuhren ", Price :"14.32" , rating : "3.9" , favourite : false, image :"https://imgaz1.staticbg.com/thumb/large/oaupload/banggood/images/F6/C3/ffe6ea21-5ea7-419b-bf4f-a49160aa3772.png",}, 18 | {id : "412" , category: "Watches", title : "Seiko Neo Sports Men's watch", Description: "Seiko Neo Sports Men's watches in Pakistan", Price :"43" , rating : "3.4" , favourite : false, image :"http://www.rafiqsonsonline.com/wp-content/uploads/2018/07/SEIKO-NEO-SPORTS-Mens-watches-in-Pakistan-1-600x600.jpg",}, 19 | {id : "414" , category: "Watches", title : "SSA383K1 Seiko Neo Sports", Description: "Reloj Seiko SSA383K1 Neo Sports cal. 4R37, catálogo con precios actualizados.", Price :"4.3" , rating : "132" , favourite : false, image :"https://www.laguardajoiers.com/media/catalog/product/cache/3/image/3c39554054c21533f2a8cc939c033642/s/s/ssa383k1.jpeg",}, 20 | {id : "413" , category: "Watches", title : "Fashion Mens Watches Stainless Steel", Description: "Band Length:235mm, Dial Diameter:40mm, Band Width:20mm, Case Thickness:8mm, Style: Fashion/Casual, Item Type: Wristwatches, Dial Window", Price :"3.1" , rating : "4.0" , favourite : false, image :"https://contestimg.wish.com/api/webimage/5d1b8e5e5e58a760acfcb34f-large.jpg?cache_buster=a5ea09bbe3de335b04ba9012a4516d12",}, 21 | {id : "51" , category: "Books", title : "Rich Dad Poor Dad", Description: "April 2017 marks 20 years since Robert Kiyosaki’s Rich Dad Poor Dad first made waves in the Personal Finance arena. It has since become the #1 Personal Finance book of all time... translated into dozens of languages and sold around the world.", Price :"5.39" , rating : "4.5" , favourite : true, image :"https://images-na.ssl-images-amazon.com/images/I/91VokXkn8hL.jpg",}, 22 | {id : "512" , category: "Books", title : "The Art of Start", Description: "A new product, a new service, a new company, a new division, a new organization, a new anything—where there’s a will, here’s the way.It begins with a dream that just won’t quit, the once-in-a-lifetime thunderbolt of pure inspiration, the obsession, the world-beater, the killer app, the next big thing", Price :"5.52" , rating : "4.3" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/81f9jlFQoxL.jpg",}, 23 | {id : "511" , category: "Books", title : "Business Adventures", Description: "“Business Adventures remains the best business book I’ve ever read.” —Bill Gates, The Wall Street Journal What do the $350 million Ford Motor Company disaster known as the Edsel, the fast and incredible rise of Xerox, and the unbelievable scandals at General Electric and Texas Gulf Sulphur have in common?", Price :"6.43" , rating : "4.4" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/91IMoV%2BG9iL.jpg",}, 24 | {id : "514" , category: "Books", title : "The Personal MBA", Description: "Are you tempted to go to business school? Save your money and read The Personal MBAinstead. This bestselling book gives you everything you to transform your business and your career. An MBA at a top business school is an enormous investment in time and cash", Price :"6.21" , rating : "4.9" , favourite : true, image :"https://images-na.ssl-images-amazon.com/images/I/810C3b5qifL.jpg",}, 25 | {id : "513" , category: "Books", title : "The Four 4 Hour Work Week", Description: "The 4-Hour Workweek. The 4-Hour Workweek: Escape 9–5, Live Anywhere, and Join the New Rich (2007) is a self-help book by Timothy Ferriss, an American writer, educational activist, and entrepreneur.", Price :"5.42" , rating : "4.7" , favourite : true, image :"https://images-na.ssl-images-amazon.com/images/I/51iGkLC6jhL._SX314_BO1,204,203,200_.jpg",}, 26 | {id : "515" , category: "Books", title : "The Hard Thing About Hard Things", Description: "Ben Horowitz, cofounder of Andreessen Horowitz and one of Silicon Valley's most respected and experienced entrepreneurs, offers essential advice on building and running a startup—practical wisdom for ...", Price :"5.22" , rating : "4.5" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/51slqM2g3jL._SX329_BO1,204,203,200_.jpg",}, 27 | {id : "518" , category: "Books", title : "Good to Great", Description: "Good to Great: Why Some Companies Make the Leap... and Others Don't is a management book by Jim C. Collins that describes how companies transition from being good companies to great companies, and how most companies fail to make the transition. The book was published on October 16, 2001.", Price :"4.55" , rating : "4.8" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/41yNUpi2QrL._SX303_BO1,204,203,200_.jpg",}, 28 | {id : "517" , category: "Books", title : "Zero to One", Description: "Zero to One: Notes on Startups, or How to Build the Future is a 2014 book by the American entrepreneur and investor Peter Thiel co-written with Blake Masters.", Price :"$4.11" , rating : "4.1" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/71uAI28kJuL.jpg",}, 29 | {id : "516" , category: "Books", title : "Hooked", Description: "Start by marking “Hooked: How to Build Habit-Forming Products” as Want to Read: ... What makes us engage with certain products out of sheer habit? ... Start your review of Hooked: How to Build Habit-Forming Products", Price :"6.44" , rating : "4.5" , favourite : true, image :"https://images-na.ssl-images-amazon.com/images/I/81L8JOVXJtL.jpg",}, 30 | {id : "519" , category: "Books", title : "Crush It", Description: "In Crush It!, online marketing trailblazer Gary Vaynerchuk tells business owners what they need to do to boost their sales using the internet—just as he has done to build his family’s wine store from a $4 million business to a $60 million one. ...", Price :"5.85" , rating : "4.2" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/51jTTziN3dL._SX328_BO1,204,203,200_.jpg",}, 31 | {id : "510" , category: "Books", title : "Bad Blood", Description: "Bad Blood: Secrets and Lies in a Silicon Valley Startup is a nonfiction book by journalist John Carreyrou, released May 21, 2018. It covers the rise and fall of the firm Theranos, the multibillion-dollar biotech startup headed by Elizabeth Holmes.", Price :"12.44" , rating : "4.2" , favourite : false, image :"https://images3.penguinrandomhouse.com/cover/9781524731656",}, 32 | {id : "81" , category: "Wallets", title : "Luxury Retro Men's Wallet", Description: "HIGH QUALITY & HANDMADE - Made with the finest PU leather that is great for casual and dress use. SAFETY & PRIVACY- Our wallets are equipped with ..", Price :"4.2" , rating : "4.3" , favourite : false, image :"https://pickawallet.com/wp-content/uploads/2016/11/fashion-men-wallets-famous-brand-genuine-leather-wallet-hasp-design-wallets-with-coin-pocket-purse-card.jpg",}, 33 | {id : "811" , category: "Wallets", title : "Men's Leather Wallet", Description: "De Cuero Genuino De Los Hombres Monedero,Cartera Hombre , Find Complete Details about De Cuero Genuino De Los Hombres Monedero,Cartera Hombre,Cartera", Price :"6.5" , rating : "4.0" , favourite : false, image :"https://sc02.alicdn.com/kf/HTB19P3aIFXXXXaOapXXq6xXFXXXb/Men-s-Genuine-Leather-Purse-Male-Wallet.jpg_350x350.jpg",}, 34 | {id : "812" , category: "Wallets", title : "Genuine Leather Men's Wallet", Description: "New Rfid Blocking Genuine Leather Men's Wallets Male Bifold Purse Wallet Cowhide Bifold Purse Card Holders-high Quality , Find Complete Details about", Price :"5.3" , rating : "4.1" , favourite : false, image :"https://sc02.alicdn.com/kf/HTB1fwIMSFXXXXaAXXXX760XFXXXT/New-RFID-BLOCKING-Genuine-Leather-Men-s.png_350x350.png",}, 35 | {id : "813" , category: "Wallets", title : "New Style Leather Men's Wallets", Description: "Item Type: Wallet, Material: Genuine Leather, Lining Material: Polyester, Closure Type: No Zipper, Pattern Type: Solid, Wallet Length: Short, Item ...", Price :"9.8" , rating : "4.3" , favourite : false, image :"https://www.sadoun.com/wp-content/uploads/2019/03/52362-0dd724e9709fad70643a5733df41a43a.jpeg",}, 36 | {id : "814" , category: "Wallets", title : "2018 Wallet Purses Slim Men's Wallet", Description: "2018 Wallet Purses Slim Men'S Wallets Carteira Masculine Billeteras Porte Monnaie Monedero Famous Brand Male M", Price :"6.2" , rating : "3.4" , favourite : false, image :"https://www.dhresource.com/0x0/f2/albu/g7/M00/8F/F3/rBVaSVpXLMWAJO9YAAH8awf86X4086.jpg",}, 37 | {id : "815" , category: "Wallets", title : "Genuine Leather Mens Front Pocket Wallet", Description: "Geeksmartbuy provides a majority of well-known products with low prices, worldwide including women's and men's clothing. and easy returns on women's .", Price :"5.2" , rating : "4.1" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/71rMkmHxHAL._UX679_.jpg",}, 38 | {id : "91" , category: "Laptops", title : "Dell Inspiron 15 3542 4th Gen Intel Core i5", Description: "Checkout the best price to buy Dell Inspiron 15 3542 4th Gen Intel Core i5 Laptop in India. Know full specification of Dell Inspiron 15 3542 4th Gen ..", Price :"233" , rating : "4.1" , favourite : false, image :"https://static.digit.in/product/thumb_24390_product_td_480x480.jpeg",}, 39 | {id : "912" , category: "Laptops", title : "Dell Inspiron Core i3 4th Gen 5558", Description: "This Dell Inspiron Notebook lets you work and play from anywhere in the world. It works on Intel Core i3 processor and has 4 GB RAM for a smooth ...", Price :"422" , rating : "4.5" , favourite : false, image :"",}, 40 | {id : "912" , category: "Laptops", title : "Dell Inspiron Core i3 4th Gen 5558", Description: "This Dell Inspiron Notebook lets you work and play from anywhere in the world. It works on Intel Core i3 processor and has 4 GB RAM for a smooth ...", Price :"422" , rating : "4.5" , favourite : false, image :"https://rukminim1.flixcart.com/image/832/832/computer/y/f/h/dell-inspiron-notebook-original-imae9ach4zmgrqfh.jpeg",}, 41 | {id : "911" , category: "Laptops", title : "Dell G3 3579 Gaming Laptop Core i7 8th", Description: "Dell G3 3579 Gaming Laptop Core i7 8th Generation 8GB RAM 1TB HDD + 128GB SSD 4GB NVIDIA GeForce GTX…", Price :"718" , rating : "4.0" , favourite : false, image :"http://www.mega.pk/items_images/t_18188.png",}, 42 | {id : "913" , category: "Laptops", title : "Dell G5 5587 (5000 Series) i7-8750H", Description: "Dell G5 5587 Core i7 8th Generation 8GB RAM 1TB HDD + 128GB SSD - 4GB Nvidia 1050Ti Graphics - 15.6 FHD Anti-Glare LED Backlit Display - Windows 10 -" ,Price :"418" , rating : "4.0" , favourite : false, image :"https://laptopmart.pk/wp-content/uploads/2019/02/Dell-G5-5587-Core-i7-8th-Gen-8750H-Processor-laptop-Price-in-Pakistan.jpg",}, 43 | {id : "914" , category: "Laptops", title : "HP Omen 17 an120nr 8th Gen Ci7 2019", Description: "HP Omen 17 an120nr Core i7 8th Generation (8750HQ) 2.2GHz Turbo Boost upto 4.1GHz (9MB Cache) - 16GB RAM 1TB HDD 128GB - 6GB Nvidia GTX 1060 - 17.3", Price :"678" , rating : "3.9" , favourite : false, image :"https://mrlaptop.pk/wp-content/uploads/2019/04/HP-Omen-15-an120nr-gaming-laptop-prices.jpg",}, 44 | {id : "100" , category: "Shoes", title : "Italian Fashion elegant oxford shoes", Description: "Luxury Brand Alligator Fashion Casual Men Shoes Genuine Leather Black,blue Slip-on Men Loafers Dress Flats for Driving Party Size", Price :"32" , rating : "3.9" , favourite : false, image :"https://image.dhgate.com/0x0/f2/albu/g9/M00/34/2F/rBVaVVx1GoSAS5SJAAGKMuAx2YY513.jpg",}, 45 | {id : "101" , category: "Shoes", title : "Imported mens Shoes", Description: "New Trend Shoes For mens, COD", Price :"54" , rating : "4.1" , favourite : false, image :"https://apollo-singapore.akamaized.net/v1/files/kvaovr9h3ktw-PK/image;s=850x0",}, 46 | {id : "102" , category: "Shoes", title : "Mens Casual Shoe Formal Oxfords", Description: "Mens Casual Shoe Formal Oxfords Mens Shoes Casual Mens Dress Shoes' Lace-up Crocodile Leather Oxford Sho", Price :"88" , rating : "3.3" , favourite : false, image :"https://ae01.alicdn.com/kf/HTB1RZ82XjzuK1RjSspeq6ziHVXaH/Mens-Casual-Shoe-Formal-Oxfords-Mens-Shoes-Casual-Mens-Dress-Shoes-Lace-up-Crocodile-Leather-Oxford.jpg",}, 47 | {id : "103" , category: "Shoes", title : "2018 Men Crocodile Shoes", Description: "2018 Men Crocodile Shoes Mens Dress Shoes Genuine Leather Business Prom Shoes Red Wedding Loafers Cha", Price :"65" , rating : "3.9" , favourite : false, image :"https://www.dhresource.com/0x0s/f2-albu-g7-M01-85-F9-rBVaSVsaKvuAJJttAACIXskrz4s948.jpg/2018-men-crocodile-shoes-mens-dress-shoes.jpg",}, 48 | {id : "104" , category: "Shoes", title : "Ivan Troy Blue Classy Handmade Italian", Description: "Mens embossed dress shoes leather oxfords, handsome full gain embossed cowhide leather, feature classic lace up and plain-toe styling that rises to any occasion, you can choose leather oxford...", Price :"54" , rating : "4.4" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/81KKsdsh-KL._UL1500_.jpg",}, 49 | {id : "200" , category: "Books", title : "The Subtle Art of Not Giving a F*ck", Description: "The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life is the second book by blogger and author Mark Manson. In it Manson argues that life's struggles give it meaning, and that the mindless positivity of typical self-help books is neither practical nor helpful. It was a bestseller.", Price :"$5.43" , rating : "4.7" , favourite : true, image :"https://images-na.ssl-images-amazon.com/images/I/71QKQ9mwV7L.jpg",}, 50 | {id : "201" , category: "Books", title : "Ego is The Enemy", Description: "Ego Is the Enemy is the fourth book by author Ryan Holiday, published on June 14, 2016. It is about the treacherous nature of ego.", Price :"$3.22" , rating : "4.3" , favourite : true, image :"https://images-na.ssl-images-amazon.com/images/I/81izoHQypIL.jpg",}, 51 | {id : "202" , category: "Books", title : "The Power of Habit", Description: "The Power of Habit: Why We Do What We Do in Life and Business is a book by Charles Duhigg, a New York Times reporter, published in February 2012 by Random House. It explores the science behind habit creation and reformation. The book reached the best seller list for The New York Times, Amazon.com, and USA Today.", Price :"5.66" , rating : "4.5" , favourite : true, image :"https://images-na.ssl-images-amazon.com/images/I/819ZixpQzUL.jpg",}, 52 | {id : "203" , category: "Books", title : "The One Thing", Description: "The ONE Thing: The Surprisingly Simple Truth Behind Extraordinary Results is a non-fiction, self-help book written by authors and real estate entrepreneurs, Gary W. Keller and Jay Papasan. The book discusses the value of simplifying one's workload by focusing on the one most important task in any given project.", Price :"$12.44" , rating : "4.5" , favourite : true, image :"https://blog.kevineikenberry.com/wp-content/uploads/2016/02/one-thing.png",}, 53 | {id : "204" , category: "Books", title : "The 7 Habits of Highly Effective People", Description: "The 7 Habits of Highly Effective People, first published in 1989, is a business and self-help book written by Stephen Covey.", Price :"6.74" , rating : "4.6" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/817xk9KvJbL.jpg",}, 54 | {id : "205" , category: "Books", title : "The Compound Effect", Description: "The New York Times and Wall Street Journal bestseller, based on the principle that little, everyday decisions will either take you to the life you desire or to disaster by default. No gimmicks. No Hyperbole. No Magic Bullet. ...", Price :"4.22" , rating : "4.6" , favourite : true, image :"https://images-na.ssl-images-amazon.com/images/I/51wvsKFGafL.jpg",}, 55 | {id : "206" , category: "Books", title : "Eat That Frog", Description: "Amazon Hot New Release The legendary Eat That Frog! (more than 1.5 million copies sold worldwide and translated into 42 languages) will change your life. Stop Procrastinating, Get More of the Important Things Done—Today! There just isn't enough time for everything on our to-do list—and there never will be.", Price :"12.44" , rating : "4.4" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/71kF-So4n6L.jpg",}, 56 | {id : "207" , category: "Books", title : "The Magic of Thinking Big", Description: "The Magic of Thinking Big, first published in 1959, is a self-help book by David J. Schwartz. An abridged version was published in 1987. Forbes called it one of the greatest self-help books.", Price :"5.63" , rating : "4.3" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/719ovgJafDL.jpg",}, 57 | {id : "208" , category: "Books", title : "The Mircale Morning", Description: "Hal Elrod is a genius and his book The Miracle Morning has been magical in my life. What Hal has done is taken the 'best practices'-developed over centuries of human consciousness development-and condensed the 'best of the best; into a daily morning ritual. A ritual that is now part of my day.", Price :"6.43" , rating : "4.1" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/514wTdhRvuL.jpg",}, 58 | {id : "209" , category: "Books", title : "Think And Grow Rich", Description: "Think and Grow Rich was written by Napoleon Hill in 1937 and promoted as a personal development and self-improvement book. He claimed to be inspired by a suggestion from business magnate and later-philanthropist Andrew Carnegie.", Price :"4.22" , rating : "4.2" , favourite : false, image :"https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1388177008l/1005.jpg",}, 59 | {id : "2021" , category: "Books", title : "Smarter Faster Better", Description: "From the bestselling author of The Power of Habit comes a fascinating new book exploring the science of productivity, and why, in today's world, managing how you think--rather than what you think about--can transform your life. ..", Price :"5.43" , rating : "4.1" , favourite : true, image :"https://images-na.ssl-images-amazon.com/images/I/81X-8QDCOIL.jpg",}, 60 | {id : "2222" , category: "Books", title : "The Lean Startup", Description: "The Lean Startup: How Today's Entrepreneurs Use Continuous Innovation to Create Radically Successful Businesses is a book by Eric Ries describing his proposed lean startup strategy for startup companies", Price :"$4.33" , rating : "4.2" , favourite : true, image :"https://images-na.ssl-images-amazon.com/images/I/81-QB7nDh4L.jpg",}, 61 | {id : "2221" , category: "Books", title : "The Startup Way", Description: "Entrepreneur and bestselling author of The Lean Startup, Eric Ries reveals how entrepreneurial principles can be used by businesses of all kinds, ranging from established companies to early-stage ...", Price :"12.44" , rating : "4.5" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/81mXQdi5x%2BL.jpg",}, 62 | {id : "2223" , category: "Books", title : "The Millionaire Fastlane", Description: "THE MILLIONAIRE FASTLANE: NOW AN INTERNATIONAL BEST-SELLER! ** TRANSLATED IN OVER 15 LANGUAGES WORLDWIDE! ** UPDATED AND REFRESHED FOR THE BITCOIN / CRYPTO ERA!Is the financial plan of mediocrity -- a dream-stealing, soul-sucking dogma known as The Slowlane your plan for creating wealth? ...", Price :"5.22" , rating : "4.6" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/71u4ODEBPLL.jpg",}, 63 | {id : "2224" , category: "Books", title : "Profit First", Description: "Author of cult classics The Pumpkin Plan and The Toilet Paper Entrepreneur offers a simple, counterintuitive cash management solution that will help small businesses break out of the doom spiral and ...", Price :"3.21" , rating : "4.1" , favourite : false, image :"https://images-na.ssl-images-amazon.com/images/I/91kK4O7wYuL.jpg",}, 64 | {id : "22542" , category: "Jewelry", title : "EleShow Love Heart Pendant Necklaces", Description: "Amazon.com: EleShow Love Heart Pendant Necklaces Latest Design ", Price :"$4.33" , rating : "4.2" , favourite : true, image :"https://images-na.ssl-images-amazon.com/images/I/61k8PenuSnL._SY395._SX._UX._SY._UY_.jpg",}, 65 | {id : "22321" , category: "Jewelry", title : "Chopard Luxury Jewelry", Description: "Chopard Luxury Jewelry : Diamond and Gold Jewelry | US ...", Price :"12.44" , rating : "4.5" , favourite : false, image :"https://objects.chopard.com/media/catalog/category/Jewellery_M_pf.jpg",}, 66 | {id : "2542" , category: "Jewelry", title : "EleShow Love Heart Pendant Necklaces", Description: "Amazon.com: EleShow Love Heart Pendant Necklaces Latest Design ", Price :"$4.33" , rating : "4.2" , favourite : true, image :"https://images-na.ssl-images-amazon.com/images/I/61k8PenuSnL._SY395._SX._UX._SY._UY_.jpg",}, 67 | {id : "2231" , category: "Jewelry", title : "Chopard Luxury Jewelry", Description: "Chopard Luxury Jewelry : Diamond and Gold Jewelry | US ...", Price :"12.44" , rating : "4.5" , favourite : false, image :"https://objects.chopard.com/media/catalog/category/Jewellery_M_pf.jpg",}, 68 | {id : "225421" , category: "Jewelry", title : "EleShow Love Heart Pendant Necklaces", Description: "Amazon.com: EleShow Love Heart Pendant Necklaces Latest Design ", Price :"$4.33" , rating : "4.2" , favourite : true, image :"https://images-na.ssl-images-amazon.com/images/I/61k8PenuSnL._SY395._SX._UX._SY._UY_.jpg",}, 69 | {id : "223212" , category: "Jewelry", title : "Chopard Luxury Jewelry", Description: "Chopard Luxury Jewelry : Diamond and Gold Jewelry | US ...", Price :"12.44" , rating : "4.5" , favourite : false, image :"https://objects.chopard.com/media/catalog/category/Jewellery_M_pf.jpg",}, 70 | 71 | ] 72 | 73 | 74 | export default ProductsList; -------------------------------------------------------------------------------- /ios/ShoppingApp.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | /* Begin PBXBuildFile section */ 9 | 00E356F31AD99517003FC87E /* ShoppingAppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ShoppingAppTests.m */; }; 10 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 11 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 12 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 13 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 14 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 15 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 16 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 17 | 2DCD954D1E0B4F2C00145EB5 /* ShoppingAppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ShoppingAppTests.m */; }; 18 | 3FF7F07D37734687A8866498 /* halfmoon_bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 905A6078254047D9B79A3492 /* halfmoon_bold.ttf */; }; 19 | 3C0EC66498AC480EB224F920 /* halfmoon_regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 9FBF74ADCC0D4275ADE553B4 /* halfmoon_regular.ttf */; }; 20 | ED5F14E8A4814CA0A9BA562F /* HalloEuroboy.ttf in Resources */ = {isa = PBXBuildFile; fileRef = FA61F610EB2C48D48759091C /* HalloEuroboy.ttf */; }; 21 | 1A59D58ED6B945D3BAD0D47C /* Hamster.otf in Resources */ = {isa = PBXBuildFile; fileRef = E6783757632046D8969A2E08 /* Hamster.otf */; }; 22 | AC5732BD8ABE49FA89E63DF4 /* HANDA.otf in Resources */ = {isa = PBXBuildFile; fileRef = 3291EC27772E4074855D72E8 /* HANDA.otf */; }; 23 | 94473544DE2E492F8A2931E5 /* Happy Bomb.otf in Resources */ = {isa = PBXBuildFile; fileRef = C14CF00EFF80480FBE6C3189 /* Happy Bomb.otf */; }; 24 | 52D49F3B092B4F79AC2A6956 /* Happy Bomb.ttf in Resources */ = {isa = PBXBuildFile; fileRef = CB894355C86C4EA5A224839B /* Happy Bomb.ttf */; }; 25 | F1F60CF1393C4CFE8F07A948 /* Happy_Bomb_Italic.otf in Resources */ = {isa = PBXBuildFile; fileRef = 20C7FDE8CF5842E3B1B70112 /* Happy_Bomb_Italic.otf */; }; 26 | AFAC96102BCE49DD8A50F62B /* Happy_Bomb_Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 743F34E9318D4777830B9BB1 /* Happy_Bomb_Italic.ttf */; }; 27 | B3A1A9B332884EE89668AEF3 /* m20.TTF in Resources */ = {isa = PBXBuildFile; fileRef = 264DD540F19C4209973368EF /* m20.TTF */; }; 28 | FB075A66C34E4BB4B61D8509 /* Machala_Sans.otf in Resources */ = {isa = PBXBuildFile; fileRef = 06B677E705194658AC244D21 /* Machala_Sans.otf */; }; 29 | 89EE3CA043564CD381041FD6 /* Samuel.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 2DC966D0AD6A43BDA3B77750 /* Samuel.ttf */; }; 30 | 258B23519AC748DE92DD7571 /* AntDesign.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 28034AF5F5C04376861F3745 /* AntDesign.ttf */; }; 31 | 0D4476ED4E1E450B85DA908B /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F435B35909C5415CB478D377 /* Entypo.ttf */; }; 32 | 0A5A3209DFF04E4DB2F5EF70 /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B2499675D632443C93E2FCB9 /* EvilIcons.ttf */; }; 33 | 70F572BEFB104EEE84452C70 /* Feather.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B979B9D0075F40D0AE71FE57 /* Feather.ttf */; }; 34 | AA21948495C343528427530A /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = CD9CE17CC0BB4D7291F39F7E /* FontAwesome.ttf */; }; 35 | 6F44158E97C348819B3F0C78 /* FontAwesome5_Brands.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 614A63007CC24D448FF57E14 /* FontAwesome5_Brands.ttf */; }; 36 | 6A056749B7404D07AC464A59 /* FontAwesome5_Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = FAF9B34143A54D94A07220A7 /* FontAwesome5_Regular.ttf */; }; 37 | A017DD5FE4654C3F848C21F5 /* FontAwesome5_Solid.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C12C730FBF54444B87BCB1BF /* FontAwesome5_Solid.ttf */; }; 38 | F631ECBCCC9F4DD19168B76D /* Fontisto.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 77CEACAB62D14752A26213EB /* Fontisto.ttf */; }; 39 | 4A04A2F2AAB0474F9634D6D6 /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = AC5CA0FAD9474B079B7D2254 /* Foundation.ttf */; }; 40 | 76C21BA558A64DA39236DA66 /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = CB1109C5AF4449A59314AC32 /* Ionicons.ttf */; }; 41 | 932E9D4E2D5E449C9DDF13B2 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 306A3F9BDB444F7E92ED9EC1 /* MaterialCommunityIcons.ttf */; }; 42 | 8A558ED668C64B5F9DD309E6 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A81CD10575004EE18C38C10C /* MaterialIcons.ttf */; }; 43 | C9075B741FF7486F85528C71 /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = ABCCB8D3A62D4A45B74DD174 /* Octicons.ttf */; }; 44 | 4FBF807493AE4A7C97581CD7 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F44DF4120CAD49D9A15E18A7 /* SimpleLineIcons.ttf */; }; 45 | 13A95F8D16DD4AEC80B30CC1 /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A9EE32300AD646FD8FE35A08 /* Zocial.ttf */; }; 46 | /* End PBXBuildFile section */ 47 | 48 | /* Begin PBXContainerItemProxy section */ 49 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 50 | isa = PBXContainerItemProxy; 51 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 52 | proxyType = 1; 53 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 54 | remoteInfo = ShoppingApp; 55 | }; 56 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 57 | isa = PBXContainerItemProxy; 58 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 59 | proxyType = 1; 60 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 61 | remoteInfo = "ShoppingApp-tvOS"; 62 | }; 63 | /* End PBXContainerItemProxy section */ 64 | 65 | /* Begin PBXFileReference section */ 66 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 67 | 00E356EE1AD99517003FC87E /* ShoppingAppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ShoppingAppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 68 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 69 | 00E356F21AD99517003FC87E /* ShoppingAppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ShoppingAppTests.m; sourceTree = ""; }; 70 | 13B07F961A680F5B00A75B9A /* ShoppingApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ShoppingApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; 71 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ShoppingApp/AppDelegate.h; sourceTree = ""; }; 72 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = ShoppingApp/AppDelegate.m; sourceTree = ""; }; 73 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 74 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ShoppingApp/Images.xcassets; sourceTree = ""; }; 75 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ShoppingApp/Info.plist; sourceTree = ""; }; 76 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ShoppingApp/main.m; sourceTree = ""; }; 77 | 2D02E47B1E0B4A5D006451C7 /* ShoppingApp-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ShoppingApp-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 78 | 2D02E4901E0B4A5D006451C7 /* ShoppingApp-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "ShoppingApp-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 79 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 80 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; 81 | 905A6078254047D9B79A3492 /* halfmoon_bold.ttf */ = {isa = PBXFileReference; name = "halfmoon_bold.ttf"; path = "../assets/fonts/halfmoon_bold.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 82 | 9FBF74ADCC0D4275ADE553B4 /* halfmoon_regular.ttf */ = {isa = PBXFileReference; name = "halfmoon_regular.ttf"; path = "../assets/fonts/halfmoon_regular.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 83 | FA61F610EB2C48D48759091C /* HalloEuroboy.ttf */ = {isa = PBXFileReference; name = "HalloEuroboy.ttf"; path = "../assets/fonts/HalloEuroboy.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 84 | E6783757632046D8969A2E08 /* Hamster.otf */ = {isa = PBXFileReference; name = "Hamster.otf"; path = "../assets/fonts/Hamster.otf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 85 | 3291EC27772E4074855D72E8 /* HANDA.otf */ = {isa = PBXFileReference; name = "HANDA.otf"; path = "../assets/fonts/HANDA.otf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 86 | C14CF00EFF80480FBE6C3189 /* Happy Bomb.otf */ = {isa = PBXFileReference; name = "Happy Bomb.otf"; path = "../assets/fonts/Happy Bomb.otf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 87 | CB894355C86C4EA5A224839B /* Happy Bomb.ttf */ = {isa = PBXFileReference; name = "Happy Bomb.ttf"; path = "../assets/fonts/Happy Bomb.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 88 | 20C7FDE8CF5842E3B1B70112 /* Happy_Bomb_Italic.otf */ = {isa = PBXFileReference; name = "Happy_Bomb_Italic.otf"; path = "../assets/fonts/Happy_Bomb_Italic.otf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 89 | 743F34E9318D4777830B9BB1 /* Happy_Bomb_Italic.ttf */ = {isa = PBXFileReference; name = "Happy_Bomb_Italic.ttf"; path = "../assets/fonts/Happy_Bomb_Italic.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 90 | 264DD540F19C4209973368EF /* m20.TTF */ = {isa = PBXFileReference; name = "m20.TTF"; path = "../assets/fonts/m20.TTF"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 91 | 06B677E705194658AC244D21 /* Machala_Sans.otf */ = {isa = PBXFileReference; name = "Machala_Sans.otf"; path = "../assets/fonts/Machala_Sans.otf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 92 | 2DC966D0AD6A43BDA3B77750 /* Samuel.ttf */ = {isa = PBXFileReference; name = "Samuel.ttf"; path = "../assets/fonts/Samuel.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 93 | 28034AF5F5C04376861F3745 /* AntDesign.ttf */ = {isa = PBXFileReference; name = "AntDesign.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 94 | F435B35909C5415CB478D377 /* Entypo.ttf */ = {isa = PBXFileReference; name = "Entypo.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 95 | B2499675D632443C93E2FCB9 /* EvilIcons.ttf */ = {isa = PBXFileReference; name = "EvilIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 96 | B979B9D0075F40D0AE71FE57 /* Feather.ttf */ = {isa = PBXFileReference; name = "Feather.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Feather.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 97 | CD9CE17CC0BB4D7291F39F7E /* FontAwesome.ttf */ = {isa = PBXFileReference; name = "FontAwesome.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 98 | 614A63007CC24D448FF57E14 /* FontAwesome5_Brands.ttf */ = {isa = PBXFileReference; name = "FontAwesome5_Brands.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 99 | FAF9B34143A54D94A07220A7 /* FontAwesome5_Regular.ttf */ = {isa = PBXFileReference; name = "FontAwesome5_Regular.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 100 | C12C730FBF54444B87BCB1BF /* FontAwesome5_Solid.ttf */ = {isa = PBXFileReference; name = "FontAwesome5_Solid.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 101 | 77CEACAB62D14752A26213EB /* Fontisto.ttf */ = {isa = PBXFileReference; name = "Fontisto.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 102 | AC5CA0FAD9474B079B7D2254 /* Foundation.ttf */ = {isa = PBXFileReference; name = "Foundation.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 103 | CB1109C5AF4449A59314AC32 /* Ionicons.ttf */ = {isa = PBXFileReference; name = "Ionicons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 104 | 306A3F9BDB444F7E92ED9EC1 /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; name = "MaterialCommunityIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 105 | A81CD10575004EE18C38C10C /* MaterialIcons.ttf */ = {isa = PBXFileReference; name = "MaterialIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 106 | ABCCB8D3A62D4A45B74DD174 /* Octicons.ttf */ = {isa = PBXFileReference; name = "Octicons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 107 | F44DF4120CAD49D9A15E18A7 /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; name = "SimpleLineIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 108 | A9EE32300AD646FD8FE35A08 /* Zocial.ttf */ = {isa = PBXFileReference; name = "Zocial.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 109 | /* End PBXFileReference section */ 110 | 111 | /* Begin PBXFrameworksBuildPhase section */ 112 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 113 | isa = PBXFrameworksBuildPhase; 114 | buildActionMask = 2147483647; 115 | files = ( 116 | ); 117 | runOnlyForDeploymentPostprocessing = 0; 118 | }; 119 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 120 | isa = PBXFrameworksBuildPhase; 121 | buildActionMask = 2147483647; 122 | files = ( 123 | ); 124 | runOnlyForDeploymentPostprocessing = 0; 125 | }; 126 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 127 | isa = PBXFrameworksBuildPhase; 128 | buildActionMask = 2147483647; 129 | files = ( 130 | ); 131 | runOnlyForDeploymentPostprocessing = 0; 132 | }; 133 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 134 | isa = PBXFrameworksBuildPhase; 135 | buildActionMask = 2147483647; 136 | files = ( 137 | ); 138 | runOnlyForDeploymentPostprocessing = 0; 139 | }; 140 | /* End PBXFrameworksBuildPhase section */ 141 | 142 | /* Begin PBXGroup section */ 143 | 00E356EF1AD99517003FC87E /* ShoppingAppTests */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 00E356F21AD99517003FC87E /* ShoppingAppTests.m */, 147 | 00E356F01AD99517003FC87E /* Supporting Files */, 148 | ); 149 | path = ShoppingAppTests; 150 | sourceTree = ""; 151 | }; 152 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | 00E356F11AD99517003FC87E /* Info.plist */, 156 | ); 157 | name = "Supporting Files"; 158 | sourceTree = ""; 159 | }; 160 | 13B07FAE1A68108700A75B9A /* ShoppingApp */ = { 161 | isa = PBXGroup; 162 | children = ( 163 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 164 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 165 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 166 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 167 | 13B07FB61A68108700A75B9A /* Info.plist */, 168 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 169 | 13B07FB71A68108700A75B9A /* main.m */, 170 | ); 171 | name = ShoppingApp; 172 | sourceTree = ""; 173 | }; 174 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 175 | isa = PBXGroup; 176 | children = ( 177 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 178 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */, 179 | ); 180 | name = Frameworks; 181 | sourceTree = ""; 182 | }; 183 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 184 | isa = PBXGroup; 185 | children = ( 186 | ); 187 | name = Libraries; 188 | sourceTree = ""; 189 | }; 190 | 83CBB9F61A601CBA00E9B192 = { 191 | isa = PBXGroup; 192 | children = ( 193 | 13B07FAE1A68108700A75B9A /* ShoppingApp */, 194 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 195 | 00E356EF1AD99517003FC87E /* ShoppingAppTests */, 196 | 83CBBA001A601CBA00E9B192 /* Products */, 197 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 198 | 7E9027C984EA4A488CA7CA13 /* Resources */, 199 | ); 200 | indentWidth = 2; 201 | sourceTree = ""; 202 | tabWidth = 2; 203 | usesTabs = 0; 204 | }; 205 | 83CBBA001A601CBA00E9B192 /* Products */ = { 206 | isa = PBXGroup; 207 | children = ( 208 | 13B07F961A680F5B00A75B9A /* ShoppingApp.app */, 209 | 00E356EE1AD99517003FC87E /* ShoppingAppTests.xctest */, 210 | 2D02E47B1E0B4A5D006451C7 /* ShoppingApp-tvOS.app */, 211 | 2D02E4901E0B4A5D006451C7 /* ShoppingApp-tvOSTests.xctest */, 212 | ); 213 | name = Products; 214 | sourceTree = ""; 215 | }; 216 | 7E9027C984EA4A488CA7CA13 /* Resources */ = { 217 | isa = "PBXGroup"; 218 | children = ( 219 | 905A6078254047D9B79A3492 /* halfmoon_bold.ttf */, 220 | 9FBF74ADCC0D4275ADE553B4 /* halfmoon_regular.ttf */, 221 | FA61F610EB2C48D48759091C /* HalloEuroboy.ttf */, 222 | E6783757632046D8969A2E08 /* Hamster.otf */, 223 | 3291EC27772E4074855D72E8 /* HANDA.otf */, 224 | C14CF00EFF80480FBE6C3189 /* Happy Bomb.otf */, 225 | CB894355C86C4EA5A224839B /* Happy Bomb.ttf */, 226 | 20C7FDE8CF5842E3B1B70112 /* Happy_Bomb_Italic.otf */, 227 | 743F34E9318D4777830B9BB1 /* Happy_Bomb_Italic.ttf */, 228 | 264DD540F19C4209973368EF /* m20.TTF */, 229 | 06B677E705194658AC244D21 /* Machala_Sans.otf */, 230 | 2DC966D0AD6A43BDA3B77750 /* Samuel.ttf */, 231 | 28034AF5F5C04376861F3745 /* AntDesign.ttf */, 232 | F435B35909C5415CB478D377 /* Entypo.ttf */, 233 | B2499675D632443C93E2FCB9 /* EvilIcons.ttf */, 234 | B979B9D0075F40D0AE71FE57 /* Feather.ttf */, 235 | CD9CE17CC0BB4D7291F39F7E /* FontAwesome.ttf */, 236 | 614A63007CC24D448FF57E14 /* FontAwesome5_Brands.ttf */, 237 | FAF9B34143A54D94A07220A7 /* FontAwesome5_Regular.ttf */, 238 | C12C730FBF54444B87BCB1BF /* FontAwesome5_Solid.ttf */, 239 | 77CEACAB62D14752A26213EB /* Fontisto.ttf */, 240 | AC5CA0FAD9474B079B7D2254 /* Foundation.ttf */, 241 | CB1109C5AF4449A59314AC32 /* Ionicons.ttf */, 242 | 306A3F9BDB444F7E92ED9EC1 /* MaterialCommunityIcons.ttf */, 243 | A81CD10575004EE18C38C10C /* MaterialIcons.ttf */, 244 | ABCCB8D3A62D4A45B74DD174 /* Octicons.ttf */, 245 | F44DF4120CAD49D9A15E18A7 /* SimpleLineIcons.ttf */, 246 | A9EE32300AD646FD8FE35A08 /* Zocial.ttf */, 247 | ); 248 | name = Resources; 249 | sourceTree = ""; 250 | path = ""; 251 | }; 252 | /* End PBXGroup section */ 253 | 254 | /* Begin PBXNativeTarget section */ 255 | 00E356ED1AD99517003FC87E /* ShoppingAppTests */ = { 256 | isa = PBXNativeTarget; 257 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ShoppingAppTests" */; 258 | buildPhases = ( 259 | 00E356EA1AD99517003FC87E /* Sources */, 260 | 00E356EB1AD99517003FC87E /* Frameworks */, 261 | 00E356EC1AD99517003FC87E /* Resources */, 262 | ); 263 | buildRules = ( 264 | ); 265 | dependencies = ( 266 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 267 | ); 268 | name = ShoppingAppTests; 269 | productName = ShoppingAppTests; 270 | productReference = 00E356EE1AD99517003FC87E /* ShoppingAppTests.xctest */; 271 | productType = "com.apple.product-type.bundle.unit-test"; 272 | }; 273 | 13B07F861A680F5B00A75B9A /* ShoppingApp */ = { 274 | isa = PBXNativeTarget; 275 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ShoppingApp" */; 276 | buildPhases = ( 277 | FD10A7F022414F080027D42C /* Start Packager */, 278 | 13B07F871A680F5B00A75B9A /* Sources */, 279 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 280 | 13B07F8E1A680F5B00A75B9A /* Resources */, 281 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 282 | ); 283 | buildRules = ( 284 | ); 285 | dependencies = ( 286 | ); 287 | name = ShoppingApp; 288 | productName = "ShoppingApp"; 289 | productReference = 13B07F961A680F5B00A75B9A /* ShoppingApp.app */; 290 | productType = "com.apple.product-type.application"; 291 | }; 292 | 2D02E47A1E0B4A5D006451C7 /* ShoppingApp-tvOS */ = { 293 | isa = PBXNativeTarget; 294 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ShoppingApp-tvOS" */; 295 | buildPhases = ( 296 | FD10A7F122414F3F0027D42C /* Start Packager */, 297 | 2D02E4771E0B4A5D006451C7 /* Sources */, 298 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 299 | 2D02E4791E0B4A5D006451C7 /* Resources */, 300 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 301 | ); 302 | buildRules = ( 303 | ); 304 | dependencies = ( 305 | ); 306 | name = "ShoppingApp-tvOS"; 307 | productName = "ShoppingApp-tvOS"; 308 | productReference = 2D02E47B1E0B4A5D006451C7 /* ShoppingApp-tvOS.app */; 309 | productType = "com.apple.product-type.application"; 310 | }; 311 | 2D02E48F1E0B4A5D006451C7 /* ShoppingApp-tvOSTests */ = { 312 | isa = PBXNativeTarget; 313 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ShoppingApp-tvOSTests" */; 314 | buildPhases = ( 315 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 316 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 317 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 318 | ); 319 | buildRules = ( 320 | ); 321 | dependencies = ( 322 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 323 | ); 324 | name = "ShoppingApp-tvOSTests"; 325 | productName = "ShoppingApp-tvOSTests"; 326 | productReference = 2D02E4901E0B4A5D006451C7 /* ShoppingApp-tvOSTests.xctest */; 327 | productType = "com.apple.product-type.bundle.unit-test"; 328 | }; 329 | /* End PBXNativeTarget section */ 330 | 331 | /* Begin PBXProject section */ 332 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 333 | isa = PBXProject; 334 | attributes = { 335 | LastUpgradeCheck = 940; 336 | ORGANIZATIONNAME = Facebook; 337 | TargetAttributes = { 338 | 00E356ED1AD99517003FC87E = { 339 | CreatedOnToolsVersion = 6.2; 340 | TestTargetID = 13B07F861A680F5B00A75B9A; 341 | }; 342 | 2D02E47A1E0B4A5D006451C7 = { 343 | CreatedOnToolsVersion = 8.2.1; 344 | ProvisioningStyle = Automatic; 345 | }; 346 | 2D02E48F1E0B4A5D006451C7 = { 347 | CreatedOnToolsVersion = 8.2.1; 348 | ProvisioningStyle = Automatic; 349 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 350 | }; 351 | }; 352 | }; 353 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ShoppingApp" */; 354 | compatibilityVersion = "Xcode 3.2"; 355 | developmentRegion = English; 356 | hasScannedForEncodings = 0; 357 | knownRegions = ( 358 | en, 359 | Base, 360 | ); 361 | mainGroup = 83CBB9F61A601CBA00E9B192; 362 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 363 | projectDirPath = ""; 364 | projectRoot = ""; 365 | targets = ( 366 | 13B07F861A680F5B00A75B9A /* ShoppingApp */, 367 | 00E356ED1AD99517003FC87E /* ShoppingAppTests */, 368 | 2D02E47A1E0B4A5D006451C7 /* ShoppingApp-tvOS */, 369 | 2D02E48F1E0B4A5D006451C7 /* ShoppingApp-tvOSTests */, 370 | ); 371 | }; 372 | /* End PBXProject section */ 373 | 374 | /* Begin PBXResourcesBuildPhase section */ 375 | 00E356EC1AD99517003FC87E /* Resources */ = { 376 | isa = PBXResourcesBuildPhase; 377 | buildActionMask = 2147483647; 378 | files = ( 379 | ); 380 | runOnlyForDeploymentPostprocessing = 0; 381 | }; 382 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 383 | isa = PBXResourcesBuildPhase; 384 | buildActionMask = 2147483647; 385 | files = ( 386 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 387 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 388 | 3FF7F07D37734687A8866498 /* halfmoon_bold.ttf in Resources */, 389 | 3C0EC66498AC480EB224F920 /* halfmoon_regular.ttf in Resources */, 390 | ED5F14E8A4814CA0A9BA562F /* HalloEuroboy.ttf in Resources */, 391 | 1A59D58ED6B945D3BAD0D47C /* Hamster.otf in Resources */, 392 | AC5732BD8ABE49FA89E63DF4 /* HANDA.otf in Resources */, 393 | 94473544DE2E492F8A2931E5 /* Happy Bomb.otf in Resources */, 394 | 52D49F3B092B4F79AC2A6956 /* Happy Bomb.ttf in Resources */, 395 | F1F60CF1393C4CFE8F07A948 /* Happy_Bomb_Italic.otf in Resources */, 396 | AFAC96102BCE49DD8A50F62B /* Happy_Bomb_Italic.ttf in Resources */, 397 | B3A1A9B332884EE89668AEF3 /* m20.TTF in Resources */, 398 | FB075A66C34E4BB4B61D8509 /* Machala_Sans.otf in Resources */, 399 | 89EE3CA043564CD381041FD6 /* Samuel.ttf in Resources */, 400 | 258B23519AC748DE92DD7571 /* AntDesign.ttf in Resources */, 401 | 0D4476ED4E1E450B85DA908B /* Entypo.ttf in Resources */, 402 | 0A5A3209DFF04E4DB2F5EF70 /* EvilIcons.ttf in Resources */, 403 | 70F572BEFB104EEE84452C70 /* Feather.ttf in Resources */, 404 | AA21948495C343528427530A /* FontAwesome.ttf in Resources */, 405 | 6F44158E97C348819B3F0C78 /* FontAwesome5_Brands.ttf in Resources */, 406 | 6A056749B7404D07AC464A59 /* FontAwesome5_Regular.ttf in Resources */, 407 | A017DD5FE4654C3F848C21F5 /* FontAwesome5_Solid.ttf in Resources */, 408 | F631ECBCCC9F4DD19168B76D /* Fontisto.ttf in Resources */, 409 | 4A04A2F2AAB0474F9634D6D6 /* Foundation.ttf in Resources */, 410 | 76C21BA558A64DA39236DA66 /* Ionicons.ttf in Resources */, 411 | 932E9D4E2D5E449C9DDF13B2 /* MaterialCommunityIcons.ttf in Resources */, 412 | 8A558ED668C64B5F9DD309E6 /* MaterialIcons.ttf in Resources */, 413 | C9075B741FF7486F85528C71 /* Octicons.ttf in Resources */, 414 | 4FBF807493AE4A7C97581CD7 /* SimpleLineIcons.ttf in Resources */, 415 | 13A95F8D16DD4AEC80B30CC1 /* Zocial.ttf in Resources */, 416 | ); 417 | runOnlyForDeploymentPostprocessing = 0; 418 | }; 419 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 420 | isa = PBXResourcesBuildPhase; 421 | buildActionMask = 2147483647; 422 | files = ( 423 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 424 | ); 425 | runOnlyForDeploymentPostprocessing = 0; 426 | }; 427 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 428 | isa = PBXResourcesBuildPhase; 429 | buildActionMask = 2147483647; 430 | files = ( 431 | ); 432 | runOnlyForDeploymentPostprocessing = 0; 433 | }; 434 | /* End PBXResourcesBuildPhase section */ 435 | 436 | /* Begin PBXShellScriptBuildPhase section */ 437 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 438 | isa = PBXShellScriptBuildPhase; 439 | buildActionMask = 2147483647; 440 | files = ( 441 | ); 442 | inputPaths = ( 443 | ); 444 | name = "Bundle React Native code and images"; 445 | outputPaths = ( 446 | ); 447 | runOnlyForDeploymentPostprocessing = 0; 448 | shellPath = /bin/sh; 449 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 450 | }; 451 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 452 | isa = PBXShellScriptBuildPhase; 453 | buildActionMask = 2147483647; 454 | files = ( 455 | ); 456 | inputPaths = ( 457 | ); 458 | name = "Bundle React Native Code And Images"; 459 | outputPaths = ( 460 | ); 461 | runOnlyForDeploymentPostprocessing = 0; 462 | shellPath = /bin/sh; 463 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 464 | }; 465 | FD10A7F022414F080027D42C /* Start Packager */ = { 466 | isa = PBXShellScriptBuildPhase; 467 | buildActionMask = 2147483647; 468 | files = ( 469 | ); 470 | inputFileListPaths = ( 471 | ); 472 | inputPaths = ( 473 | ); 474 | name = "Start Packager"; 475 | outputFileListPaths = ( 476 | ); 477 | outputPaths = ( 478 | ); 479 | runOnlyForDeploymentPostprocessing = 0; 480 | shellPath = /bin/sh; 481 | shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n"; 482 | showEnvVarsInLog = 0; 483 | }; 484 | FD10A7F122414F3F0027D42C /* Start Packager */ = { 485 | isa = PBXShellScriptBuildPhase; 486 | buildActionMask = 2147483647; 487 | files = ( 488 | ); 489 | inputFileListPaths = ( 490 | ); 491 | inputPaths = ( 492 | ); 493 | name = "Start Packager"; 494 | outputFileListPaths = ( 495 | ); 496 | outputPaths = ( 497 | ); 498 | runOnlyForDeploymentPostprocessing = 0; 499 | shellPath = /bin/sh; 500 | shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n"; 501 | showEnvVarsInLog = 0; 502 | }; 503 | /* End PBXShellScriptBuildPhase section */ 504 | 505 | /* Begin PBXSourcesBuildPhase section */ 506 | 00E356EA1AD99517003FC87E /* Sources */ = { 507 | isa = PBXSourcesBuildPhase; 508 | buildActionMask = 2147483647; 509 | files = ( 510 | 00E356F31AD99517003FC87E /* ShoppingAppTests.m in Sources */, 511 | ); 512 | runOnlyForDeploymentPostprocessing = 0; 513 | }; 514 | 13B07F871A680F5B00A75B9A /* Sources */ = { 515 | isa = PBXSourcesBuildPhase; 516 | buildActionMask = 2147483647; 517 | files = ( 518 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 519 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 520 | ); 521 | runOnlyForDeploymentPostprocessing = 0; 522 | }; 523 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 524 | isa = PBXSourcesBuildPhase; 525 | buildActionMask = 2147483647; 526 | files = ( 527 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 528 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 529 | ); 530 | runOnlyForDeploymentPostprocessing = 0; 531 | }; 532 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 533 | isa = PBXSourcesBuildPhase; 534 | buildActionMask = 2147483647; 535 | files = ( 536 | 2DCD954D1E0B4F2C00145EB5 /* ShoppingAppTests.m in Sources */, 537 | ); 538 | runOnlyForDeploymentPostprocessing = 0; 539 | }; 540 | /* End PBXSourcesBuildPhase section */ 541 | 542 | /* Begin PBXTargetDependency section */ 543 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 544 | isa = PBXTargetDependency; 545 | target = 13B07F861A680F5B00A75B9A /* ShoppingApp */; 546 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 547 | }; 548 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 549 | isa = PBXTargetDependency; 550 | target = 2D02E47A1E0B4A5D006451C7 /* ShoppingApp-tvOS */; 551 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 552 | }; 553 | /* End PBXTargetDependency section */ 554 | 555 | /* Begin PBXVariantGroup section */ 556 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 557 | isa = PBXVariantGroup; 558 | children = ( 559 | 13B07FB21A68108700A75B9A /* Base */, 560 | ); 561 | name = LaunchScreen.xib; 562 | path = ShoppingApp; 563 | sourceTree = ""; 564 | }; 565 | /* End PBXVariantGroup section */ 566 | 567 | /* Begin XCBuildConfiguration section */ 568 | 00E356F61AD99517003FC87E /* Debug */ = { 569 | isa = XCBuildConfiguration; 570 | buildSettings = { 571 | BUNDLE_LOADER = "$(TEST_HOST)"; 572 | GCC_PREPROCESSOR_DEFINITIONS = ( 573 | "DEBUG=1", 574 | "$(inherited)", 575 | ); 576 | INFOPLIST_FILE = ShoppingAppTests/Info.plist; 577 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 578 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 579 | OTHER_LDFLAGS = ( 580 | "-ObjC", 581 | "-lc++", 582 | "$(inherited)", 583 | ); 584 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 585 | PRODUCT_NAME = "$(TARGET_NAME)"; 586 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ShoppingApp.app/ShoppingApp"; 587 | }; 588 | name = Debug; 589 | }; 590 | 00E356F71AD99517003FC87E /* Release */ = { 591 | isa = XCBuildConfiguration; 592 | buildSettings = { 593 | BUNDLE_LOADER = "$(TEST_HOST)"; 594 | COPY_PHASE_STRIP = NO; 595 | INFOPLIST_FILE = ShoppingAppTests/Info.plist; 596 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 597 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 598 | OTHER_LDFLAGS = ( 599 | "-ObjC", 600 | "-lc++", 601 | "$(inherited)", 602 | ); 603 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 604 | PRODUCT_NAME = "$(TARGET_NAME)"; 605 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ShoppingApp.app/ShoppingApp"; 606 | }; 607 | name = Release; 608 | }; 609 | 13B07F941A680F5B00A75B9A /* Debug */ = { 610 | isa = XCBuildConfiguration; 611 | buildSettings = { 612 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 613 | CURRENT_PROJECT_VERSION = 1; 614 | DEAD_CODE_STRIPPING = NO; 615 | INFOPLIST_FILE = ShoppingApp/Info.plist; 616 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 617 | OTHER_LDFLAGS = ( 618 | "$(inherited)", 619 | "-ObjC", 620 | "-lc++", 621 | ); 622 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 623 | PRODUCT_NAME = ShoppingApp; 624 | VERSIONING_SYSTEM = "apple-generic"; 625 | }; 626 | name = Debug; 627 | }; 628 | 13B07F951A680F5B00A75B9A /* Release */ = { 629 | isa = XCBuildConfiguration; 630 | buildSettings = { 631 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 632 | CURRENT_PROJECT_VERSION = 1; 633 | INFOPLIST_FILE = ShoppingApp/Info.plist; 634 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 635 | OTHER_LDFLAGS = ( 636 | "$(inherited)", 637 | "-ObjC", 638 | "-lc++", 639 | ); 640 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 641 | PRODUCT_NAME = ShoppingApp; 642 | VERSIONING_SYSTEM = "apple-generic"; 643 | }; 644 | name = Release; 645 | }; 646 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 647 | isa = XCBuildConfiguration; 648 | buildSettings = { 649 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 650 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 651 | CLANG_ANALYZER_NONNULL = YES; 652 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 653 | CLANG_WARN_INFINITE_RECURSION = YES; 654 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 655 | DEBUG_INFORMATION_FORMAT = dwarf; 656 | ENABLE_TESTABILITY = YES; 657 | GCC_NO_COMMON_BLOCKS = YES; 658 | INFOPLIST_FILE = "ShoppingApp-tvOS/Info.plist"; 659 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 660 | OTHER_LDFLAGS = ( 661 | "$(inherited)", 662 | "-ObjC", 663 | "-lc++", 664 | ); 665 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ShoppingApp-tvOS"; 666 | PRODUCT_NAME = "$(TARGET_NAME)"; 667 | SDKROOT = appletvos; 668 | TARGETED_DEVICE_FAMILY = 3; 669 | TVOS_DEPLOYMENT_TARGET = 9.2; 670 | }; 671 | name = Debug; 672 | }; 673 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 674 | isa = XCBuildConfiguration; 675 | buildSettings = { 676 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 677 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 678 | CLANG_ANALYZER_NONNULL = YES; 679 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 680 | CLANG_WARN_INFINITE_RECURSION = YES; 681 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 682 | COPY_PHASE_STRIP = NO; 683 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 684 | GCC_NO_COMMON_BLOCKS = YES; 685 | INFOPLIST_FILE = "ShoppingApp-tvOS/Info.plist"; 686 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 687 | OTHER_LDFLAGS = ( 688 | "$(inherited)", 689 | "-ObjC", 690 | "-lc++", 691 | ); 692 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ShoppingApp-tvOS"; 693 | PRODUCT_NAME = "$(TARGET_NAME)"; 694 | SDKROOT = appletvos; 695 | TARGETED_DEVICE_FAMILY = 3; 696 | TVOS_DEPLOYMENT_TARGET = 9.2; 697 | }; 698 | name = Release; 699 | }; 700 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 701 | isa = XCBuildConfiguration; 702 | buildSettings = { 703 | BUNDLE_LOADER = "$(TEST_HOST)"; 704 | CLANG_ANALYZER_NONNULL = YES; 705 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 706 | CLANG_WARN_INFINITE_RECURSION = YES; 707 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 708 | DEBUG_INFORMATION_FORMAT = dwarf; 709 | ENABLE_TESTABILITY = YES; 710 | GCC_NO_COMMON_BLOCKS = YES; 711 | INFOPLIST_FILE = "ShoppingApp-tvOSTests/Info.plist"; 712 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 713 | OTHER_LDFLAGS = ( 714 | "$(inherited)", 715 | "-ObjC", 716 | "-lc++", 717 | ); 718 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ShoppingApp-tvOSTests"; 719 | PRODUCT_NAME = "$(TARGET_NAME)"; 720 | SDKROOT = appletvos; 721 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ShoppingApp-tvOS.app/ShoppingApp-tvOS"; 722 | TVOS_DEPLOYMENT_TARGET = 10.1; 723 | }; 724 | name = Debug; 725 | }; 726 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 727 | isa = XCBuildConfiguration; 728 | buildSettings = { 729 | BUNDLE_LOADER = "$(TEST_HOST)"; 730 | CLANG_ANALYZER_NONNULL = YES; 731 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 732 | CLANG_WARN_INFINITE_RECURSION = YES; 733 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 734 | COPY_PHASE_STRIP = NO; 735 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 736 | GCC_NO_COMMON_BLOCKS = YES; 737 | INFOPLIST_FILE = "ShoppingApp-tvOSTests/Info.plist"; 738 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 739 | OTHER_LDFLAGS = ( 740 | "$(inherited)", 741 | "-ObjC", 742 | "-lc++", 743 | ); 744 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ShoppingApp-tvOSTests"; 745 | PRODUCT_NAME = "$(TARGET_NAME)"; 746 | SDKROOT = appletvos; 747 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ShoppingApp-tvOS.app/ShoppingApp-tvOS"; 748 | TVOS_DEPLOYMENT_TARGET = 10.1; 749 | }; 750 | name = Release; 751 | }; 752 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 753 | isa = XCBuildConfiguration; 754 | buildSettings = { 755 | ALWAYS_SEARCH_USER_PATHS = NO; 756 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 757 | CLANG_CXX_LIBRARY = "libc++"; 758 | CLANG_ENABLE_MODULES = YES; 759 | CLANG_ENABLE_OBJC_ARC = YES; 760 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 761 | CLANG_WARN_BOOL_CONVERSION = YES; 762 | CLANG_WARN_COMMA = YES; 763 | CLANG_WARN_CONSTANT_CONVERSION = YES; 764 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 765 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 766 | CLANG_WARN_EMPTY_BODY = YES; 767 | CLANG_WARN_ENUM_CONVERSION = YES; 768 | CLANG_WARN_INFINITE_RECURSION = YES; 769 | CLANG_WARN_INT_CONVERSION = YES; 770 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 771 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 772 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 773 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 774 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 775 | CLANG_WARN_STRICT_PROTOTYPES = YES; 776 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 777 | CLANG_WARN_UNREACHABLE_CODE = YES; 778 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 779 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 780 | COPY_PHASE_STRIP = NO; 781 | ENABLE_STRICT_OBJC_MSGSEND = YES; 782 | ENABLE_TESTABILITY = YES; 783 | GCC_C_LANGUAGE_STANDARD = gnu99; 784 | GCC_DYNAMIC_NO_PIC = NO; 785 | GCC_NO_COMMON_BLOCKS = YES; 786 | GCC_OPTIMIZATION_LEVEL = 0; 787 | GCC_PREPROCESSOR_DEFINITIONS = ( 788 | "DEBUG=1", 789 | "$(inherited)", 790 | ); 791 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 792 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 793 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 794 | GCC_WARN_UNDECLARED_SELECTOR = YES; 795 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 796 | GCC_WARN_UNUSED_FUNCTION = YES; 797 | GCC_WARN_UNUSED_VARIABLE = YES; 798 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 799 | MTL_ENABLE_DEBUG_INFO = YES; 800 | ONLY_ACTIVE_ARCH = YES; 801 | SDKROOT = iphoneos; 802 | }; 803 | name = Debug; 804 | }; 805 | 83CBBA211A601CBA00E9B192 /* Release */ = { 806 | isa = XCBuildConfiguration; 807 | buildSettings = { 808 | ALWAYS_SEARCH_USER_PATHS = NO; 809 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 810 | CLANG_CXX_LIBRARY = "libc++"; 811 | CLANG_ENABLE_MODULES = YES; 812 | CLANG_ENABLE_OBJC_ARC = YES; 813 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 814 | CLANG_WARN_BOOL_CONVERSION = YES; 815 | CLANG_WARN_COMMA = YES; 816 | CLANG_WARN_CONSTANT_CONVERSION = YES; 817 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 818 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 819 | CLANG_WARN_EMPTY_BODY = YES; 820 | CLANG_WARN_ENUM_CONVERSION = YES; 821 | CLANG_WARN_INFINITE_RECURSION = YES; 822 | CLANG_WARN_INT_CONVERSION = YES; 823 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 824 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 825 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 826 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 827 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 828 | CLANG_WARN_STRICT_PROTOTYPES = YES; 829 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 830 | CLANG_WARN_UNREACHABLE_CODE = YES; 831 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 832 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 833 | COPY_PHASE_STRIP = YES; 834 | ENABLE_NS_ASSERTIONS = NO; 835 | ENABLE_STRICT_OBJC_MSGSEND = YES; 836 | GCC_C_LANGUAGE_STANDARD = gnu99; 837 | GCC_NO_COMMON_BLOCKS = YES; 838 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 839 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 840 | GCC_WARN_UNDECLARED_SELECTOR = YES; 841 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 842 | GCC_WARN_UNUSED_FUNCTION = YES; 843 | GCC_WARN_UNUSED_VARIABLE = YES; 844 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 845 | MTL_ENABLE_DEBUG_INFO = NO; 846 | SDKROOT = iphoneos; 847 | VALIDATE_PRODUCT = YES; 848 | }; 849 | name = Release; 850 | }; 851 | /* End XCBuildConfiguration section */ 852 | 853 | /* Begin XCConfigurationList section */ 854 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ShoppingAppTests" */ = { 855 | isa = XCConfigurationList; 856 | buildConfigurations = ( 857 | 00E356F61AD99517003FC87E /* Debug */, 858 | 00E356F71AD99517003FC87E /* Release */, 859 | ); 860 | defaultConfigurationIsVisible = 0; 861 | defaultConfigurationName = Release; 862 | }; 863 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ShoppingApp" */ = { 864 | isa = XCConfigurationList; 865 | buildConfigurations = ( 866 | 13B07F941A680F5B00A75B9A /* Debug */, 867 | 13B07F951A680F5B00A75B9A /* Release */, 868 | ); 869 | defaultConfigurationIsVisible = 0; 870 | defaultConfigurationName = Release; 871 | }; 872 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ShoppingApp-tvOS" */ = { 873 | isa = XCConfigurationList; 874 | buildConfigurations = ( 875 | 2D02E4971E0B4A5E006451C7 /* Debug */, 876 | 2D02E4981E0B4A5E006451C7 /* Release */, 877 | ); 878 | defaultConfigurationIsVisible = 0; 879 | defaultConfigurationName = Release; 880 | }; 881 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ShoppingApp-tvOSTests" */ = { 882 | isa = XCConfigurationList; 883 | buildConfigurations = ( 884 | 2D02E4991E0B4A5E006451C7 /* Debug */, 885 | 2D02E49A1E0B4A5E006451C7 /* Release */, 886 | ); 887 | defaultConfigurationIsVisible = 0; 888 | defaultConfigurationName = Release; 889 | }; 890 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ShoppingApp" */ = { 891 | isa = XCConfigurationList; 892 | buildConfigurations = ( 893 | 83CBBA201A601CBA00E9B192 /* Debug */, 894 | 83CBBA211A601CBA00E9B192 /* Release */, 895 | ); 896 | defaultConfigurationIsVisible = 0; 897 | defaultConfigurationName = Release; 898 | }; 899 | /* End XCConfigurationList section */ 900 | }; 901 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 902 | } 903 | --------------------------------------------------------------------------------