Redth / ZXing.Net.Maui

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

Missing ZXingScannerView native implementation #152

Open takla21 opened 6 months ago

takla21 commented 6 months ago

We are currently in the process of migrating some of our projects based on Uno to .NET 7.0. As part of this migration, we noticed that ZXingScannerView seems to be missing in this repository.

Are there any plans to bring back ZXingScannerView?

ZXingScannerView https://github.com/Redth/ZXing.Net.Mobile/blob/master/ZXing.Net.Mobile/iOS/ZXingScannerView.ios.cs https://github.com/Redth/ZXing.Net.Mobile/blob/f8abca8d7e4d0e1e76b6ba6b9418545aa2085036/ZXing.Net.Mobile/Android/ZXingSurfaceView.android.cs

phillippschmedt commented 6 months ago

I am not sure about Uno but for MAUI I had to also add the package ZXing.Net.Maui.Controls and the view is now called CameraBarcodeReaderView.

takla21 commented 6 months ago

@phillippschmedt I think it inherits View which it's a MAUI component. To replicate the Xamarin packages, it should instead inherits UIView on iOS & SurfaceView on Android.