QRscanner plugin issues building to iPhone

Hi,

I’m trying to use the QRScanner plugin from spiral code studios and am running into some issues.  It works perfectly when building to android but when building to iOS it opens the scanner and can scan but then never calls the listener function which i know as the first thing it should do is print the message.  The iOS logs from my test device are at the bottom but don’t seem overly useful?  Has anyone encountered anything similar or can point out here i may be going wrong?  Thanks!

Code to open scanner and build.settings

json = require( "json" ) mime=require("mime") qrscanner = require('plugin.qrscanner') ---------------------------------------------------------------------------------------- -- qrlistener: function to closes the drawmenu and navigate to scanner -- -- @param string message String of the scanned QR code ---------------------------------------------------------------------------------------- local function qrlistener(message) -- message variable contains the value of a scanned QR Code. message = message.message print(message) local code = mime.unb64(message) print("Decoded: " .. code) print(string.sub(code,1,22)) if(false) then -- CODE else native.showAlert('No item found', "If this error is unexpected please make sure your app is up to date. If the problem continues please contact the system administrator.", {'OK'}) end end ---------------------------------------------------------------------------------------- -- goToScanner: function to navigate to scanner -- -- @param obj event event info for button press event ---------------------------------------------------------------------------------------- local function goToScanner( event ) print(system.getInfo( "model" )) qrscanner.show{listener = qrlistener} end 

 iphone = { plist = { UIStatusBarHidden = false, UIPrerenderedIcon = true, -- set to false for "shine" overlay --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend NSLocationAlwaysUsageDescription = "This app would like to use location services.", NSLocationWhenInUseUsageDescription = "This app would like to use location services.", NSPhotoLibraryUsageDescription = "Not used in this app", NSCameraUsageDescription = "Used to scan QR codes and barcodes", NSPhotoLibraryUsageDescription = "This app would like to access the photo library.", UILaunchStoryboardName = "LaunchScreen", -- Required! CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-167.png", "Icon-60.png", "Icon-60@2x.png", "Icon-60@3x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", }, }, }, -- -- Android Section -- android = { usesPermissions = { "android.permission.INTERNET", "android.permission.WRITE\_EXTERNAL\_STORAGE", }, }, splashScreen = { enable = false }, plugins = { ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, ['plugin.qrscanner'] = {publisherId = 'com.spiralcodestudio'} }

iPhone logs

Dec 14 11:10:03 iPhone rilmac[303] \<Warning\>: iPhone Dec 14 11:10:03 iPhone kernel[0] \<Notice\>: AppleH4CamIn::setPowerStateGated: 1 Dec 14 11:10:03 iPhone kernel[0] \<Notice\>: AppleH4CamIn::power\_on\_hardware Dec 14 11:10:04 iPhone kernel[0] \<Notice\>: AppleH4CamIn::ISP\_SelectBestMIPIFrequencyIndex\_gated - channel: 0, index: 0 Dec 14 11:10:11 iPhone kernel[0] \<Notice\>: AppleH4CamIn::ISP\_FlushInactiveDARTMappings: 0x00000000 Dec 14 11:10:11 iPhone kernel[0] \<Notice\>: AppleH4CamIn::ISP\_SelectBestMIPIFrequencyIndex\_gated - channel: 0, index: 0 Dec 14 11:10:12 iPhone kernel[0] \<Notice\>: AppleH4CamIn::ISP\_FlushInactiveDARTMappings: 0x00000000 Dec 14 11:10:12 iPhone mediaserverd[44] \<Notice\>: '' com.COMPANY.PROJECT(pid = 303) setting DiscoveryMode = DiscoveryMode\_None, currentDiscoveryMode = DiscoveryMode\_None Dec 14 11:10:17 iPhone kernel[0] \<Notice\>: AppleH4CamIn::setPowerStateGated: 0 Dec 14 11:10:17 iPhone kernel[0] \<Notice\>: AppleH4CamIn::power\_off\_hardware

This seems to now be fixed (using the same code) using daily build 2018.3223.

Experiencing the exact same problem with iOS SDK 11.4, and public build Corona 2018.3326

Managed to get it working by removing all .show() function options values but the listener…

(I did not debug which one was causing the problem - symbols, overlays or topbar )

This seems to now be fixed (using the same code) using daily build 2018.3223.

Experiencing the exact same problem with iOS SDK 11.4, and public build Corona 2018.3326

Managed to get it working by removing all .show() function options values but the listener…

(I did not debug which one was causing the problem - symbols, overlays or topbar )