[SimpleQRCode Reader] "Does not support media devices" (Mobile) [QR Scanner]

Forge Component
(1)
Published on 2018-12-31 by Miguel Meireles
1 vote
Published on 2018-12-31 by Miguel Meireles

Hi Guys,

Currently building a mobile website. I'm currently generating QR code and reading it successfully from my pc camera. Is there a way to make it work on a mobile device?

Kind Regards

Werner

Hi Werner,

There's a different component for Mobile. It's a plugin that enables an application to scan barcodes and QR codes.
Check it out here: https://www.outsystems.com/forge/component/1403/barcode-plugin/

and let me know if it works :)

Vera

HI Werner.


If you use the version SimpleQRCode Reader on PC it also works on mobile, through the browser, chrome or firefox.
You can try it at https://meiras.outsystemscloud.com/DemoQRCode/QRReader2.aspx

@Vera Tiago: "building a mobile website"

@Miguel Meireles: It works fine on Android (Chrome browser), but not on iOS (Safari browser). Can you confirm it should work on iOS?

Thks.

Vera Tiago wrote:

Hi Werner,

There's a different component for Mobile. It's a plugin that enables an application to scan barcodes and QR codes.
Check it out here: https://www.outsystems.com/forge/component/1403/barcode-plugin/

and let me know if it works :)

Vera


Hi Vera,

I appreciate the reply but I am using a mobile site and not a mobile application.

Kind Regards

Werner

Solution

Miguel Meireles wrote:

HI Werner.


If you use the version SimpleQRCode Reader on PC it also works on mobile, through the browser, chrome or firefox.
You can try it at https://meiras.outsystemscloud.com/DemoQRCode/QRReader2.aspx

Hi Miguel,

I have tried using it through the browser on 2 iphones. Safari and Chrome did not work.

All android devices work perfectly. 

I have found a work around though so no problem. I'm using the ZXing Services decoder.

Kind Regards 

Werner


Solution

@Werner Kotze: Assuming you found a work around to work on iOS, can you share what did you do? Thks

Is this capable of scanning barcodes other than QR-Codes? I would like to be able to scan both.

Hi Daryl

Yes this can read other types of barcodes you can try here
https://meiras.outsystemscloud.com/DemoQRCode/QRReader2.aspx

Miguel Meireles wrote:

Hi Daryl

Yes this can read other types of barcodes you can try here
https://meiras.outsystemscloud.com/DemoQRCode/QRReader2.aspx

Hi Miguel,

Thanks for the reply. I tried it on my phone (iPhone 7 Plus) and it doesn’t scan at all? Pressing Start just opens a black window on the screen? It allows me to select between camera #1 and camera #2, but both show just a black square.


Hi Daryl

I do not know if it works on the iphone because I have never tried these devices.


Werner Kotze wrote:

Miguel Meireles wrote:

HI Werner.


If you use the version SimpleQRCode Reader on PC it also works on mobile, through the browser, chrome or firefox.
You can try it at https://meiras.outsystemscloud.com/DemoQRCode/QRReader2.aspx

Hi Miguel,

I have tried using it through the browser on 2 iphones. Safari and Chrome did not work.

All android devices work perfectly. 

I have found a work around though so no problem. I'm using the ZXing Services decoder.

Kind Regards 

Werner


Hi Werner,

Assuming you found a workaround for scanning QR codes through browsers on iPhones, could you please share what you had to do?

Many thanks

Stefan