QR & Bar Code Reader - New Plugin from Zeroqode

Hello @alexsstockton,
Thank you for contacting us.

We have tested our demo page, which you can visit here: https://zeroqode-demo-07.bubbleapps.io/barcode_reader and have not found any issues related to the one you mentioned.

We have conducted tests on the following browsers and devices:
-Safari Browser
-Google Chrome
These tests were carried out on a iPhone 11 running IOS version 17

To help you troubleshoot, we suggest you compare your configuration with our default configuration. Our plugin demo editor page is available at the following link: zeroqode-demo-07 | Bubble Editor

We will also recommend that you check the privacy settings of your browser/device and the permissions granted in your app.

If you have any additional questions, please feel free to ask.

Best Regards,
Zeroqode`s Support Team

Hi @ZeroqodeSupport.

Thank you for this plug-in.

I’ve just subscribed to it and I was wondering if it’s possible to select a back camera by default and not having to chose it from available ones?
Also, the action “start scanning barcode” doesn’t work on IOS 17 but it does when you click on one camera label.
Is there a way you can make it work withouth prompting the user ?
My use case is this: I want to open the scanner with a workflfow on page load. Works on Android, not IOS…

Thank you

1 Like

Hello @maxencepautre, :wave:

Please accept my apologies for the late reply :pray:

Thank you for choosing our QR & Barcode Reader plugin.

As per your question about setting the back camera as the default selection, typically, the plugin should automatically select the device’s rear camera for scanning. If this isn’t happening, it could be due to the device’s settings or permissions. Setting a default camera is generally managed by the device’s operating system and browser settings.

Regarding the “start scanning barcode” action not working on iOS 17, this is likely due to iOS’s stringent security and privacy protocols, which require explicit user action to access the camera. This is why it works when a user selects a camera but not automatically on page load. These protocols are in place to protect users and unfortunately, they restrict automatic camera activation without user interaction.

At present, there is no method to bypass these iOS restrictions within the app; user consent is mandatory. Our plugin is designed to work within the constraints of the operating system’s permissions for user privacy and security.

For your use case of opening the scanner on page load, while this works on Android, iOS’s security measures prevent it from functioning without user input. This is consistent with iOS’s overall approach to security and user privacy.

If you have additional questions, please feel free to reach out.

Happy New Year 2024 :dragon:

Best Regards,
Zeroqode Support Team.

1 Like

Thanks for your answer !

1 Like

Hi @ZeroqodeSupport thanks for this great plugin…

I’m having an issue when using it with an iPhone running iOS 17.3.1 (I haven’t tested it on any other devices).

When making the first barcode Scan, the correct default Camera is used (i.e. the back camera).

However, consistently on the second scan, the front camera is used instead, and has to be manually changed to the Back camera.

Then, on all subsequent scans, the correct (Back) camera is used again.

It’s only the second time the Scan action is used that the wrong camera is selected.

I’m sure you’ll probably say this is an issue with iOS, rather than any specific issue with the plugin, which is fair enough - it may well be… but I just wondered if you had any insight as to why this is happening (only on the second scan each time), and if there are any known workarounds?

Thanks

UPDATE:

Another issue (and this may or not be related)…

If I want to manually select the Front Camera, it doesn’t work the first time. (i.e. if I select the Front Camera and use a set Camera action, nothing changes - it still uses the default Back camera).

It only works if I select Front Camera, then a Back Camera, and then the Front Camera again.

Hello @adamhholmes,

Thank you for reaching out to us.:slightly_smiling_face:

We’ve conducted some tests but were unable to replicate the issue you’ve described. Could you please update your iOS to the latest version, 17.4.1, and let us know if the problem persists?

If the issue continues, could you kindly provide us with more details about your use case? Specifically, we’re interested in the plugin version (please ensure it’s the latest), along with screenshots and screencasts of your workflow setup, the plugin element. For recording screencasts, we recommend using the Loom tool.

Also please record a video in a step-by-step where you’ll demonstrate the issue you’re facing, how exactly it is happening on your device. Additionally, check for any errors in the console.

These details will be invaluable in helping us replicate your setup on our end and further investigate the matter.

Thank you once again, and we look forward to your response. :pray:

Best regards,
Zeroqode Support Team

Hello @adamhholmes,

Hope you’re doing well.

We wanted to quickly check in regarding the issue you reported to us. Have you had a chance to update your iOS to the latest, and did it help resolve the problem? If you’re still experiencing the issue, could you please provide us with the additional details we requested? This information is crucial for us to better understand and address your concern.

Furthermore, if there are any further inqueries you’ve encountered or if you have any other questions, we’re here to help. Your satisfaction is our top priority, and we’re eager to ensure that everything is working smoothly for you.

Looking forward to your reply, and thank you for your cooperation.

Best regards,
Zeroqode Support Team