react-native-vision-camera icon indicating copy to clipboard operation
react-native-vision-camera copied to clipboard

❓ No controllers

Open androidealp opened this issue 4 years ago • 3 comments

Question

my code is simple, but I don't see the click controls, only the open camera. why this not working?

What I tried

this works to show the camera, but it doesn't show the button controllers.

if(device == null) return (<Text>Carregando....</Text>) return (<Camera style={StyleSheet.absoluteFill} device={device} isActive={true} />)

VisionCamera Version

^2.15.2

Additional information

androidealp avatar Dec 02 '22 12:12 androidealp

Vision Camera library is designed for multiple use cases, so the "Camera" component returns a simple camera page with no controllers, to give project based customizability. If you want to add the button controllers, you can take a look at the example project.

EKOzkan avatar Dec 02 '22 13:12 EKOzkan

Vision Camera library is designed for multiple use cases, so the "Camera" component returns a simple camera page with no controllers, to give project based customizability. If you want to add the button controllers, you can take a look at the example project.

Thanks @EKOzkan

androidealp avatar Dec 02 '22 17:12 androidealp

Thanks for the answer @EKOzkan, that's correct :)

mrousavy avatar Dec 06 '22 14:12 mrousavy