Open Vigneshwaran-crypto opened 4 months ago
@Vigneshwaran-crypto I've never seen a useRef
used like this for this package: const cameraRef = useRef(Camera);
. I believe your issue may be that the ref should be called as const cameraRef= useRef<Camera | null>(null)
I am using vision camera with react-native v73 and expo 50 and it takes a picture perfectly.
What's happening?
Reproduceable Code
Relevant log output
Camera Device
Device
POCO M4 Pro
VisionCamera Version
3.8.2
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠️ your issue might get ignored & closed if you don't try this)
Additional information