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

Dialog Dismiss #48

Open
HardikLohogaonkar opened this issue Aug 13, 2019 · 5 comments
Open

Dialog Dismiss #48

HardikLohogaonkar opened this issue Aug 13, 2019 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@HardikLohogaonkar
Copy link

If we tap outside Biometric Dialog it is dismissing. It should remain as it is.

@pwittchen
Copy link
Owner

Are you sure it should remain as it is? This is system dialog and I didn't change its behavior, so I suppose it's default behavior.

@HardikLohogaonkar
Copy link
Author

Yes. If I accidentally tap outside dialog it will automatically close without authorizing, also there is a method named as onTouchOutside(). If you give us this option it will beneficial.

@pwittchen
Copy link
Owner

Ok, that sounds like a good idea.

@pwittchen pwittchen added enhancement New feature or request help wanted Extra attention is needed labels Aug 13, 2019
@HardikLohogaonkar
Copy link
Author

Just add this method to your dialog "setCanceledOnTouchOutside(false)"
This will prevent dialog from closing if we tap outside dialog.

@pwittchen
Copy link
Owner

Where exactly? BiometricPrompt.PromptInfo doesn't have such method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants