Switching camera
fabmatz opened this issue · 4 comments
Hello,
I like your plugin a lot, because it is fast and scans continuously. Is there a way to switch to the front camera? I couldn't find a way how to switch at your plugin.
Greetings and you do a really good job!
Fabian
@maganap I made my one durty fix. After downloading the package, i changed the package code. I only needed for Android and after a view tries i figured out, that a change in file "QrCameraC2.java" helped me. It path is "C:\src\flutter.pub-cache\hosted\pub.dartlang.org\qr_mobile_vision-2.0.0\android\src\main\java\com\github\rmtmckenzie\qrmobilevision".
Probably depending on your need you have to try this or some of the others files. Also if you need it for iOS you need to find the other files for that.
@rmtmckenzie I see it's now a configurable property. Awesome, thanks!
(BTW, in the README file, you have cameraDirection
and also direction
with the same description)
oh whoops thanks, I'll fix that