rafaeltakiyama / react-native-zxing Goto Github PK
View Code? Open in Web Editor NEWZxing library for React Native Android
License: MIT License
Zxing library for React Native Android
License: MIT License
Hello author, I want to change the width and height of the scan view. How should I do it?
Thank~
The app crashes when i call this function.
openScanner is ok
"react-native-zxing": "^1.0.11"
"react": "16.8.3",
"react-native": "0.59.5",
Environment
"react": "16.8.3",
"react-native": "0.59.8",
"react-native-zxing": "^1.0.11",
After installing the library, the packager spits out this error:
UnhandledPromiseRejectionWarning: Error: jest-haste-map: Haste module naming collision:
Duplicate module name: react-native
Paths: /Users/fnadeau/work/NexeraX/node_modules/react-native/package.json collides with /Users/fnadeau/work/NexeraX/node_modules/react-native-zxing/node_modules/react-native/package.json
Hello, when I try to install this package and compile for android, I get this strange error.
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:preDebugBuild'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
> Could not resolve project :react-native-zxing.
Required by:
project :app
> Unable to find a matching configuration of project :react-native-zxing: None of the consumable configurations have attributes.
I double checked to make sure that I followed every fix-step possible, such as downgrading the gradle version and yes, I have the missingDimensionStrategy "react-native-camera", "general"
.
How can I fix this? I am using gradle v4.10.1 (previously used 7.1.1) and react-native-zxing version 1.0.11.
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.