facundomedica / fast_qr_reader_view

A Fast QR Reader widget for Flutter. For both Android and iOS
MIT License
295 stars 163 forks source link

May I know how to switch carmera selection from back to front #25

Closed brandesyeh closed 2 years ago

brandesyeh commented 5 years ago

It seems not work. When I change the following // pick the first available camera onNewCameraSelected(cameras[1]); or // pick the first available camera onNewCameraSelected(cameras[0]);

It always use the back camera.

Thanks all.

brandesyeh commented 5 years ago

Appreciate for any suggestion or comment。I really need to know how to use Front Camera for QRCode Scan. Thanks!

hilfritz commented 5 years ago

I have the same problem.

adlanarifzr commented 5 years ago

The latest versions should be working.

marlongb commented 4 years ago

I am using this version fast_qr_reader_view: ^ 0.1.5 and still does not work.

Sadoge commented 4 years ago

If you use the latest version like this, it works fine again

fast_qr_reader_view: 
     git:
      url: git://github.com/facundomedica/fast_qr_reader_view.git