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

CustomUI for android does not trigger on keyboard enter #57

Open
bbroereES opened this issue Jul 9, 2019 · 5 comments
Open

CustomUI for android does not trigger on keyboard enter #57

bbroereES opened this issue Jul 9, 2019 · 5 comments

Comments

@bbroereES
Copy link
Contributor

Using the plugin (7.0.1) on Nativescript angular (5.4.0) with custom android UI:
When the user chooses to use pin instead of fingerprint, enters the pincode and does not press 'OK' in the dialog but the enter key on the keyboard, the dialog gets closed but the callback of verifyFingerprint is never called.

@bbroereES bbroereES changed the title CustomUI for android not triggered after keyboard enter CustomUI for android does not trigger on keyboard enter Jul 9, 2019
@larxenne
Copy link

I have the exact same issue, did you find any solution ?

@bbroereES
Copy link
Contributor Author

Yes, I did :)
See this feature request:

This can be achieved by setting the use_password string in strings.xml to empty. The button to cancel will not be shown. Request to update readme to inform others.

@larxenne
Copy link

I tried it, but this remove the cancel button.
If I chose the password option and then use the enter key on the keyboard instead of the 'Ok' button, the callback is still not triggered.

@bbroereES
Copy link
Contributor Author

Could reproduce, don't see an immediate fix though... For me the solution was to just remove the fallback option, but you are right, the callback is not triggered.

@larxenne
Copy link

Yes, actually with the 'Cancel' button, you fallback in the catch.
The enter key is not triggering anything.

That's sad, i cannot use the customandroidui, I guess i l use the basic one

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