BREAKING CHANGES!!!
Yay! New version is ready.
Read the new docs!
New docs are here: http://docs.spiralcodestudio.com/plugin/qrscanner/
Take a look at the sample code as well.
What’s new.
Change topbar text color.
Change topbar text size.
Change topbar background color.
Apply a mask to the camera, only the area inside the mask will be processed.
Change mask color.
Use regex to filter results.
Use front camera.
Listener receives a normal event table.
Errors are submitted to the listener within the event.
Topbar now can fit long text.
Orientation code has been changed on Android, tell me if it got better.
What’s broken.
Listener now must be provided inside the params table, not as the first argument of the qrcanner.show() function.
Listener now receives an event instead of the message. Message is inside event.message.
New version is tied to the Corona public release - 2017.3068. Use it or a later one.
I expect new bugs to appear. Especially about orientation and masking.