Closed ghost closed 7 years ago
Hi @Yadrian,
I'm the friendly issue checker. Thanks for using the issue template :kissing_heart: I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.
Fixed in version 1.4.2
Thank you very much #smstuebe (will be better call you for a name instead)!!! I will check and let you know.
Bug fixed!!!
Steps to reproduce
Open an app with fingerprint integrated.
When you see the fingerprint dialog, tap 2 or 3 time in the "Cancel" button or tap twice in the "Use Fallback" button.
The app will crash.
Expected behavior
The app should not crash.
Actual behavior
The app Crash.
Crashlog
System.InvalidOperationException: An attempt was made to transition a task to a final state when it had already completed. at System.Threading.Tasks.TaskCompletionSource`1[TResult].SetResult (TResult result) [0x0000c] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/TaskCompletionSource.cs:322 at Plugin.Fingerprint.Dialog.FingerprintDialogFragment+d20.MoveNext () [0x00082] in C:\Projekte\xamarin-fingerprint\src\Plugin.Fingerprint.Android\Dialog\FingerprintDialogFragment.cs:127
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.m 0 (System.Object state) [0x00000] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1018
at Android.App.SyncContext+cAnonStorey0.<>m0 () [0x00000] in /Users/builder/data/lanes/3511/501e63ce/source/xamarin-android/src/Mono.Android/Android.App/SyncContext.cs:18
at Java.Lang.Thread+RunnableImplementor.Run () [0x0000b] in /Users/builder/data/lanes/3511/501e63ce/source/xamarin-android/src/Mono.Android/Java.Lang/Thread.cs:36
at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in /Users/builder/data/lanes/3511/501e63ce/source/monodroid/src/Mono.Android/platforms/android-23/src/generated/Java.Lang.IRunnable.cs:81
at at (wrapper dynamic-method) System.Object:3507f35d-d544-499c-814c-5b8a75e1249c (intptr,intptr)
Configuration
Version of the Plugin: 1.4.1
Platform: Android 6.0.1
Device: Samsung Galaxy S6