Redth / ZXing.Net.Maui

Barcode Scanning for MAUI?
MIT License
460 stars 151 forks source link

No option to enable flash nor torch when scanning #188

Open sandhyagokul69 opened 4 months ago

sandhyagokul69 commented 4 months ago

We were using the Xamarin version of his library. After migrating, we are now using Zxing.Net.Maui.Controls v 0.4.0. In the Xamarin version we could set the flash on programmatically-the library provided support for it. We don't see this option with the MAUI library. Even if we manually turn the torch on it is switched off when this app is launched. How can we work around this?

sandhyagokul69 commented 4 months ago

Managed to get this working with TorchOn option.