# Barcode / QR Code - doesn't open camera

**URL:** <https://forum.inductiveautomation.com/t/barcode-qr-code-doesnt-open-camera/65780>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [October 27, 2022, 7:46pm UTC](https://forum.inductiveautomation.com/t/barcode-qr-code-doesnt-open-camera/65780 "2022-10-27T19:46:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JR7](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@JR7](https://forum.inductiveautomation.com/u/JR7)\
**Post date:** [October 27, 2022, 7:46pm UTC](https://forum.inductiveautomation.com/t/barcode-qr-code-doesnt-open-camera/65780/1 "2022-10-27T19:46:32Z")

</div>

Hi All,

I got my Bar Code scanner working but it only works on Perspective App from Playstore.

All permissions of Google Chrome Browser is permitted including Camera, but still it doesn't open the camera, I also tried adding a script for logging status at gateway logger in the same button and it is perfectly working.

Is anyone here got the same problem or experienced the same issue?

Your input is very much appreciated.

Thank you.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 27, 2022, 8:02pm UTC](https://forum.inductiveautomation.com/t/barcode-qr-code-doesnt-open-camera/65780/2 "2022-10-27T20:02:33Z")

</div>

Perspective can't open cameras. It can only open barcode scanners via the mobile app's platform features.

Not a bug. Simply not supported (yet).

---

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [October 28, 2022, 2:12am UTC](https://forum.inductiveautomation.com/t/barcode-qr-code-doesnt-open-camera/65780/3 "2022-10-28T02:12:15Z")

</div>

Unless, on an iPhone

On an iPhone it should bring up the camera option when you trigger a file upload.

In both the browser and the app

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/1/5175a67df4d57b95601905ce6c89e3a151f5ad17.jpeg)

---

<div class="post-metadata">

**Author:** ![JR7](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@JR7](https://forum.inductiveautomation.com/u/JR7)\
**Post date:** [October 28, 2022, 11:20am UTC](https://forum.inductiveautomation.com/t/barcode-qr-code-doesnt-open-camera/65780/4 "2022-10-28T11:20:22Z")

</div>

Hi pturmel,

Thank you Sir. I just realize the difference between the mobile app and using the browser.

---

<div class="post-metadata">

**Author:** ![JR7](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@JR7](https://forum.inductiveautomation.com/u/JR7)\
**Post date:** [October 28, 2022, 11:24am UTC](https://forum.inductiveautomation.com/t/barcode-qr-code-doesnt-open-camera/65780/5 "2022-10-28T11:24:46Z")

</div>

Hi kgamble,

Yup. it does open the camera but not the QR/Barcode scanner. If you put a button that has Scan Barcode it doesn't let you open the camera, but just like sir pturmel said, it is not yet supported. Anyway, sir. thank you for your input.

---

<div class="post-metadata">

**Author:** ![hodgins.e](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@hodgins.e](https://forum.inductiveautomation.com/u/hodgins.e)\
**Post date:** [November 29, 2023, 10:13pm UTC](https://forum.inductiveautomation.com/t/barcode-qr-code-doesnt-open-camera/65780/6 "2023-11-29T22:13:36Z")

</div>

Can you use the File Upload to upload an image with a Barcode and then somehow read the barcode from that image?
