Comments (10)
Well, I'm already publishing lots of dev versions 😆
I recomend the 1.0.0-dev.a5265f
which I'm using in my app. You can add it to your package.json
:
{
//...
"@zxing/ngx-scanner": "^1.0.0-dev.a5265f",
// ...
}
Or install via yarn/npm: npm i @zxing/[email protected] --save
You can also play with the latest version at: https://stackblitz.com/edit/zxing-ngx-scanner
Cheers.
from ngx-scanner.
Code works with zxing-online
from ngx-scanner.
That exact code works with latest develop (see attached file).
I took your code and added a quiet-zone which increases readability. Do you have the chance to influence the generation of the codes?
from ngx-scanner.
"ngx-zxing": "^0.3.4" ,
I had generated again the qr code again in 4x mode, but still its not reading.
what is the latest version of ngx-zxing
? @werthdavid how to upgrade to new development version using npm?
from ngx-scanner.
I retested it with the Plunkr from the README (uses 0.3.4) on my iPhone. Worked there as well. I realized there is a small grey border around your code in the first comment, maybe this causes problems.
0.3.4 is the most recent version at the moment but we're about to release 1.0.0 soon!
@odahcam what you think about publishing a dev-version to npm?
from ngx-scanner.
@praveenrengarajan does the issue still exist with 1.0.0-dev?
from ngx-scanner.
This is a problem with your environment, try to install:
npm install --global --production windows-build-tools
...and try again.
from ngx-scanner.
@odahcam yep, that was the proxy issue, it didn't allow me to install sharp. cleared it.
Cannot read property 'camerasFound' of undefined
import { NgxZxingComponent } from '@zxing/ngx-scanner'; in component
and in module import { NgxZxingModule } from 'ngx-zxing';
component OnInit getting error, default camera getting activated for milliseconds and closed.
from ngx-scanner.
You should import from '@zxing/ngx-scanner'
after the update.
I'm closing the issue because the main topic was already clarified.
from ngx-scanner.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from ngx-scanner.
Related Issues (20)
- noposter error again! HOT 2
- Need to touch the screen to see the camera
- have multiple webcam still get Cameras not found.
- Poor sharpness on iPhone Pro HOT 1
- Property '"autofocusEnabled"' is incompatible with index signature. HOT 2
- Cannot Scan code 93 and Codabar barcodes. No errors in the console as well
- cannot scan UPC_E barcodes
- Cannot read properties of undefined (reading stop)
- [Firefox-android] Permission issue HOT 1
- Please support Angular 17 HOT 1
- Cordova Android app
- Area of intreset feature
- Windows 11, camera shows screen stream instead
- Error reading QR code in Chrome
- when you open a scanner multiple times the CPU usage gets to 100% HOT 3
- Dependency bug
- Add Support for willReadFrequently to Optimize Canvas Readback Performance HOT 2
- ZxingScannerComponent is not releasing all resources - BrowserCodeReader still trying to decode after ngDestroy HOT 3
- ZxingScannerComponen.init method called twice when enable flag is set to true (leak once again) HOT 8
- iPadOS black screen after installation to homescreen, works on safari HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-scanner.