# QR & Bar Code Reader - New Plugin from Zeroqode

**URL:** <https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862>\
**Category:** Plugins\
**Created:** [July 20, 2018, 7:46am UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862 "2018-07-20T07:46:28Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![philip\_ferreira](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@philip\_ferreira](https://forum.bubble.io/u/philip_ferreira)\
**Post date:** [April 22, 2019, 11:02pm UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/24 "2019-04-22T23:02:07Z")

</div>

Thank you @levon , I understand that. What I’m telling you you is that I get error message “The plugin QR & Bar Code Reader / action Stop live Detector a barcode\_reader\_2 threw the following error: Cannot read property ‘type’ of undefined” when I move away from auto.

When I select code type as qr (not type auto), the scanner will not stop and I always get the error - whereas when I select auto, I can stop the scanner. Is that clear?

Thanks,

---

<div class="post-metadata">

**Author:** ![marlonromano](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@marlonromano](https://forum.bubble.io/u/marlonromano)\
**Post date:** [April 22, 2019, 11:11pm UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/25 "2019-04-22T23:11:48Z")

</div>

please send me the link to the correct documentation

---

<div class="post-metadata">

**Author:** ![levon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/levon/32/89793_2.png) [@levon](https://forum.bubble.io/u/levon)\
**Post date:** [April 22, 2019, 11:21pm UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/26 "2019-04-22T23:21:01Z")

</div>

> [@philip\_ferreira](#):
>
> Thank you @levon , I understand that. What I’m telling you you is that I get error message “The plugin QR & Bar Code Reader / action Stop live Detector a barcode\_reader\_2 threw the following error: Cannot read property ‘type’ of undefined” when I move away from auto.
> 
> When I select code type as qr (not type auto), the scanner will not stop and I always get the error - whereas when I select auto, I can stop the scanner. Is that clear?
> 
> Thanks,

yes, we’ll check it out

> [@marlonromano](#):
>
> please send me the link to the correct documentation

> **[Barcode & QR Code Reader Plugin](https://docs.zeroqode.com/plugins/barcode-and-qr-code-reader-plugin)**
>
> This plugin enables smooth and seamless QR and Bar code reading functionality in your Bubble app. 
> For better quality scanning, please make sure there is sufficient lighting in the room and QR/Barcodes are of good quality.

---

<div class="post-metadata">

**Author:** ![marlonromano](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@marlonromano](https://forum.bubble.io/u/marlonromano)\
**Post date:** [April 22, 2019, 11:42pm UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/28 "2019-04-22T23:42:07Z")

</div>

ok so to get the fuction i want which one do i need to use. I want to be able to scan a barcode live and then get a result as to weather the barcode is in the db or not. So which one do i use? That is what i want to know

---

<div class="post-metadata">

**Author:** ![levon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/levon/32/89793_2.png) [@levon](https://forum.bubble.io/u/levon)\
**Post date:** [April 23, 2019, 4:59am UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/29 "2019-04-23T04:59:49Z")

</div>

You need to use qrcodereader2. The barcodes don’t automatically get saved into the database, you’ll need to run a workflow that uses plugin’s state (result) and save it to the DB. Again, use the demo page as an example of plugin configuration.  
Thanks!

---

<div class="post-metadata">

**Author:** ![levon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/levon/32/89793_2.png) [@levon](https://forum.bubble.io/u/levon)\
**Post date:** [April 23, 2019, 12:31pm UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/30 "2019-04-23T12:31:01Z")

</div>

We have just pushed an update with some fixes, please upgrade, refresh the page and give it another try, thanks!

---

<div class="post-metadata">

**Author:** ![philip\_ferreira](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@philip\_ferreira](https://forum.bubble.io/u/philip_ferreira)\
**Post date:** [April 23, 2019, 1:44pm UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/31 "2019-04-23T13:44:49Z")

</div>

Thank @levon.

I still seem to get an error when initializing from chrome on mobile, but not on safari.

I look forward to this plugins continual evolution.

Thanks,

---

<div class="post-metadata">

**Author:** ![hiddenfactor](https://avatars.discourse-cdn.com/v4/letter/h/f6c823/32.png) [@hiddenfactor](https://forum.bubble.io/u/hiddenfactor)\
**Post date:** [April 24, 2019, 2:45pm UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/32 "2019-04-24T14:45:24Z")

</div>

I couldn’t get qr-code reader working on iphone. I tried the demo too. Can it be fixed?

---

<div class="post-metadata">

**Author:** ![levon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/levon/32/89793_2.png) [@levon](https://forum.bubble.io/u/levon)\
**Post date:** [April 25, 2019, 8:59am UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/33 "2019-04-25T08:59:12Z")

</div>

hello,  
there are 2 reader elements and 2 demos. The newest library that we implemented is supposed to work on iphones as well.  
[https://docs.zeroqode.com/plugins/qr-and-bar-code-reader-plugin](https://docs.zeroqode.com/plugins/qr-and-bar-code-reader-plugin)  
please check this documentation  
thanks!

---

<div class="post-metadata">

**Author:** ![wegetdesign](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/wegetdesign/32/261513_2.png) [@wegetdesign](https://forum.bubble.io/u/wegetdesign)\
**Post date:** [April 29, 2019, 10:56am UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/34 "2019-04-29T10:56:30Z")

</div>

Hello @Levon,

I think there maybe an issue with permissions. The original QR reader does not open on Android devices via the app. In our native app the camera function requests permission, but the scanner still does not load.

I tested on another plugin that uses just the camera, and that seems to work fine.

Regards  
Omar

---

<div class="post-metadata">

**Author:** ![philip\_ferreira](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@philip\_ferreira](https://forum.bubble.io/u/philip_ferreira)\
**Post date:** [April 29, 2019, 12:29pm UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/35 "2019-04-29T12:29:41Z")

</div>

@levon, is this designed to be used with a browser? or just native apps? It works very well for me when using safari but not chrome on mobile devices, fine on desktop. Thanks,

---

<div class="post-metadata">

**Author:** ![levon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/levon/32/89793_2.png) [@levon](https://forum.bubble.io/u/levon)\
**Post date:** [April 30, 2019, 4:01am UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/36 "2019-04-30T04:01:52Z")

</div>

Hi Philip, it’s supposed to work on all browsers (native apps are basically wrappers that use browsers too)

---

<div class="post-metadata">

**Author:** ![levon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/levon/32/89793_2.png) [@levon](https://forum.bubble.io/u/levon)\
**Post date:** [April 30, 2019, 4:02am UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/37 "2019-04-30T04:02:48Z")

</div>

@wegetdesign  
we update the plugin, please upgrade and give it another try, please check the description of the update.  
Also, when you are scanning a qr code, don’t use “automatic” detection in the plugin.

---

<div class="post-metadata">

**Author:** ![wegetdesign](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/wegetdesign/32/261513_2.png) [@wegetdesign](https://forum.bubble.io/u/wegetdesign)\
**Post date:** [April 30, 2019, 8:48am UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/38 "2019-04-30T08:48:47Z")

</div>

Appreciate the assistance. I updated the plugin and changed camera settings set to “QR Code”. The screen turns black:

 ![PNG](https://us1.discourse-cdn.com/bubble/original/3X/b/7/b7a21698fc23b2f3b9cf699d2d5f7a3102d31c49.jpeg)

Works fine for Auto but of course does not pick up QR Codes

---

<div class="post-metadata">

**Author:** ![levon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/levon/32/89793_2.png) [@levon](https://forum.bubble.io/u/levon)\
**Post date:** [April 30, 2019, 9:12am UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/39 "2019-04-30T09:12:40Z")

</div>

can you give us access to your app at [plugins@zeroqode.com](mailto:plugins@zeroqode.com) ?

---

<div class="post-metadata">

**Author:** ![wegetdesign](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/wegetdesign/32/261513_2.png) [@wegetdesign](https://forum.bubble.io/u/wegetdesign)\
**Post date:** [April 30, 2019, 9:27am UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/40 "2019-04-30T09:27:11Z")

</div>

Thank you @levon - added the email.

Note once you signed up, just go to Camera symbol to test. Note happy to pay for any additional services. Please PM at [omar@wegetdesign.com](mailto:omar@wegetdesign.com)

---

<div class="post-metadata">

**Author:** ![levon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/levon/32/89793_2.png) [@levon](https://forum.bubble.io/u/levon)\
**Post date:** [May 1, 2019, 10:13am UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/41 "2019-05-01T10:13:19Z")

</div>

Omar, we just tested your app and it seems to be working for us. Can you record a video and provide us more context? Which browser you are using, which model etc. Anything that could help  
Thanks

---

<div class="post-metadata">

**Author:** ![wegetdesign](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/wegetdesign/32/261513_2.png) [@wegetdesign](https://forum.bubble.io/u/wegetdesign)\
**Post date:** [May 1, 2019, 10:33am UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/42 "2019-05-01T10:33:56Z")

</div>

Hello @Levon, thank you for taking a look.

Device IPhone 8S, IOS Version 12.1.4 using safari browser. The camera function is set to QR Code.

See video of issue:

> **[Zerocode Plugin - QR Black.mp4 (video)](https://drive.google.com/file/d/1h4TPoOQ2v37G_-cvIqfM2_dNdMbGXxyy/view?usp=drive_open)**
>
> Google Drive file.

If you go to the menu and load test, it is set to auto and works. See:

> **[Zerocode Plugin - Set to Auto works.mp4 (video)](https://drive.google.com/file/d/1xUr8sCXxNrw8iWyzUnlfwo25EqlG8nqE/view?usp=drive_open)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![wegetdesign](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/wegetdesign/32/261513_2.png) [@wegetdesign](https://forum.bubble.io/u/wegetdesign)\
**Post date:** [May 2, 2019, 3:21pm UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/44 "2019-05-02T15:21:49Z")

</div>

Thank you @Artin for the suggestion. I updated the IOS to 12.2 but the QR Scanner was still not working.

So as it appeared working for everyone else 🙂 I decided to debug some more, and I seemed to isolate the issue. I.e I unchecked “Show location” and the camera function worked.

 ![isolated%20issue](https://us1.discourse-cdn.com/bubble/original/3X/6/c/6cf8e7b1691e937cb7928d6b2830e040cca194fa.jpeg)

@levon you may want to test with show location checked.

Note our use case seems solved by doing this. Thank you everyone for your help.

Regards  
Omar

---

<div class="post-metadata">

**Author:** ![levon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/levon/32/89793_2.png) [@levon](https://forum.bubble.io/u/levon)\
**Post date:** [May 3, 2019, 1:12am UTC](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862/45 "2019-05-03T01:12:10Z")

</div>

Thanks a lot Omar for narrowing it down. We’ll try to check that issue and fix it if it’s a bug. thanks again!

[Previous page](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862.md?page=1)

[Next page](https://forum.bubble.io/t/qr-bar-code-reader-new-plugin-from-zeroqode/33862.md?page=3)
