QR Scanner

Ok. Great job then! Thanks! I’ll test as soon as I get some spare time.

Lerg, just wantet to confirm that the Android UTF-8 problems seems to be solved. Thanks! Great work!

Lerg - are you aware that if you set the UseFrontCamera to false it still uses the front camera…?  I have now commented out that line to force the system to use the back camera…

I’m having a problem with the new version of the scanner. I’m unable to get the topBar or overlays to change even when the values are set in the show command. Here is the code I’m using to call the scanner.

local platformname = system.getInfo("platformName") if(platformname == "Android") then qrscanner.show({ topBar = { backgroundColor = { 0.06, 0.42, 0.71}}, symbols = {'i25'}, overlays = {searching = {filename = "images/searching-720.png", baseDir = system.ResourceDirectory} }, listener = qrListener }) else qrscanner.show({ topBar = { backgroundColor = { 0.06, 0.42, 0.71}}, symbols = {'interleaved2of5'}, overlays = {searching = {filename = "images/searching-720.png", baseDir = system.ResourceDirectory} }, listener = qrListener }) end

Any idea what I’m doing wrong? I’ve tried this on iOS and Android using Corona builds 3068 (latest Stable) and 3086

brandon96, hi. “topbar” is all lowercase.

I have a customer using “HUAWEI P10 Plus (VKY-AL00)” reported that the QR scanner is not working. She sent me a video. I can see her able to open up the QR scanner but no response when she pointed the camera to the QR code.

I am using Corona Build: 2017.3078 (2017.5.4) and the customer device is in Android 7.0

Hey Lerg,

I have a qr code that crashes the example app instantly. I know that the qr code is not a standard qr code that contains URLs etc. It is an 8-Bit binary mode qr code where some data like a date and some other values are encoded in a 17 bytes size payload. Any chance to read such qr codes with your plugin?

René

Hi René, sure send me the QR code and what you want to get from it. Also which OS/device are you having trouble with?

I’ve send you a PN.

I have tested on iOS / iPhone 6S+.

Hi Lerg 

I have your barcode reader component and I will have some questions . In my tests Scanner cannot read 2d barcodes on android samsung device but we need this i it nornally ? . Can we use barcode reader except full screen as a screen component for example ? Is it able to use with pc camera on simulator mode . Thank you for replies …

Urgent request: There is no cancel button when running on an iPad, please advise, this is for a client that needs to be submitted ASAP.

Actually it’s on all devices of IOS, possibly ios11.

Hi sir,

We have noticed the same problem : the cancel link has disappeared on iOS 11 (“Annuler” in french) and the only way to leave the qr scanner is to scan something or kill the app. Kind of a problem !

Any chance this can be addressed soon ?

Regards

Darn, missed the previous message. Will fix asap.

Just fixed. Please try soon.

I just tried to build an app including the QR Scanner tonight and received this error during the build process.

ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)\</result\> Oct 13 12:23:38.117 ERROR: Builder failed: ld: warning: directory not found for option '-F/Users/\< Project Path \>.app/Frameworks' Oct 13 12:23:38.117 Undefined symbols for architecture armv7: "\_\_\_isOSVersionAtLeast", referenced from: -[QRScannerViewController initWithTopbarText:topbarFontSize:topbarColor:topbarBackgroundColor:topbarIsHidden:symbols:useFrontCamera:noMirror:filter:maskX:maskY:maskWidth:maskHeight:maskColor:searchingOverlay:mismatchOverlay:foundOverlay:orientation:listener:] in libplugin\_qrscanner.a(QRScannerViewController.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) Oct 13 12:23:38.117 BUILD ERROR: There was a problem linking the app. 

I have tried to build on Corona SDK Builds 2017.3135 and 2017.3086 and received the same error on both. My iOS SDK in the build panel is 10.3

I was able to create a build with these same settings on 10/10/2017 so my guess is that something changed in the latest release for the plugin. Any ideas what I should try?

Fixed as well. Please try again.

tech47, can you please test now?

I was able to build this morning and my error was fixed.

Thanks, Lerg.

Awesome! Thanks.

ALL APPS MUST BE UPDATED

The problem was that in iOS 11 toolbar element now has autolayout of inserted elements, whereas before I had to programmatically position buttons on the screen. That caused conflicts in positioning the cancel button.