how to take pictures automatically in react native

hello please help me I’m trying to build a REACT NATIVE app when the app is running it’s open a camera and takes pictures automatically

just guide me to make the camera automatic which will capture images automatically