Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Can't get Zxing.Mobile to work

$
0
0

I've added it to my forms project, have the suggested code:

MobileBarcodeScanner scanner = new MobileBarcodeScanner();
Result result = await scanner.Scan();

if (result != null)
{
ContentPage.ScanResult scanResult = ContentPage.ProcessScanResult(result.Text);
await iScanParent.ProcessScan(scanResult);
}

I can step through it in debug mode, but the call to Scan() just does nothing. App keeps working, but no scanner appears. Is there something obvious I have missed?


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>