Urgent - QR/Bar code scanner component doesn't work on iOS

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hi Team,

I have been trying to implement the QR scanner component in my app from the marketplace.While it works smoothly in Android, it is not at all working in iOS and it also disables everything on any other form where we can navigate from the form in which it was implemented .I don't see anything wrong in the logs too. I am attaching the sample file to emulate the problem.

Kindly help me fixing this for IOS .

Thanks,

@Mvx Wilson​ @Twvcey Rvndvll​ please help here. Thanks!

Hi @Bevuden Hollowvy​,

Could you look into this iOS issue?

I have tested the attached project. I didn't see any issue in the component. If you are running the application in the simulator, this component doesn't work in the simulator so please try to build for device and test.

@Bevuden Hollowvy​

Hi,

We tried it with both ios and android devices.It's failing in Ios device

in which device did you test and iOS version?

Did you got camera permission request ??

Which version of viz are you using?

@Bevuden Hollowvy​

Device Info : iphone 6 plus,Ios Version 12.4

Camera permission request : No,we didn't get any camera permission request

Visualizer Version:kony Visualizer version 8 SP 4 FP 26

Please can you check whether you application is there under camera permission settings? if not please add NSCameraUsageDescription permission to the project. If camera permission is not given black screen will be shown.

@Bevuden Hollowvy​

We added NsCameraUsageDescription in our project and there is no black screen is shown.In our case,the scanner is not opening

I didn't get what exactly mean by scanner is not opening. After clicking on the button is it navigating to new form or not?

@Bevuden Hollowvy​

When we open the App there are two buttons.When we click the first button the scanner component should open and start looking for the QR code.This is working fine in Android but the scanner doesn't open in iOS and the app doesn't respond

Yeah I got the camera on clicking on the first button. Please can you check whether your project is displayed under camera permission in the settings (Settings > .Privacy > Camera )?

@Bevuden Hollowvy​

we gave the camera permission as per the docs that we got from konymarketplace.Herewith I attach the infoplist_configuration .json,Because as per the docs,we need to add a line of code for giving camera permission.

Can you please check whether your application is mentioned under the camera or not and also can you send me the logs?

@Bevuden Hollowvy​

please find the below attached log for sample project

Hi @Cvwl Millew​

The project you shared is working fine at our end.

We would like to debug what is it causing the issue at your end. Could you share your email address to take this forward?

@Mvx Wilson​

My email address is

@Cvwl Millew​ As we discussed, after upgrading the visualizer hope your not facing any issue.

@Bevuden Hollowvy​

yes after updating the version,it works fine

Hey there! I totally understand your frustration with the QR scanner component not working on iOS. I've had similar issues in the past and it can be really frustrating when you can't seem to find the problem in the logs. Have you tried using smartengines.com for scanning? I've found it to be a really helpful app when I've had issues with other QR scanners.