yourfriendken / local_auth_device_credentials

BSD 3-Clause "New" or "Revised" License
5 stars 7 forks source link

iOS crasher when authentication fails multiple times! #8

Open andersunloc opened 2 years ago

andersunloc commented 2 years ago

Seems like UIKit is called from a background thread somewhere?

2021-10-28 15:17:16.838209+0200 Runner[749:275838] [Animation] +[UIView setAnimationsEnabled:] being called from a background thread. Performing any operation from a background thread on UIView or a subclass is not supported and may result in unexpected and insidious behavior. trace=(
  0   UIKitCore                           0x00000001b63e8074 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 15552628
  1   libdispatch.dylib                   0x000000010acd3730 _dispatch_client_callout + 16
  2   libdispatch.dylib                   0x000000010acd5044 _dispatch_once_callout + 84
  3   UIKitCore                           0x00000001b63e7fd8 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 15552472
  4   UIKitCore                           0x00000001b63e8160 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 15552864
  5   UIKitCore                           0x00000001b630ca38 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 14654008
  6   UIKitCore                           0x00000001b630c98c F486088D-724E-3713-B9A5-7C9FE0A817D8 + 14653836
  7   UIKitCore                           0x00000001b554a128 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 225576
  8   UIKitCore                           0x00000001b5549580 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 222592
  9   UIKitCore                           0x00000001b55381d4 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 152020
  10  UIKitCore                           0x00000001b55358d4 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 141524
  11  UIKitCore                           0x00000001b55359a8 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 141736
  12  UIKitCore                           0x00000001b555f790 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 313232
  13  UIKitCore                           0x00000001b557f24c F486088D-724E-3713-B9A5-7C9FE0A817D8 + 442956
  14  UIKitCore                           0x00000001b557e4d4 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 439508
  15  UIKitCore                           0x00000001b557e460 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 439392
  16  UIKitCore                           0x00000001b55683e0 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 349152
  17  UIKitCore                           0x00000001b58fddf0 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 4107760
  18  UIKitCore                           0x00000001b58fe4f4 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 4109556
  19  UIKitCore                           0x00000001b5913b70 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 4197232
  20  UIKitCore                           0x00000001b590c960 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 4168032
  21  UIKitCore                           0x00000001b590e35c F486088D-724E-3713-B9A5-7C9FE0A817D8 + 4174684
  22  UIKitCore                           0x00000001b5910868 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 4184168
  23  UIKitCore                           0x00000001b5910d70 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 4185456
  24  UIKitCore                           0x00000001b59107b8 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 4183992
  25  UIKitCore                           0x00000001b5910a24 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 4184612
  26  Flutter                             0x00000001087d4790 -[FlutterViewController presentViewController:animated:completion:] + 140
  27  local_auth_device_credentials       0x00000001082dd5e8 -[FLTLocalAuthPlugin alertMessage:firstButton:flutterResult:additionalButton:] + 660
  28  local_auth_device_credentials       0x00000001082de5b4 -[FLTLocalAuthPlugin handleErrors:flutterArguments:withFlutterResult:] + 588
  29  local_auth_device_credentials       0x00000001082ddd74 __67-[FLTLocalAuthPlugin authenticateWithBiometrics:withFlutterResult:]_block_invoke + 228
  30  LocalAuthentication                 0x00000001cae4a350 EC5A09DA-7EDE-36B9-B782-D761867B6B5D + 41808
  31  LocalAuthentication                 0x00000001cae49964 EC5A09DA-7EDE-36B9-B782-D761867B6B5D + 39268
  32  libdispatch.dylib                   0x000000010acd2338 _dispatch_call_block_and_release + 24
  33  libdispatch.dylib                   0x000000010acd3730 _dispatch_client_callout + 16
  34  libdispatch.dylib                   0x000000010acd5e88 _dispatch_queue_override_invoke + 872
  35  libdispatch.dylib                   0x000000010ace4d74 _dispatch_root_queue_drain + 376
  36  libdispatch.dylib                   0x000000010ace5698 _dispatch_worker_thread2 + 152
  37  libsystem_pthread.dylib             0x00000001b1ba4b38 _pthread_wqthread + 212
  38  libsystem_pthread.dylib             0x00000001b1ba7740 start_wqthread + 8