Redth / ZXing.Net.Maui

Barcode Scanning for MAUI?
MIT License
461 stars 151 forks source link

ZXing.Net.Maui v1.0.0 has warning "The owner has unlisted this package" #93

Open awalker-dsg opened 1 year ago

awalker-dsg commented 1 year ago

The NuGet info page for v1.0.0 contains the following warning:

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.

The title of the main project page lists "1.0.0" as the current version, and the README doesn't have any indication there is a problem with v1.0.0. The Visual Studio Nuget Package Manager (VS-NPM) UI also does not show any issues with v1.0.0 -- in fact, VS-NPM lists v1.0.0 as the "latest stable" version.

We updated our code to use v1.0.0 before we stumbled across this warning. When we attempted to rollback to the previous release (0.3.0-preview.1), our app would no longer build. Even after adding the separate ZXing.Net.Maui.Controls 0.3.0-preview.1 NuGet, we get the following error:

'MauiAppBuilder' does not contain a definition for 'UseBarcodeReader' and no accessible extension method 'UseBarcodeReader' accepting a first argument of type 'MauiAppBuilder' could be found

However, the ZXing.Net.Maui page's README still says "Make sure to initialize the plugin" with "builder.UseBarcodeReader()".

There are other factors that add to the confusion:

ZXing.Net.Maui fills a critical need in MAUI for those of us who are migrating from Xamarin and used the old ZXing.Net libary. Could someone please provide some clarity as to the status of this library? Should v1.0.0 be avoided? Or, is the "The owner has unlisted this package" message an indication that this library will no longer be maintained?

SKIDDOW commented 1 year ago

I think it's re-versioned. 0.3.0-preview.1, probably should be the latest version.