Open HardikLohogaonkar opened 5 years ago
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.
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.
Ok, that sounds like a good idea.
Just add this method to your dialog "setCanceledOnTouchOutside(false)" This will prevent dialog from closing if we tap outside dialog.
Where exactly? BiometricPrompt.PromptInfo doesn't have such method.
If we tap outside Biometric Dialog it is dismissing. It should remain as it is.