Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to detect if front and back side match in iOS #139

Open
jrsenthilk opened this issue Feb 16, 2021 · 4 comments
Open

Failed to detect if front and back side match in iOS #139

jrsenthilk opened this issue Feb 16, 2021 · 4 comments

Comments

@jrsenthilk
Copy link

Hi,

I have been using BlinkID and we have been testing it in Android and iOS. We configured it to use "MBBlinkIdCombinedRecognizer" and based on your documentation, BlinkID should be able to detect if the front and back side match automatically and throw an error message to the user if it doesn't match.

It works perfectly well in Android but it fails to do so in iOS. We are testing using MyKAD (Malaysia) and your documentation does say that this ID is supported. Despite trying with multiple different MyKAD, the result is still the same whereby it detects in Android but not in iOS. We are using BlinkID 5.8.1 anyway.

Is there a different parameter we need to check for this in iOS ? Doesn't it check automatically in iOS like how it does in Android ?

Hope to get a good reply soon.

Thanks in advance.

@jrsenthilk jrsenthilk changed the title Failed to detect if front and back side matches in iOS Failed to detect if front and back side match in iOS Feb 16, 2021
@mparadina
Copy link
Contributor

Hi @jrsenthilk

Can you please tell me which overlay are you using in the scanning process?

The data-match option for iOS is only available with the BlinkID Overlay.
When using the BlinkID Overlay, you can turn on the requireDocumentSidesDataMatch method, when setting up the BlinkID overlay settings.

When set to true (the true option is set by default), the BlinkID Combined recognizer will check if the front and backside of the document match after the scanning process finishes.

Documentation:
https://github.com/BlinkID/blinkid-cordova/blob/master/BlinkID/www/blinkIdScanner.js#L1154

Let me know if you have any additional questions.

Milan

@jrsenthilk
Copy link
Author

Hi Milan,

Yes we are using the BlinkID overlay. This is how we are initializing it in our code:

var blinkidOverlaySettings = new cordova.plugins.BlinkID.DocumentVerificationOverlaySettings()

and yes, requireDocumentSidesDataMatch is set to true as well.

Any other items that we need to check further ?

@jrsenthilk
Copy link
Author

Just a quick check, we also tried the official BlinkID app from App Store and it doesn't detect the 'sides does not match" part. Is that feature not turned on in your official app in the app store?

@mparadina
Copy link
Contributor

Hi @jrsenthilk

From the sent code line, I can see that you are using the Document Verification Overlay.
Did you try using the BlinkIdOverlaySettings and seeing if you can get the alert?

Example:
var blinkidOverlaySettings = new cordova.plugins.BlinkID.BlinkIdOverlaySettings();

You can find the code example here as well:
https://github.com/BlinkID/blinkid-cordova/blob/master/sample_files/www/js/index.js#L73

Also, just to double-check, are you referring to the Microblink Vision, or BlinkID application from the App Store?
Vision: https://apps.apple.com/us/app/microblink-vision/id1464662310
BlinkID: https://apps.apple.com/us/app/blinkid/id1258136557

Regards,
Milan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants