BarcodeScanning.Native.Maui icon indicating copy to clipboard operation
BarcodeScanning.Native.Maui copied to clipboard

Windows Support

Open e808080 opened this issue 1 year ago • 6 comments

Fantastic library! Works great on Android and iOS. Would be really good with Windows support as well. Any timeline?

e808080 avatar May 09 '24 11:05 e808080

Hello, thanks.

If no major bugs arise than Windows support is next on my list. I did some preparation and unfortunately it looks like Windows support will be the most difficult to implement out of all platforms. And also it looks like Zxing.Net is rather slow so I'll try to use zxing-cpp whose wrapper is in alpha. So we'll see hot it goes...

afriscic avatar May 11 '24 09:05 afriscic

Hi there,

can you share any updates on Windows support? Can we contribute somehow?

ndreisg avatar Jan 24 '25 10:01 ndreisg

I would also be interested in this and would be happy to offer support as far as I am personally able to

baaaaif avatar Feb 06 '25 12:02 baaaaif

So just to share my thoughts. There are two major things that needs resolving/decision:

  1. What barcode processing framework to use
  2. Camera management

For barcode processing framework there are basically two options:

  1. zxing-cpp
  2. ZXing.Net

From my research it looks like zxing-cpp has better and faster detection but its .NET support is in "alpha" and it doesn't have support for all platforms (it could be added). Zxing.NET has the advantage of easier integration.

As for camera management, at first glance it looked more complicated than Android/iOS/MacOS implementation. It seemed to be harder to distinguish between front and/or back camera (on some devices) and to support different resolutions.

Both things need quite a bit of testing time that I don't currently have. Especially as Windows support has the largest device variability.

afriscic avatar Feb 06 '25 17:02 afriscic