169
Views
11
Comments
[Barcode Plugin] PWA barcode does not working
Question
barcode-plugin
Mobile icon
Forge asset by OutSystems
Application Type
Mobile
Service Studio Version
11.53.15 (Build 61263)

Dears,

Congratulations by development of this important component. I'm using the demo app as PWA, and I verified the CheckBarcodePlugin client action in my cellphone (Android). All output parameters true, with Yes to IsPWA. The QRcode read works fine, but the barcode read does not works. Sometimes, I get read a barcode, but it is hard. Someone can guide me about this?

Best regards,

Roberto

UserImage.jpg
Wei Siong Ho

Hi Roberto, it happens to my app as well.  Sometimes it works and sometimes not.  Still figuring out what is the problem.


Best Regards

Ho

2023-10-21 19-42-11
Tousif Khan
Champion

Hello,

I have used this plugin on a PWA application, And I did face the same issue, Some barcodes are readable within a second, and on some barcodes take much more time and more focus to scan, It also doesn't support autofocus so when I use this On my IOS device I am not able to scan code from close Range, I did a lot of research on this and did several hit and tries, and came up with a solution not a complete solution but the behaviour of this plugin on pwa.
I have generated several barcodes with different strings and numbers.
I did observe that, the barcode must be on a white background, Barcode has a long string or to many numbers, having multiple lines, So when scanning multiple lines long barcode it is not scannable,
When I tried with few digit code, it worked.
But still I have to make my phone stable and it take more time,
QR codes works fine, for me in every case.

One more thing which I have observed, The camera quality slightly reducec when we open a scanner, Tried different scanner apps from forge some works fine with good resolution some are not definitely this one is not include in good resolution.

I also get the error message on my IOS device whenever I close the barcode from cross Ion.
Also FLASH is not supported on IOS, it gives an error "Permission" some thing like that.
Also you need to enable the flash parameter by cloning the app , you cannot directly use flash.

Thanks
Tousif Khan


2022-08-31 18-26-36
Easy Batch

Hi Tousif & Wei Siong,

Really,  until this moment the barcode issue happens. But if the application is distribute as native program mobile, it works. Then, when I need read barcode in my application, I choose the native instead PWA installation.

Best regards,

Roberto

UserImage.jpg
João Souza

Conheça uma solução simples para aplicativos PWA não nativos?

UserImage.jpg
Miguel Rodrigues Outsystems

We were having the same problem with the Barcode Plugin. 
Changing the Frame Rate of the camera fixed that on our side, now it's working just fine on PWA. 

Source: Increase the number of FPS (max 1000, and this value is not recommended) passed in the ScannerFPS input parameter.

2022-08-31 18-26-36
Easy Batch

Hi Miguel,

Can you said me the ScannerFPS value that you used? Or others parameters used. I wrote some values as 900, 500 in the FPS, but the problem do not change. It did not get read the barcode value, but the QRCode works well.

Thanks,

Roberto

UserImage.jpg
Miguel Rodrigues Outsystems

Hello, Roberto. We had a lot of trouble reading barcodes, but QR Code always worked too.

We tried using 1000 and 500 FPS, both worked perfectly on PWA. Also, you may look at the different types of barcode as the documentation above points out to make sure you're testing a readable barcode.

CameraDirection: BackCamera

ScanOrientation: NullIdentifier()


2024-07-18 04-13-51
Muneera Shaik

Hi, I have used this forge component in my mobile app where I need to scan a QR Code, its not at all working (doesn't scan anything)

Example Code encrypted in QR Code - 93991270-857b-4083-bc3c-5940481de6ba (from Generate GUID function)


Can someone help me to figure out the issue here

2022-08-31 18-26-36
Easy Batch

Hi Muneera,

I generated a qrcode with the code you sent (see the figure below) and read this qrcode with my application. Worked perfectly. My application is using the forge Barcode Plugin (supported) Stable version 5.5.2 (Compatible with OutSystems 11) component.

Best regards,

Roberto

2025-02-11 07-08-02
Thangapandi

I'm trying to scan a Data Matrix code using a barcode scanner in my PWA. While it works perfectly in the mobile app (.apk), it's not functioning properly in the PWA version. I have tried adjusting the "ScannerFPS" values, but that hasn't resolved the issue. Has anyone else encountered this problem? If you have any suggestions or solutions, please let me know.

2022-08-31 18-26-36
Easy Batch

Hi Thangapandi ,

I was also having this problem, but I was using an old version of the component. There was an update made by Outsystems. I installed the new version and it also started working on the PWA.

Best regards


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.