blinkid-react-native icon indicating copy to clipboard operation
blinkid-react-native copied to clipboard

iOS crash when using DocumentVerificationOverlaySettings

Open fernandoiwamoto opened this issue 2 years ago • 1 comments

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, ); `

fernandoiwamoto avatar Apr 22 '22 13:04 fernandoiwamoto

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.

MBrizic01 avatar Apr 25 '22 10:04 MBrizic01