iCommRN
TODO
- Update product details from product list reducer
- Keep the order of date when a product was added into cart
- Add badge on tabBar
Improvements & Warnings
- Filter products by category
- Infinite scroll on product list
- Refresh product list
- Resize product image using the param query string imwidth
- TabBar icon change tint when the tab is active
- The first product's [image](image http://cdn-img.prettylittlething.com/9/0/a/a/90aa90903a135ee59594f47c7685aa7ef3046e44_cly8063_1.jpg?imwidth=1024) has http instead of https on iOS. For that Info.plis was modified and there was added cdn-img.prettylittlething.com in App Transport Security Settings > Exception Domains
- Warning: EventEmitter.removeListener('change', ...): Method has been deprecated is an warning from react-native-flash-message
How to install
-
Install packages
- Install node modules:
npm install
- Install iOS pods:
cd ios && pod install
- Install node modules:
-
React Native start server
npx react-native start --reset-cache
-
Open the project in Xcode / Android studio
- iOS: open iCommRN.xcworkspace
- Android: open
/android
platform
-
Run
Dependencies
1. React Redux
Library: react-redux
2. Aync-Storage
3. Moment JS
Library: moment-js
4. React Native Elements
Library: react-native-elements
5. Redux thunk
Library: redux-thunk
6. Redux logger
Library: redux-logger
7. Redux persist
Library: redux-persist
8. React Native Navigation
Library: react-native-navigation
9. React Native Flash Message
Library: react-native-flash-message
10. Axios
Library: axios
11. Overlay Spinner
Library: react-native-loading-spinner-overlay
12. Fit Image
Library: react-native-fit-image
13. Vector Icons
Library: react-native-vector-icons