Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't work with net7.0-ios or net7.0-android #1063

Open
JimWilcox3 opened this issue Dec 21, 2022 · 8 comments
Open

Won't work with net7.0-ios or net7.0-android #1063

JimWilcox3 opened this issue Dec 21, 2022 · 8 comments

Comments

@JimWilcox3
Copy link

Are there any plans to support the replacement platform for Xamarin?

@bdgza
Copy link

bdgza commented Jun 13, 2023

I think you are looking for: https://github.com/Redth/ZXing.Net.Maui

@michaldobrodenka
Copy link

I think you are looking for: https://github.com/Redth/ZXing.Net.Maui

Is it possible to use it in non MAUI app?

@sandhyagokul69
Copy link

We also need a replacement for Xamarin and are unable to move to .NET MAUI immediately. Will there be any support for .NET 7 Android and iOS going forward?

@ThysBrits
Copy link

ThysBrits commented Feb 13, 2024

We are also moving to .Net 8 and looking to use this, but the NuGet adds references to Xamarin.Android.Support.V4, which causes duplicate references to some other classes in Java, and breaks our build. Would love an update that supports .Net 7 and 8. I've tried adding ZXing.Net.Maui, but that then gives me an error:
Xamarin.Android.Common.targets(1458,3): error XALNS7028: System.IO.FileNotFoundException: Could not load assembly 'Microsoft.Maui, Version=1.0.0.0
EDIT: After adding the <UseMaui>true</UseMaui> to my project file, the above error goes away, but seeing as my project is not a true MAUI project, but just a normal net8.0-android project, I cannot use this library. It would be really great if this package supports .Net7 and .Net8 on Android.

@OllieStrevel
Copy link

Hi, any updates about this?

@ThysBrits
Copy link

We took the plunge and redid our project as a MAUI MVVM project, using the ZXing.Net.MAUI Nuget, and that works. We didn't have the luxury of waiting for this to be looked at or resolved. We also use a library Camera.MAUI by hjam40.

@OllieStrevel
Copy link

I checked ZXing.Net.MAUI and it's ok, just i want to ask for MobileBarcodeScanner.Scan() method missing, is any way to use something equivalent from code behind?

@ThysBrits
Copy link

We use the Camera.MAUI to do the scanning of the barcode (taking the photo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants