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
CodeScanner functionality doesn't work. The camera setup and everything else works perfectly such that if I comment out the codeScanner code I am able to see the camera preview but if I uncomment the codeScanner prop on <Camera /> component then there's an error
Camera.onError(code-scanner/not-compatible-with-outputs): [code-scanner/not-compatible-with-outputs] CodeScanner can only be enabled when both video and frameProcessor are disabled! Use a Frame Processor Plugin for code scanning instead. [code-scanner/not-compatible-with-outputs: [code-scanner/not-compatible-with-outputs] CodeScanner can only be enabled when both video and frameProcessor are disabled! Use a Frame Processor Plugin for code scanning instead.]
<Camera
isActive={isActive}
device={device}
codeScanner={codeScanner} // Here's that prop
style={StyleSheet.absoluteFill}
photo
video
/>
The text was updated successfully, but these errors were encountered:
Hi @vishalenrique I took a look at this again, I haven't been able to reproduce when following the recipe for setting up react-native-vision-camera, including specifically for code scanning. Are you still seeing this issue? If you want to post your full code for this component so I can look at it that would be helpful. Otherwise I'll close this issue in the next couple days, feel free to reopen if you're still seeing an issue.
Describe the bug
CodeScanner functionality doesn't work. The camera setup and everything else works perfectly such that if I comment out the
codeScanner
code I am able to see the camera preview but if I uncomment thecodeScanner
prop on<Camera />
component then there's an errorThe text was updated successfully, but these errors were encountered: