Bug 61129 - Zxing Barcode
Summary: Zxing Barcode
Alias: None
Product: Live Player
Classification: Xamarin
Component: Mobile App iOS ()
Version: 1.0.317
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-12-27 18:34 UTC by Justin Andrews
Modified: 2018-01-31 09:39 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 61129 on Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.
Related Links:

Description Justin Andrews 2017-12-27 18:34:58 UTC
ZXing.Net.Mobile.Forms Version 2.3.2 

ZXingScannerPage just locks up and never moves to next line

 var scanPage = new ZXingScannerPage();

            scanPage.OnScanResult += (result) => {
                // Stop scanning
                scanPage.IsScanning = false;

                // Pop the page and show the result
                Device.BeginInvokeOnMainThread(() => {
                    DisplayAlert("Scanned Barcode", result.Text, "OK");

            // Navigate to our scanner page
            await Navigation.PushAsync(scanPage);
Comment 1 garrymitchell 2018-01-31 09:39:22 UTC
I receive the following error in Live Player (on both iOS and Android) when attempting to use ZXing.

Exception of type 'System.Collections.Generic.KeyNotFoundException' was thrown.

The same code works just fine in a UWP app running on my development machine, as well as when built and deployed directly to my Android device (I don't have 
a Mac to deploy to iOS, hence using LivePlayer)