atef-najar / react-native-shop-ui Goto Github PK
View Code? Open in Web Editor NEWA react native clothes shopping app UI.
License: GNU General Public License v3.0
A react native clothes shopping app UI.
License: GNU General Public License v3.0
MacBook-Pro:react-native-shop-ui varun$ react-native run-android
JS server already running.
Building and installing the app on the device (cd android && ./gradlew installDebug)...
Configure project :app
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-maps
WARNING: The specified Android SDK Build Tools version (25.0.3) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.2.
Android SDK Build Tools 27.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '25.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
D8: Program type already present: android.support.v4.app.BackStackState
FAILURE: Build failed with an exception.
com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/69.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/70.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/77.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/78.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/79.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/80.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/103.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/104.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/105.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/106.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/107.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/108.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/109.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/110.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/111.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/112.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/113.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/114.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/115.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/116.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/117.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/118.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/119.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/120.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/121.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/122.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/123.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/124.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/125.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/126.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/127.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/128.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/129.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/130.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/131.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/132.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/133.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/134.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/135.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/136.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/137.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/138.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/141.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/142.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/143.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/144.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/145.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/146.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/147.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/148.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/149.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/150.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/151.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/152.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/153.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/154.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/155.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/156.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/157.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/158.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/159.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/160.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/161.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/162.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/163.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/164.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/165.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/166.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/167.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/168.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/169.jar, /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/android/app/build/intermediates/transforms/dexBuilder/debug/170.jar
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 10s
36 actionable tasks: 1 executed, 35 up-to-date
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
The error info is as follows:
ERROR Error watching file for changes: EMFILE
{"code":"EMFILE","errno":"EMFILE","syscall":"Error watching file for changes:","filename":null}
Error: Error watching file for changes: EMFILE
at exports._errnoException (util.js:1022:11)
at FSEvent.FSWatcher._handle.onchange (fs.js:1282:11)
Hi, I notice when you rotate the device, the app leave a white background on one side of the device for ony a split second, not a huge issue but a little annoying . how can we resolve this from happening ?
I have successful installed the shop without error *BUILD SUCCESSFUL", but when tried to run, the several errors appearing:
Any indication for solving the errors?
Hi. great UI however I find it to be pretty slow when choosing a category.
react-native run-ios
** BUILD FAILED **
The following commands produced analyzer issues:
Analyze Base/RCTModuleMethod.mm normal x86_64
(1 command with analyzer issues)
The following build commands failed:
CompileC /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/ios/build/Build/Intermediates.noindex/AirMaps.build/Debug-iphonesimulator/AirMaps.build/Objects-normal/x86_64/AIRGoogleMapPolygonManager.o AirGoogleMaps/AIRGoogleMapPolygonManager.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/Shop.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/Shop.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
xcode-select version 2349.
Make GPL to MIT License
did an NPM install but having problems with a bundling error.
bundling failed: Error: Unable to resolve module AccessibilityInfo
.
watchman was not installed. gradlew was cleaned. did some research and it could be due to RN version. no changes were done at the moment. any thoughts?
anyone encountered a similar error or have knowledge on how to solve it?
When trying to build this, I get an error for imports to GoogleMaps.h. It appears to be part of react-native-maps or AirMaps or something. Do I need to do something on my system to make this library available? Apologies, I am not a RN expert :-)
Hi there, could you please give me the code that would hide the navbar. i know i can remove it, but i would like the code that would hide it depending on different scenarios. So could you please provide me with the code to do so
Hi!, thanks for your job.
I tried use your project and I get this error.
web Starting Webpack on port 19006 in development mode.
ERROR
11:21
web Failed to compile.
/home/damian/Documents/work/react-native-shop-ui/node_modules/expo/build/launch/registerRootComponent.web.js
SyntaxError: /home/damian/Documents/work/react-native-shop-ui/node_modules/expo/build/launch/registerRootComponent.web.js: Unexpected token (6:35)
4 | export default function registerRootComponent(component) {
5 | const App = withExpoRoot(component);
6 | const RootComponent = props => <App exp={{}} {...props}/>;
| ^
7 | AppRegistry.registerComponent('main', () => RootComponent);
8 | const rootTag = document.getElementById('root') || document.getElementById('main');
9 | AppRegistry.runApplication('main', { rootTag });
INFO
11:21
Compiling...
ERROR
11:21
web Failed to compile.
/home/damian/Documents/work/react-native-shop-ui/node_modules/expo/build/launch/registerRootComponent.web.js
SyntaxError: /home/damian/Documents/work/react-native-shop-ui/node_modules/expo/build/launch/registerRootComponent.web.js: Unexpected token (6:35)
4 | export default function registerRootComponent(component) {
5 | const App = withExpoRoot(component);
6 | const RootComponent = props => <App exp={{}} {...props}/>;
| ^
7 | AppRegistry.registerComponent('main', () => RootComponent);
8 | const rootTag = document.getElementById('root') || document.getElementById('main');
9 | AppRegistry.runApplication('main', { rootTag });
Debian 10 Buster
I try to run react native project and it show error:
yarn start
npx react-native run-android
Scanning folders for symlinks in /home/Apps/ui/node_modules (23ms)
JS server already running.
Building and installing the app on the device (cd android && ./gradlew installDebug)...
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '11.0.6'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
How to fix it?
i was wonder how to write the server fetching in componentDidMount i keep getting the same products from 1 category please help with that potion if you can and the server script to filter
Error log in > Running Metro Bundler
Log:
schedule/tracking
from /Volumes/Backup/codes/react_code/vk_rj/react-native-shop-ui/node_modules/react-native/Libraries/Renderer/oss/ReactNativeRenderer-dev.js
: Module schedule/tracking
does not exist in the Haste module mapThis might be related to facebook/react-native#4968
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
Shell: 5.3 - /bin/zsh
Binaries:
Node: v10.3.0
npm: 6.1.0
Watchman: 4.9.4 - /usr/local/bin/watchman
npmPackages:
react: 16.4.1 => 16.4.1
react-native: ^0.57.0 => 0.57.0
npmGlobalPackages:
react-native-cli: 2.0.1
SDKs:
iOS SDK: Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
IDEs: Android Studio: 3.1 AI-173.4907809
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
To resolve this i tryed the following but no success same issue:
watchman watch-del-all
.node_modules
folder: rm -rf node_modules && npm install
.rm -rf /tmp/metro-bundler-cache-*
or npm start -- --reset-cache
.rm -rf /tmp/haste-map-react-native-packager-*
.A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.