xamarin-fingerprint
xamarin-fingerprint copied to clipboard
BiometricPrompt instance always maintained in the stack (Recent apps) in Android.
I have implemented this plugin with two approaches, 1. Trying to authenticate my application whenever the application starts. 2. Minimize the application and resume it after some time (10 minutes)
Steps to reproduce
- Start the application and BiometricPrompt will open.
- Now minimize the application without doing authentication and relaunch it again from the recent apps.
- Now again minimize the application.
- View the recent apps and note that multiple instances of BiometricPrompt are maintained in the recent apps now.
Expected behavior
Duplicate instances of the BiometricPrompt should be removed from recent apps. Only one BiometricPrompt must be maintained at a time.
Actual behavior
Duplicate BiometricPrompts are maintained in the recent apps whenever minimizing the application without authenticating.
Crashlog
There is a crash log
Configuration
Version of the Plugin: 2.1.3
Platform: Android 10
Device: Android Simulators and Nokia 3.2
Another question:
Is there any way to programmatically close the BiometricPrompt(from the recent apps as well) when minimizing an application?
Hi @ganesanvelusamy,
I'm the friendly issue checker. Thanks for using the issue template :star2: I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.
Any update on this?