Open stefan89 opened 5 years ago
Hi @stefan89,
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.
I have also seen this. I know that different people has had this crash. Meaning i think this also happens when mobile is left in background for a while.
Additional information: Ive recorded 4 devices: Samsung galaxy s7 (HeroLte) Samsung galaxy s7 Edge (hero2Lte) Samsung galaxy s8 (DreamLte) Samsung galaxy s9+ (Star2Lte)
It's generally when it tries to lock in the background ... I usually lock on suspend and then disable the lock timer if you are using one
We are experiencing this as well:
FingerprintDialogFragment.OnResume () Fragment.n_OnResume (System.IntPtr jnienv, System.IntPtr native__this) (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.27(intptr,intptr)
Affected OSs to date:
Affected devices to date:
Can you guys have a look at, pls: https://github.com/smstuebe/xamarin-fingerprint/issues/151 These stupid crashes should be fixed, because the fragment is now the official one from google :D
Will do! Thanks for the quick response!
Currently we encounter a NullReferenceException when Android restores an activity when a FingerprintDialogFragment is visible.
I can reproduce the same issue using the Sample app of this project with the following steps:
Steps to reproduce
In Android developer options on your device, enable "Don't keep activities". This will enforce that activities will be destroyed when navigating away from an activity (for example when your app goes to the background).
Open the app and call this to get the fragment dialog in an Activity:
var result = await CrossFingerprint.Current.AuthenticateAsync (authConfig, cancellationTokenSource.Token);