Hi Team,
I am trying to scan barcode with type Code-39. But I am not able to get exact value after scanning barcodes.
I am trying to generate barcodes of type Code-39 from below URL;https://barcode.tec-it.com/en/Code39?data=JTME63FV40J019458
Every time I am getting different value after scanning. Also this forge component is not working on IOS.As per end user perspective, user should get same and exact value even after scanning multiple times.
In above screenshot,
1. Client.ScanInstructions = "Keep the barcode in the middle of the scanner."
2. Client.CameraDirection = Entities.CameraDirection.BackCamera
3. Client.ScanOrientation = Entities.ScanOrientation.Adaptive
4. Client.ScanButton = False
5. Client.ScanButtonText = "Scan"
6. Client.ShowCameraSelection = True
7. Hint = Entities.Formats.ALL
8. FPS = 0
Hello there Prashant,
Hope you're doing well.
Barcode Plugin is a forge component supported by OutSystems, so you can always open a support ticket if you're facing issues.
Anyway I can say that it works for both iOS and Android devices, personally I'm using it in several apps for both operating systems :) specially for EAN-8, EAN-13 and QR Codes.
As you can see, Code 39 is also a support encoding type. Did you try with other barcode generators?
Kind regards,
Rui Barradas
Thanks @Rui Barradas for your response.
As per business requirements, barcode should be generated by following URL only;
https://barcode.tec-it.com/en/Code39?data=JTME63FV40J019458
Can you please suggest another solution to generate barcode with Code-39 type which will support this plugin?
Thanks & Regards,
Prashant Salunke
Hey @Prashant Salunke,
I have a couple of questions regarding your post:
1. Are you trying to use the plugin on a native iOS app or a PWA?
2. From the `ScanLine` parameter I can tell you're not using the latest version of the plugin. Have you tried to update it?
BR.
I tried with native mobile app on my personal, but I am getting same output as per now. Everytime the scanned value is different. I also tried with the latest version of plugin in which "AndroidScanningLibrary" is newly added parameter and made suitable for iOS as well. Unfortunately no use. I tried with the different Code type as Code-93 and it is working fine with the existing solution. Only for Code-39 is not working. Can anyone help me with the difference and the most suitable between this two code types?Also it will be great if you could help me with any javascript code for scanning barcodes of all types if available?
Thanks
QuaggaJS is a JavaScript-based alternative for barcode scanning. You can find more information on its official website: https://serratus.github.io/quaggaJS/.
Note: I have not personally used this library.
According to several documents you can find online, the Code 39 format is not very reliable, with issues like "no error protection" and "multiple false reads" associated with it. Considering that the Barcode plugin uses native SDKs for iOS (AVFoundation + Vision) and Android (MLKit or ZXing), I'm not sure you'll find a more reliable JavaScript scanner.
Do you have to use that format or can't you replace it with another?
Thanks for sharing this. I tried with Barcode Plugin version 5.3.0. Not sure about the iOS device, but on Android I am able to scan the barcode with this 5.3.0 version. But rather than no other version is working properly. Can you please share the JavaScript scanner if available?I am not able to get any other suitable plugin for this.
@Ricardo Silva, @Rui Barradas We tested with multiple versions of Barcode Plugin and all are working fine for both digital and printed barcodes of type Code-39.But unfortunately we have to tilt the camera for scanning the barcode which we can not add in our disclaimer for the end-user.
Please suggest any other solution or any other way to get the exact output after scanning the barcode.