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

BlinkIdOverlaySettings missing parametar #65

Open
Twwisty opened this issue Jul 9, 2024 · 4 comments
Open

BlinkIdOverlaySettings missing parametar #65

Twwisty opened this issue Jul 9, 2024 · 4 comments

Comments

@Twwisty
Copy link

Twwisty commented Jul 9, 2024

I'm on version 6.7.0 and for BlinkIdOverlaySettings as i was trying to localize messages i realized that there's one parameter missing or maybe I'm not seeing it. There is parameter for firstSideInstructionsText but i can't find secondSideInstructionsText while scanning i can see the text in English but i can't localize only that one.

While DocumentVerificationOverlaySettings has both firstSideInstructions and secondSideInstructions.

Can someone help with this one?

@mparadina
Copy link
Contributor

Hi @Twwisty

There is no direct string for the secondSideInstructionsText on the BlinkIdOverlaySettings overlay.
The reason for this is that it depends on the document you are scanning, as the SDK automatically detects the document type during the first side scanning.
For example, if you are scanning a US driver's license, then you would need to modify scanBarcodeText, as we only extract the barcode information from it.
You can also modify various 'error' strings (move farther, close, etc.) which can occur during the backside scanning as well.

I hope this helps.
Let me know if you have any additional questions.

@Twwisty
Copy link
Author

Twwisty commented Jul 9, 2024

I understand that but for my example where i am trying to scan Croatian/Serbian ID Card where scan detects there is no barcode to scan on back. By default it shows text in English (Scan the back side of document) and then that text can't be edited.

And if i input text for scanBarcodeText parameter it will just remove text for when scanning second side of ID Card.

It seems that on iOS it doesn't show any text for second side of scanning on mentioned ID Cards while Android shows text.

@mparadina
Copy link
Contributor

Hi @Twwisty

Yes, you are correct.
There is no backside text on iOS.

If it helps, we already have the SDK localized in Croatian.
To change it, you just need to change the language property to 'hr'.

BlinkIdOverlaySettings settings = BlinkIdOverlaySettings();
settings.language = 'hr';

Have you maybe tried this already?

@mparadina
Copy link
Contributor

Hi @Twwisty

Just wanted to make a follow-up here.
Do you have any additional questions? Is it alright to close the issue?

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