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

BiometricPrompt instance always maintained in the stack (Recent apps) in Android. #204

Open
ganesanvelusamy opened this issue Mar 18, 2021 · 2 comments

Comments

@ganesanvelusamy
Copy link

ganesanvelusamy commented Mar 18, 2021

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

  1. Start the application and BiometricPrompt will open.
  2. Now minimize the application without doing authentication and relaunch it again from the recent apps.
  3. Now again minimize the application.
  4. 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?

@smsissuechecker
Copy link

Hi @ganesanvelusamy,

I'm the friendly issue checker.
Thanks for using the issue template 🌟
I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.

@ganesanvelusamy
Copy link
Author

Any update on this?

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