❓ No controllers
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
- [ ] I am using Expo
- [X] I have read the Troubleshooting Guide
- [X] I agree to follow this project's Code of Conduct
- [X] I searched for similar questions in the issues page as well as in the discussions page and found none.
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.
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
Thanks for the answer @EKOzkan, that's correct :)