Code Monkey home page Code Monkey logo

Comments (10)

odahcam avatar odahcam commented on August 10, 2024 1

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.

werthdavid avatar werthdavid commented on August 10, 2024

Code works with zxing-online

from ngx-scanner.

werthdavid avatar werthdavid commented on August 10, 2024

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?

foto 27 02 18 08 10 00_preview

from ngx-scanner.

praveenrengarajan avatar praveenrengarajan commented on August 10, 2024

"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.

werthdavid avatar werthdavid commented on August 10, 2024

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.

werthdavid avatar werthdavid commented on August 10, 2024

@praveenrengarajan does the issue still exist with 1.0.0-dev?

from ngx-scanner.

odahcam avatar odahcam commented on August 10, 2024

This is a problem with your environment, try to install:

npm install --global --production windows-build-tools

...and try again.

from ngx-scanner.

praveenrengarajan avatar praveenrengarajan commented on August 10, 2024

@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.

odahcam avatar odahcam commented on August 10, 2024

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.

lock avatar lock commented on August 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.