I need to integrate the QR code scanner for my project with react native, I'm using the plugin react-native-camera-kit, this plugin supports QR and Bar code scan but when i scan the code it continuously scan the code and call back the function onReadCode={()=>} the continuously. I need to remove the camera from QR code to stop it.
is that any way to scan the QR code only once.
<Camera showFrame={true} laserColor={Colors.green} frameColor="white" onReadCode={(event: any) => { console.log("event=>", event?.nativeEvent.codeStringValue) }} scanBarcode={true} style={{flex: 1}} />






