Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live QR Codes #395

Open
rolinger opened this issue Jan 25, 2023 · 3 comments
Open

Live QR Codes #395

rolinger opened this issue Jan 25, 2023 · 3 comments

Comments

@rolinger
Copy link

I have been using this plugin for a while with no issues (though I haven't upgraded to Cordova 11 yet where I think this native plugin starts having issues). But now I have a need to implement Live QR/Bar codes and don't know where to begin with it similar to how TicketMaster is generating them in their app now.

Does anyone know a plugin that can do this or know of a way to implement them within Cordova...particularly within Ionic?

@Willian199
Copy link

See my fork. https://github.com/Willian199/cordova-plugin-multiple-barcode-scan
You can do multiple scan

@rolinger
Copy link
Author

rolinger commented Feb 5, 2023

@Willian199 - I read through your fork and saw very little reference to multiplescan. Can you elaborate here or in your own DOCs how multiplescan allows for Live QR codes? Or maybe explain the link between them? Maybe I just don't understand how a live qr code works - thus my questions. My assumption is/was that a moving bar flashed back and forth over the qr code that somehow interfered with the ability to take a screen shot of the code (to prevent it from being sent to other people who would then reuse the code). The TicketMaster reference in my OP though is a standard bar code, not a qr code.

@Willian199
Copy link

@rolinger When calling BBscanner,scan({multipleScan = true}, callback). It will be possible to read several QRcodes in sequence. When identifying a value, it is passed to the callback, but it will continue scanning for a next QRcode.

If multipleScan false, after identifying the QRcode, it will call the "destroy", stopping reading new QRcodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants