[Barcode Plugin] Multiple Readings

Forge Component
Published on 2019-10-18 by OutSystems R&D
25 votes
Published on 2019-10-18 by OutSystems R&D


I am using the 2.1 version of the plugin and i need to do a random number of barcodes reading.

The best way i imagine this is without closing the camera on phone, every time it makes a reading gives a beep and i save the value.

Then i must have a way to tell the plugin i finished my readings and close the app and use the readed values.

Is this possible?

You can't do it with the stock plugin.

You can read QR -> store QR in memory -> ask user if he wants to continue reading or he is done -> open plugin again if continuing, storing o db if done.

But this is a "workaround". If you want "the real thing", you will have to modify the stock plugin with "actual code".

Outsystems uses zbar. You should clone the oficial repo (https://github.com/OutSystems/csZBar) and work from there.

The you will need to change the code of zbar, I believe what you want to achieve can be done if you follow the general guidelines mentioned on this post: