BlinkID / blinkid-cordova

ID scanning for cross-platform apps built with Cordova and Phonegap.
48 stars 34 forks source link

secondSideSplashMessage does not show up on iOS #126

Open AlibekJ opened 4 years ago

AlibekJ commented 4 years ago

On Android, when plugin is activated, it shows firstSideInstructions and once it captures the front side of US driver license, secondSideSplashMessage appears signaling user to flip the document.

on iOS none of this happens: firstSideInstructions does not show up, plugin silently captures the front side and displays nothing until I show the back of the DL.

Recorded a screencast, sending it to you via our account manager.

juraskrlec commented 4 years ago

Hi @AlibekJ

I've seen your implementation code. You are using SuccessFrameGrabberRecognizer, which is causing a bug on that specific overlay DocumentVerificationOverlay to get wanted behaviour. As you are using the latest version of our plugin, I would suggest to try out BlinkIdOverlay. It is optimised to work with latest recognizers and wrapping your wanted recognizers in SuccessFrameGrabberRecognizer will get the wanted behaviour. I am labelling this as a bug, but this is a bug in our SDK, so we will need some time to fix it. I am hoping to schedule it for our next release. In the meantime, please try out BlinkIdOverlay and I am hoping you will provide your feedback :)

Happy coding

AlibekJ commented 4 years ago

Followed your advice and it now works perfectly. Love it.

juraskrlec commented 4 years ago

Thank you on your feedback!

Btw, you can set requireDocumentSidesDataMatch on blinkIdOverlaySettings to false to disable data matching on combined recognizers.