Code Monkey home page Code Monkey logo

Comments (7)

ilinkMat avatar ilinkMat commented on September 14, 2024 1

Awesome work guys!
When would the v1.0.0 be released ?
Is there a way to pause the scanning and resume scanning when needed ?

from ngx-scanner.

werthdavid avatar werthdavid commented on September 14, 2024 1

Thanks!
Well... there's no ETA but we wanna release as soon as possible.
At this point you can't pause scanning directly you can only stop and start it, but when you stop it the preview is gone.
A workaround would be that when you pause scanning you just don't handle the scan-result. This is just a workaround since decoding takes place and generates CPU-load but oh well... 😉

Pseudo code:

<ngx-zxing [start]="cameraStarted" [device]="selectedDevice" (onCamsFound)="displayCameras($event)" (onScan)="handleQrCodeResult($event)"></ngx-zxing>
handleQrCodeResult(result: string): void {
  if(!this.paused) {
    console.log("My result is", result);
  }
}

from ngx-scanner.

werthdavid avatar werthdavid commented on September 14, 2024

Agree!

from ngx-scanner.

odahcam avatar odahcam commented on September 14, 2024

Oh my god, this will have some impact on my develop branch and the v1.0 releases, I will try to create a new develop-v1.0 branch to avoid messing things up. Nice job btw.

from ngx-scanner.

ilinkMat avatar ilinkMat commented on September 14, 2024

Will the play/pause preview feature be included in v1.1.0 ?

from ngx-scanner.

odahcam avatar odahcam commented on September 14, 2024

Probably in v1.0.0. 😉

from ngx-scanner.

lock avatar lock commented on September 14, 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.