xamarin-fingerprint icon indicating copy to clipboard operation
xamarin-fingerprint copied to clipboard

Crash when restore instance state Android

Open thiagoparabas opened this issue 6 years ago • 3 comments

Cash show Auth.

Cashlog:

Fatal Exception: md5bcaacea39e485ed8e3d7f0e2edda77a7.MonoExceptionHelper: (NullReferenceException) Object reference not set to an instance of an object at Plugin.Fingerprint.Dialog.FingerprintDialogFragment.OnResume()[0x0000c] + 1(FingerprintDialogFragment0x0000c.cs:1) at Android.App.Fragment.n_OnResume(System.IntPtr jnienv, System.IntPtr native__this)[0x00009] + 1(Fragment0x00009.cs:1) at at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.77(intptr,intptr). + 1(unknown.cs:1)

thiagoparabas avatar Aug 02 '19 20:08 thiagoparabas

Hi @thiagoparabas,

I'm the friendly issue checker. It seems like (100.00 %) you haven't used our issue template :cry: I think it is very frustrating for the repository owners, if you ignore them.

If you think it's fine to make an exception, just ignore this message. But if you think it was a mistake to delete the template, please close the issue and create a new one.

Thanks!

smsissuechecker avatar Aug 02 '19 20:08 smsissuechecker

It's probably because you tried to lock it while it was in the background or something

stephenhauck avatar Sep 13 '19 17:09 stephenhauck

I also easily reproduce this issue (android 8.0 and android 10):

  • open the app
  • show the popup
  • move the app to background
  • stop the app ("stop process" in android device monitor, which is equivalent to the app being stopped by android after being left in background for a while)
  • launch the app again => crash

tranb3r avatar Oct 06 '19 10:10 tranb3r