blinkid-react-native
blinkid-react-native copied to clipboard
iOS crash when using DocumentVerificationOverlaySettings
When the Camera opens and you click the X to close the camera, the app crash. Using BlinkIdOverlaySettings
didnt crash.
Using 5.16.0
` const blinkIdCombinedRecognizer = new BlinkIDReactNative.BlinkIdRecognizer(); blinkIdCombinedRecognizer.returnFullDocumentImage = true; blinkIdCombinedRecognizer.returnFaceImage = true;
const scanningResults = await BlinkIDReactNative.BlinkID.scanWithCamera( new BlinkIDReactNative.DocumentVerificationOverlaySettings(), new BlinkIDReactNative.RecognizerCollection([blinkIdCombinedRecognizer/* , mrtdSuccessFrameGrabber */]), licenseKey, ); `
Hello Fernando,
Thank you for reaching out.
As you already mentioned, I would suggest you implement BlinkIdOverlaySettings which is optimally designed to be used with BlinkIdRecognizer and BlinkIdCombinedRecognizer. You can read more about it here.
You can see an example in our sample app here.
Please test this and let me know if it helped.