Forum Libraries, Components, and Plugins


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Zxing - scanning issue for iOS application.

JoseFrancisJoseFrancis USMember

I am developing a cross platform mobile application in which i have integrated zxing bar code library to scan VIN barcodes(mostly codes 128 and 39).
The library works very well for the android application and but on iOS application the bar code detection is very poor (70% failure).

Versions I am using are :
zxing.ios :
xamarin :

The code I wrote is :

var scanner = new ZXing.Mobile.MobileBarcodeScanner();
var options = new ZXing.Mobile.MobileBarcodeScanningOptions();
var result = await scanner.Scan();
if(result != null)
var parsedResult = ResultParser.parseResult(result);
if (parsedResult.Type == ParsedResultType.VIN)
Console.WriteLine("Scanned Barcode: " + vinNumberResult);
else if (result != null)
vinNumberResult = result.Text;
Console.WriteLine("Scanned Barcode: " + vinNumberResult);

The same library working to scan the same bar code works very well on android but not on iOS.

Any kind of help or insight on the issue will be appreciable.

Thank you.



Sign In or Register to comment.