QR Scanner

Wow, I didn’t know you were working for Corona Labs now, but I think that’s fantastic.

Thanks,

Dave

Sergey, I had some developers on my team at work try it, and the portrait/landscape bug is indeed fixed!

They noticed one other thing, though. I have not tested this myself, but they said on their test device – a nexus 6 – when they are in QR Scanning mode, and they move the phone around really quickly, it scans *something* even when there’s nothing in front of it to scan. It returns a number.

Sorry, I don’t have more info than that. I’m sort of doing a million things at the same time this week.

Dave

How do we add this plugin as an Enterprise user ? I don’t see the plugin in the “CoronaEnterprisePlugins.2016.2828.tgz”.

Hi awesome qr scanner! Is it possible to scale it so it does not take up the entire screen or have a logo say overlay on the scanner?

Sergey, are there any plans to do more work on this plugin in the near future, or even bake it in more officially now that you’re a Corona employee?

Thanks,

Dave

It appears that the QR Scanner has stopped working on Android.  Build 2824 is the last one where it works.

The issue I mentioned above where it randomly returns a number when you move the camera around (whether there is a QR code or not) is still present in 2824 too.

Dave

@Dave, when you move a device really quick the camera feed turns into stripes. Probably it randomly finds barcodes and scans them.
Can you check this with other barcode scanning software on your device?

@yosu, at this moment there is no infrastructure to add this plugin for Enterprise users other than converting your Enterprise project into a self-hosted plugin and building your app using Corona Simulator and including both plugins.

@Dave, despite being hired the plugins are still my personal projects, so I devote time when I have time. Right now I will add support for Android 6.

@stefan920, sorry, that’s not supported.

I’ve updated the plugin for Android 6, now you can start using it with daily build 2016.2828 or later.

@Lerg, thanks for answering. 

I will have my team try other QR scanning software to see if the problem is exhibited everywhere or not.

Dave

It seems that the plugin is broken. It returns random numbers on my device too, event when it scans the QR code.

I’ve updated the plugin and now you can specify what types of codes do you want to search for. By default it only searches for QR codes.

New option for qrscanner.show()

options.symbols - array of strings, a list of all types of visual codes to search. Default is ‘qr’.

See updated docs and sample app.

So now you should not receive false readings.

Hi Lerg,

You can use QR Scanner to scan business cards? (Create a contact in the app with the scanned information). ** In Corona SDK (not enterprise).

Grateful for the attention.

No, it only scans QR code and bar codes, not business cards.

Grateful for the return,

Do you know whether it is possible to create a plugin with this feature?

Google says there are such libraries for iOS and Android, so it is possible to make such plugin. But my free time is limited and I don’t think many Corona developers need it. You can make a feature request and see how many people will vote for it.

Updated the plugin, added Flash On/Off button for Android version.

Also updated the IOS version to include the flash button, however please test it on your devices, because I don’t have an iPhone to test on.

Good news everyone! I’ve added custom image overlay support. Only for Android at the moment, but iOS is coming.

Now you can show your own PNG image file on top of the camera view!

To make it work, use a new options field - options.overlays like so:

options.overlays = { searching = { filename = 'images/searching.png', baseDir = system.ResourceDirectory }, found = { filename = 'images/found.png', baseDir = system.ResourceDirectory } }

baseDir is optional, default is system.ResourceDirectory.

See updated docs and updated sample for more info.

e4f4c5bef9dd4b87a988ef4ee93fa231.png

Awesome thank you so much a very good plugin for corona. Thanks for all the good work