mintware-de / flutter_barcode_reader

A flutter plugin for reading 2D barcodes and QR codes.
MIT License
628 stars 463 forks source link

Option to select default camera (primary/secondary) #184

Closed anoopsg closed 4 years ago

anoopsg commented 4 years ago

Now scanner open primary camera as default. No options are available for change the camera. Is it possible for ios?

devtronic commented 4 years ago

Not yet, sorry. I need to rewrite the platform communication. After that we can pass a configuration object to the scan() method. This change has the highest priority at the moment. Maybe it's done in 1-3 weeks. I'll let you know if there is something new.

devtronic commented 4 years ago

It's easier than I thought. This feature will be available in the next major release (3.x) 🙂

anoopsg commented 4 years ago

@devtronic Thanks for the update. Great work :)

devtronic commented 4 years ago

Feel free to test: https://github.com/mintware-de/flutter_barcode_reader/pull/185

devtronic commented 4 years ago

https://pub.dev/packages/barcode_scan/versions/3.0.0-dev.1