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

Make available for setting tooltipLabel property #11

Closed
hunght opened this issue Aug 18, 2017 · 4 comments
Closed

Make available for setting tooltipLabel property #11

hunght opened this issue Aug 18, 2017 · 4 comments

Comments

@hunght
Copy link

hunght commented Aug 18, 2017

Please make available for setting tooltipLabel property, I knew it can do this on blinkid-ios

@ghensley
Copy link

This was added to blinkid-react-native-ios, but hasn't been added to the merged project. I ran into difficulties trying to figure out how to do it for android, since I believe it required replacing the entire overlay.

@hunght
Copy link
Author

hunght commented Aug 20, 2017

I only need on iOS, so could be any way to use it on iOS

@ghensley
Copy link

ghensley commented Aug 22, 2017

If you use: https://github.com/BlinkID/blinkid-react-native-ios you can set the options boxRatio and tooltipText.

I use this for USDL barcodes, since we had a lot of issues with users not understanding that they were supposed to put the barcode in the card-shaped rectangle:

scan({
    boxRatio: 2.5,
    tooltipText: "Scan the barcode",
    isFrontCamera: false,
    addEudlRecognizer: false,
    addMrtdRecognizer: false,
    addUsdlRecognizer: true,
    shouldReturnCroppedDocument: true,
    shouldReturnSuccessfulFrame: true
  })

@hunght
Copy link
Author

hunght commented Aug 23, 2017

thank you, i already create a branch that fork and merge what you did to make tooltipLabel available on iOS, so no need to do here, i will off this topic.

@hunght hunght closed this as completed Aug 23, 2017
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