[Embedded Scanner Plugin] EmbeddedScannerPlugin : scanner doesn't work
Forge component by Miguel 'Kelter' Antunes
Application Type
Mobile
Service Studio Version
11.11.4 (Build 43812)
Platform Version
11.11.2 (Build 29611)

Using the embeddedscanner, all is ok but the scanner doesn't work. An error is returned by the ScanJS javaScript

within the getContinuousScan action :



The apk file was well regenerated using MABS 5.2 or MABS 6.3 and it doesn't help.

All seems to be ok, we have the screen, we can see the barcode, but due to the error, the scanner doesn't operate and the scan event is not fired. Because of the error returned (we don't know which error exactly : no message, only Success outputparameter is returned as False  ) .

A question : is it possible to run this with barcode ? Currently, I can see that it's working with QR codes only .

Can you help ?

Thanks


Champion

Hello Patrick 

If this plugin doesn't help you can use this one for both BarCode and QR Code Scanner: https://www.outsystems.com/forge/component-overview/1403/barcode-plugin 


I have added this in my application and have not face any issues. Also, it is trusted. 

The problem is the following : it is a component of an existing app, and it was working for barcode until we regenerated the apk of the app. Now it's working, but only for QR codes. Barcodes doesn't work.

Is it possible to configure it in order that barcodes can also be read ? Otherwise we will have to review the logic of the app. 

The plugin defined in extensibility Configuration is https://github.com/kelter-antunes/cordova-plugin-qrscanner-extended.git

This seems to be a QR only. Do you know if there's an existing compliant plugin that can work with barCodes ?

Champion

I have tried with this forge component but not getting hint for QR Code. Still if you have option to change the forge you can use https://www.outsystems.com/forge/component-overview/1403/barcode-plugin, it supports both QR and Barcode. I have checked it and found working fine

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