Redth / ZXing.Net.Maui

Barcode Scanning for MAUI?
MIT License
434 stars 143 forks source link

BarcodeGeneratorView for Code128 crashes on WinUI #168

Open marco-skizza opened 4 months ago

marco-skizza commented 4 months ago

Hi

According to my tests, the following code crashes on WinUI, but it works on iOS:

<zxing:BarcodeGeneratorView
    HeightRequest="100"
    WidthRequest="300"
    ForegroundColor="Black"
    Value="Test"
    Format="Code128" />

P.S.: I'm on .NET 8. But I think it already crashed with .NET 7.

Cowan1983 commented 3 months ago

I can confirm that this error is present in .NET 7 and that the control is working on the Android emulator (Android 13.0 - API 33).