Capture-Vision-Maui icon indicating copy to clipboard operation
Capture-Vision-Maui copied to clipboard

.NET 8 support ? (barcode reader not working in Android devices with .NET 8)

Open AthanasiosKampylis opened this issue 2 years ago • 3 comments

Hi, I have made a sample project with a 30-days license key and after a few quick tests I have conclude to specific results:

.NET 7

  • On Android camera is loaded and barcode/qrcode detection is working fine
  • On iOS camera is loaded and barcode/qrcode detection is working fine

.NET 8

  • On Android camera is NOT loaded and barcode/qrcode detection is NOT working fine
  • On iOS camera is loaded and barcode/qrcode detection is working fine

Looking at the dependencies on Nuget Package Manager (vesion: 1.0.0) I can see there is no support at .NET 8, but running the app in the iOS using .NET 8 it works fine. In the oposite side Android does not work.

So my question is, will be any updated version with .NET 8 support (in order to initialize barcode reader in Android too)?

Thanks in advance

AthanasiosKampylis avatar Dec 12 '23 17:12 AthanasiosKampylis

@AthanasiosKampylis Thanks for your feedback. It might be a compatibility issue caused by .NET 8. I haven't tried .NET 8 yet. You can probably find the answer in the Microsoft community or on StackOverflow.

yushulx avatar Dec 13 '23 01:12 yushulx

@yushulx for galexy Note 20 android device scanning not working. Do you have any solution for this?

vplife1 avatar Dec 13 '23 16:12 vplife1

The CameraView worked on an Android device in NET8, by deleting ScrollView in CameraPage.xaml of the Capture.Vision.Maui.Example project.

hisa373 avatar Jan 14 '24 02:01 hisa373