smstuebe / xamarin-fingerprint

Xamarin and MvvMCross plugin for authenticate a user via fingerprint sensor
Microsoft Public License
490 stars 115 forks source link

UI Hanged in Second Authentication with AllowAlternativeAuthentication on #160

Open ericc0504 opened 4 years ago

ericc0504 commented 4 years ago

With AllowAlternativeAuthentication set to true, UI hanged in the second authentication.

Steps to reproduce

  1. Authenticate once (either set AllowAlternativeAuthentication to true or false, authenticate success or fail)

  2. Authenticate again with AllowAlternativeAuthentication set to true

Expected behavior

Open up the authentication dialog

Actual behavior

UI Hanged

Crashlog

N/A

Configuration

Version of the Plugin: 2.0.0

Platform: e.g. Android 9.0

Device: Nokia 6.1 Plus

BioAuthDemo.zip

smsissuechecker commented 4 years ago

Hi @ericc0504,

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.

smstuebe commented 4 years ago

Damn. I had this issue with the first biometric bindings, too. But I could not reproduce it later so I thought this was fixed. Unfortunately I think this is an issue of the underlying androidx library. I'll try to investigate this asap.

ericc0504 commented 4 years ago

Thank you. Look forward to the next release.

christianaldas commented 4 years ago

@smstuebe Hi, bro.. Do you have resolved this Issue?

smstuebe commented 4 years ago

@christianaldas nope. asap != now. And as I said, I'm not sure if I can fix it, because I experienced this bug also with my own androidx bindings in the first pre releases. That's why I assume, that this bug is in the native library. I found a workaround, but can't really remember what it was (something like invalidate/reload activity). And it had the side effect, that the activity reloaded.

christianaldas commented 4 years ago

So, this never will be fixed?

cwall-dev commented 4 years ago

It seems that it is a problem with the Package Xamarin.AndroidX.Biometric Version 1.0.0. If I reference the Version 1.0.1 in my app the problem is not reproducable anymore.