You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.
According to what's in BarcodeScannerComponent.tsx it appears that facingMode is hardcoded to environment as it hasn't been configured in a way that it accepts a parent argument.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am trying to pass in facingMode option to the Barcode Scanner Component and it seems to not honor the value.
This is what I have tried so far:
<BarcodeScannerComponent width={420} height={420} onUpdate={(err, result) => { ... }} videoConstraints={{ facingMode: 'user' }} />
Can someone suggest what is wrong here?
The text was updated successfully, but these errors were encountered: