[local_auth] iOS App crashes after 5 (3+2) invalid input attempts

When I using biometrics on my application. It's working fine, but when biometrics failed many. It's crashing.
2019-12-19 23:30:39.842571+0700 Runner[4857:1457858] *** Terminating app due to uncaught exception.
NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'

Thank you!!

Hi @duynp117
can you please provide your updated  flutter doctor -v
and your flutter run --verbose?
Also, to better address the issue, would be helpful
if you could post  a minimal code sample
or the steps to reproduce the problem.
Thank you

`[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.1 19B88, locale en)
• Flutter version 1.12.13+hotfix.5 at /Users/duynp3/flutter
• Framework revision 27321ebbad (9 days ago), 2019-12-10 18:15:01 -0800
• Engine revision 2994f7e1e6
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/duynp3/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• ANDROID_HOME = /Users/duynp3/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3, Build version 11C29
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 41.1.2
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] IntelliJ IDEA Community Edition (version 2019.2.4)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 41.1.4
• Dart plugin version 192.7402
[✓] VS Code (version 1.41.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.7.1
`
I click button -> show biometrics -> touch in to my touchid (using different finger for biometrics fail) -> biometrics hide -> I re-click button -> ......... when my biometrics on my device is locked -> app crash.
Thank you!!

@duynp117
does the issue persist with the last version of local_auth?

@VladyslavBondarenko I am seeing the same behavior in latest version of local_auth (e.g. 0.6.1+3) - so it does appear to be still happening.

Hi @VladyslavBondarenko.
Still happens on local_auth v0.6.2+2
I made a PR to fix this. https://github.com/flutter/plugins/pull/2760
Just wrapped the alertMessage with dispatch_async
     dispatch_async(dispatch_get_main_queue(), ^{
       [self alertMessage:arguments[@"lockOut"]
          firstButton:arguments[@"okButton"]
         flutterResult:result
       additionalButton:nil];
     });
   return;

Thanks

I also get this error but it's when I select an image with image_provider for the second time on the simulator.
[✓] Flutter (Channel dev, 1.23.0-4.0.pre, on Mac OS X 10.15.6 19G2005 x86_64, locale en-GB)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
[✓] Chrome - develop for the web
[!] Android Studio (version 4.0)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] IntelliJ IDEA Ultimate Edition (version 2020.2.2)
[✓] VS Code (version 1.49.1)
[✓] Connected device (4 available)

2020-09-29 16:39:29.462541+0300 Runner[4602:789083] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.
 Stack:(
	0   CoreAutoLayout                      0x000000010c22cc53 _AssertAutoLayoutOnAllowedThreadsOnly + 190
	1   CoreAutoLayout                      0x000000010c22c9de -[NSISEngine _optimizeWithoutRebuilding] + 54
	2   CoreAutoLayout                      0x000000010c22c511 -[NSISEngine optimize] + 92
	3   CoreAutoLayout                      0x000000010c22797c -[NSISEngine performPendingChangeNotifications] + 82
	4   UIKitCore                           0x000000011418c2ee -[UIView(Hierarchy) layoutSubviews] + 491
	5   UIKitCore                           0x000000011419f9ce -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2874
	6   QuartzCore                          0x000000010da0ad87 -[CALayer layoutSublayers] + 258
	7   QuartzCore                          0x000000010da11239 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 575
	8   QuartzCore                          0x000000010da1cf91 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 65
	9   QuartzCore                          0x000000010d95d078 _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 496
	10  QuartzCore                          0x000000010d993e13 _ZN2CA11Transaction6commitEv + 783
	11  Flutter                             0x000000010575ed7e _ZN7flutter10IOSSurface11SubmitFrameEP15GrDirectContextNSt3__110unique_ptrINS_12SurfaceFrameENS3_14default_deleteIS5_EEEE + 282
	12  Flutter                             0x0000000105a9d413 _ZN7flutter10Rasterizer13DrawToSurfaceERNS_9LayerTreeE + 493
	13  Flutter                             0x0000000105a9e05b _ZN7flutter10Rasterizer6DoDrawENSt3__110unique_ptrINS_9LayerTreeENS1_14default_deleteIS3_EEEE + 123
	14  Flutter                             0x0000000105a9ed4b _ZNSt3__110__function6__funcIZN7flutter10Rasterizer4DrawEN3fml6RefPtrINS2_8PipelineINS2_9LayerTreeEEEEEE3$_1NS_9allocatorISA_EEFvNS_10unique_ptrIS7_NS_14default_deleteIS7_EEEEEEclEOSG_ + 41
	15  Flutter                             0x0000000105a9d86e _ZN7flutter8PipelineINS_9LayerTreeEE7ConsumeERKNSt3__18functionIFvNS3_10unique_ptrIS1_NS3_14default_deleteIS1_EEEEEEE + 222
	16  Flutter                             0x0000000105a9d56a _ZN7flutter10Rasterizer4DrawEN3fml6RefPtrINS_8PipelineINS_9LayerTreeEEEEE + 128
	17  Flutter                             0x0000000105aaed3e _ZNSt3__110__function6__funcIZN7flutter5Shell14OnAnimatorDrawEN3fml6RefPtrINS2_8PipelineINS2_9LayerTreeEEEEENS4_9TimePointEE4$_30NS_9allocatorISB_EEFvvEEclEv + 82
	18  Flutter                             0x0000000105768056 _ZN3fml15MessageLoopImpl10FlushTasksENS_9FlushTypeE + 160
	19  Flutter                             0x000000010576cdc6 _ZN3fml17MessageLoopDarwin11OnTimerFireEP16__CFRunLoopTimerPS0_ + 26
	20  CoreFoundation                      0x0000000108b6b112 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
	21  CoreFoundation                      0x0000000108b6abe5 __CFRunLoopDoTimer + 926
	22  CoreFoundation                      0x0000000108b6a198 __CFRunLoopDoTimers + 265
	23  CoreFoundation                      0x0000000108b64826 __CFRunLoopRun + 1949
	24  CoreFoundation                      0x0000000108b63b9e CFRunLoopRunSpecific + 567
	25  Flutter                             0x000000010576cef1 _ZN3fml17MessageLoopDarwin3RunEv + 65
	26  Flutter                             0x0000000105767f6a _ZN3fml15MessageLoopImpl5DoRunEv + 22
	27  Flutter                             0x000000010576bbf0 _ZNSt3__114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN3fml6ThreadC1ERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEE3$_0EEEEEPvSJ_ + 170
	28  libsystem_pthread.dylib             0x00007fff5dcdc109 _pthread_start + 148
	29  libsystem_pthread.dylib             0x00007fff5dcd7b8b thread_start + 15
)
2020-09-29 16:39:29.483424+0300 Runner[4602:789083] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'
*** First throw call stack:
(
	0   CoreFoundation                      0x0000000108bfc126 __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x0000000108a8cf78 objc_exception_throw + 48
	2   CoreAutoLayout                      0x000000010c22cd41 -[NSISEngine tryToOptimizeReturningMutuallyExclusiveConstraints] + 0
	3   CoreAutoLayout                      0x000000010c22c9de -[NSISEngine _optimizeWithoutRebuilding] + 54
	4   CoreAutoLayout                      0x000000010c22c511 -[NSISEngine optimize] + 92
	5   CoreAutoLayout                      0x000000010c22797c -[NSISEngine performPendingChangeNotifications] + 82
	6   UIKitCore                           0x000000011418c2ee -[UIView(Hierarchy) layoutSubviews] + 491
	7   UIKitCore                           0x000000011419f9ce -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2874
	8   QuartzCore                          0x000000010da0ad87 -[CALayer layoutSublayers] + 258
	9   QuartzCore                          0x000000010da11239 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 575
	10  QuartzCore                          0x000000010da1cf91 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 65
	11  QuartzCore                          0x000000010d95d078 _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 496
	12  QuartzCore                          0x000000010d993e13 _ZN2CA11Transaction6commitEv + 783
	13  Flutter                             0x000000010575ed7e _ZN7flutter10IOSSurface11SubmitFrameEP15GrDirectContextNSt3__110unique_ptrINS_12SurfaceFrameENS3_14default_deleteIS5_EEEE + 282
	14  Flutter                             0x0000000105a9d413 _ZN7flutter10Rasterizer13DrawToSurfaceERNS_9LayerTreeE + 493
	15  Flutter                             0x0000000105a9e05b _ZN7flutter10Rasterizer6DoDrawENSt3__110unique_ptrINS_9LayerTreeENS1_14default_deleteIS3_EEEE + 123
	16  Flutter                             0x0000000105a9ed4b _ZNSt3__110__function6__funcIZN7flutter10Rasterizer4DrawEN3fml6RefPtrINS2_8PipelineINS2_9LayerTreeEEEEEE3$_1NS_9allocatorISA_EEFvNS_10unique_ptrIS7_NS_14default_deleteIS7_EEEEEEclEOSG_ + 41
	17  Flutter                             0x0000000105a9d86e _ZN7flutter8PipelineINS_9LayerTreeEE7ConsumeERKNSt3__18functionIFvNS3_10unique_ptrIS1_NS3_14default_deleteIS1_EEEEEEE + 222
	18  Flutter                             0x0000000105a9d56a _ZN7flutter10Rasterizer4DrawEN3fml6RefPtrINS_8PipelineINS_9LayerTreeEEEEE + 128
	19  Flutter                             0x0000000105aaed3e _ZNSt3__110__function6__funcIZN7flutter5Shell14OnAnimatorDrawEN3fml6RefPtrINS2_8PipelineINS2_9LayerTreeEEEEENS4_9TimePointEE4$_30NS_9allocatorISB_EEFvvEEclEv + 82
	20  Flutter                             0x0000000105768056 _ZN3fml15MessageLoopImpl10FlushTasksENS_9FlushTypeE + 160
	21  Flutter                             0x000000010576cdc6 _ZN3fml17MessageLoopDarwin11OnTimerFireEP16__CFRunLoopTimerPS0_ + 26
	22  CoreFoundation                      0x0000000108b6b112 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
	23  CoreFoundation                      0x0000000108b6abe5 __CFRunLoopDoTimer + 926
	24  CoreFoundation                      0x0000000108b6a198 __CFRunLoopDoTimers + 265
	25  CoreFoundation                      0x0000000108b64826 __CFRunLoopRun + 1949
	26  CoreFoundation                      0x0000000108b63b9e CFRunLoopRunSpecific + 567
	27  Flutter                             0x000000010576cef1 _ZN3fml17MessageLoopDarwin3RunEv + 65
	28  Flutter                             0x0000000105767f6a _ZN3fml15MessageLoopImpl5DoRunEv + 22
	29  Flutter                             0x000000010576bbf0 _ZNSt3__114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN3fml6ThreadC1ERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEE3$_0EEEEEPvSJ_ + 170
	30  libsystem_pthread.dylib             0x00007fff5dcdc109 _pthread_start + 148
	31  libsystem_pthread.dylib             0x00007fff5dcd7b8b thread_start + 15
)
libc++abi.dylib: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'
terminating with uncaught exception of type NSException
CoreSimulator 732.17 - Device: iPhone 11 Pro Max (2A401DA5-FC5A-4C8E-8050-1251A640F407) - Runtime: iOS 14.0 (18A372) - DeviceType: iPhone 11 Pro Max
(lldb)

temporary solution, I custom from local_auth and use for my project
https://pub.dev/packages/local_auth_custom

I can reproduce the issue using touch ID, it exactly crashes after 3+2 also on debug mode.
I only have an iPad with Touch ID since XR doesn't have it and FaceID doesn't register invalid input so it doesn't crash for me but I suspect it would crash on iPhone with Touch ID as well.

Preview

code sample
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// ignore_for_file: public_member_api_docs

import 'dart:async';

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:local_auth/local_auth.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final LocalAuthentication auth = LocalAuthentication();
  bool _canCheckBiometrics;
  List<BiometricType> _availableBiometrics;
  String _authorized = 'Not Authorized';
  bool _isAuthenticating = false;

  Future<void> _checkBiometrics() async {
    bool canCheckBiometrics;
    try {
      canCheckBiometrics = await auth.canCheckBiometrics;
    } on PlatformException catch (e) {
      print(e);
    }
    if (!mounted) return;

    setState(() {
      _canCheckBiometrics = canCheckBiometrics;
    });
  }

  Future<void> _getAvailableBiometrics() async {
    List<BiometricType> availableBiometrics;
    try {
      availableBiometrics = await auth.getAvailableBiometrics();
    } on PlatformException catch (e) {
      print(e);
    }
    if (!mounted) return;

    setState(() {
      _availableBiometrics = availableBiometrics;
    });
  }

  Future<void> _authenticate() async {
    bool authenticated = false;
    try {
      setState(() {
        _isAuthenticating = true;
        _authorized = 'Authenticating';
      });
      authenticated = await auth.authenticateWithBiometrics(
          localizedReason: 'Scan your fingerprint to authenticate',
          useErrorDialogs: true,
          stickyAuth: true);
      setState(() {
        _isAuthenticating = false;
        _authorized = 'Authenticating';
      });
    } on PlatformException catch (e) {
      print(e);
    }
    if (!mounted) return;

    final String message = authenticated ? 'Authorized' : 'Not Authorized';
    setState(() {
      _authorized = message;
    });
  }

  void _cancelAuthentication() {
    auth.stopAuthentication();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        home: Scaffold(
      appBar: AppBar(
        title: const Text('Plugin example app'),
      ),
      body: ConstrainedBox(
          constraints: const BoxConstraints.expand(),
          child: Column(
              mainAxisAlignment: MainAxisAlignment.spaceAround,
              children: <Widget>[
                Text('Can check biometrics: $_canCheckBiometrics\n'),
                RaisedButton(
                  child: const Text('Check biometrics'),
                  onPressed: _checkBiometrics,
                ),
                Text('Available biometrics: $_availableBiometrics\n'),
                RaisedButton(
                  child: const Text('Get available biometrics'),
                  onPressed: _getAvailableBiometrics,
                ),
                Text('Current State: $_authorized\n'),
                RaisedButton(
                  child: Text(_isAuthenticating ? 'Cancel' : 'Authenticate'),
                  onPressed:
                      _isAuthenticating ? _cancelAuthentication : _authenticate,
                )
              ])),
    ));
  }
}

Xcode crash logs
2021-01-13 13:06:01.747194+0530 Runner[81286:6460325] Metal API Validation Enabled
2021-01-13 13:06:01.980978+0530 Runner[81286:6460623] flutter: Observatory listening on http://<IP_ADDRESS>:57199/yX5zX1Pu4GQ=/
2021-01-13 13:06:50.026040+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.030731+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.032865+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.033073+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.033234+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.033502+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.033664+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.033759+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.033856+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.033987+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.035011+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.035401+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.035744+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.037170+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.037342+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.037484+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.068386+0530 Runner[81286:6460994] [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                           0x00000001997455f8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 17860088
	1   libdispatch.dylib                   0x00000001031c96c0 _dispatch_client_callout + 20
	2   libdispatch.dylib                   0x00000001031cb1f8 _dispatch_once_callout + 136
	3   UIKitCore                           0x000000019974557c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 17859964
	4   UIKitCore                           0x00000001997456e8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 17860328
	5   UIKitCore                           0x00000001996494cc 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 16827596
	6   UIKitCore                           0x0000000199649404 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 16827396
	7   UIKitCore                           0x000000019867eaf0 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 269040
	8   UIKitCore                           0x000000019867de4c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 265804
	9   UIKitCore                           0x000000019866b7f0 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 190448
	10  UIKitCore                           0x0000000198668be0 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 179168
	11  UIKitCore                           0x0000000198668cc8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 179400
	12  UIKitCore                           0x000000019869aff8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 385016
	13  UIKitCore                           0x00000001986c3a18 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 551448
	14  UIKitCore                           0x00000001986c2b8c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 547724
	15  UIKitCore                           0x00000001986c2af0 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 547568
	16  UIKitCore                           0x00000001986a4b60 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 424800
	17  UIKitCore                           0x0000000198ae1f50 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4869968
	18  UIKitCore                           0x0000000198ae2608 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4871688
	19  UIKitCore                           0x0000000198af9648 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4965960
	20  UIKitCore                           0x0000000198af17b8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4933560
	21  UIKitCore                           0x0000000198af4dbc 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4947388
	22  UIKitCore                           0x0000000198af5d40 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4951360
	23  UIKitCore                           0x0000000198af60a0 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4952224
	24  UIKitCore                           0x0000000198af5c8c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4951180
	25  UIKitCore                           0x0000000198af617c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4952444
	26  Flutter                             0x00000001011de838 -[FlutterViewController presentViewController:animated:completion:] + 140
	27  local_auth                          0x000000010119f5d0 -[FLTLocalAuthPlugin alertMessage:firstButton:flutterResult:additionalButton:] + 756
	28  local_auth                          0x00000001011a0324 -[FLTLocalAuthPlugin handleErrors:flutterArguments:withFlutterResult:] + 696
	29  local_auth                          0x000000010119fe68 __67-[FLTLocalAuthPlugin authenticateWithBiometrics:withFlutterResult:]_block_invoke + 264
	30  LocalAuthentication                 0x00000001c35d6110 E07C72E2-D6CB-36C4-AFE9-108965C008F5 + 57616
	31  LocalAuthentication                 0x00000001c35d56ec E07C72E2-D6CB-36C4-AFE9-108965C008F5 + 55020
	32  libdispatch.dylib                   0x00000001031c7bcc _dispatch_call_block_and_release + 32
	33  libdispatch.dylib                   0x00000001031c96c0 _dispatch_client_callout + 20
	34  libdispatch.dylib                   0x00000001031cc0ec _dispatch_queue_override_invoke + 952
	35  libdispatch.dylib                   0x00000001031dcae0 _dispatch_root_queue_drain + 364
	36  libdispatch.dylib                   0x00000001031dd488 _dispatch_worker_thread2 + 140
	37  libsystem_pthread.dylib             0x00000001e136b7c8 _pthread_wqthread + 216
	38  libsystem_pthread.dylib             0x00000001e137275c start_wqthread + 8
)
2021-01-13 13:06:50.084026+0530 Runner[81286:6460994] [Assert] Unsupported use of UIKit view-customization API off the main thread. -setHasDimmingView: sent to <_UIAlertControllerView: 0x14170f670; frame = (0 0; 1080 810); layer = <CALayer: 0x2824c63c0>>
2021-01-13 13:06:50.084239+0530 Runner[81286:6460994] [Assert] Unsupported use of UIKit view-customization API off the main thread. -setShouldHaveBackdropView: sent to <_UIAlertControllerView: 0x14170f670; frame = (0 0; 1080 810); layer = <CALayer: 0x2824c63c0>>
2021-01-13 13:06:50.084315+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.084414+0530 Runner[81286:6460994] [Assert] Unsupported use of UIKit view-customization API off the main thread. -setAlignsToKeyboard: sent to <_UIAlertControllerView: 0x14170f670; frame = (0 0; 1080 810); layer = <CALayer: 0x2824c63c0>>
2021-01-13 13:06:50.085988+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.093715+0530 Runner[81286:6460994] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.
 Stack:(
	0   CoreAutoLayout                      0x00000001aba69110 44455E87-A631-30BC-B647-11F4F92D70ED + 65808
	1   CoreAutoLayout                      0x00000001aba694e8 44455E87-A631-30BC-B647-11F4F92D70ED + 66792
	2   UIKitCore                           0x000000019965ccc8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 16907464
	3   UIKitCore                           0x000000019965e168 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 16912744
	4   UIKitCore                           0x00000001986caef8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 581368
	5   UIKitCore                           0x00000001986c64b4 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 562356
	6   UIKitCore                           0x00000001986c6728 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 562984
	7   UIKitCore                           0x00000001986c6bfc 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 564220
	8   UIKitCore                           0x00000001986cb7e4 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 583652
	9   UIKitCore                           0x00000001986cb61c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 583196
	10  UIKitCore                           0x00000001986a4ca8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 425128
	11  UIKitCore                           0x0000000198ae1f50 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4869968
	12  UIKitCore                           0x0000000198ae2608 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4871688
	13  UIKitCore                           0x0000000198af9648 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4965960
	14  UIKitCore                           0x0000000198af17b8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4933560
	15  UIKitCore                           0x0000000198af4dbc 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4947388
	16  UIKitCore                           0x0000000198af5d40 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4951360
	17  UIKitCore                           0x0000000198af60a0 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4952224
	18  UIKitCore                           0x0000000198af5c8c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4951180
	19  UIKitCore                           0x0000000198af617c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4952444
	20  Flutter                             0x00000001011de838 -[FlutterViewController presentViewController:animated:completion:] + 140
	21  local_auth                          0x000000010119f5d0 -[FLTLocalAuthPlugin alertMessage:firstButton:flutterResult:additionalButton:] + 756
	22  local_auth                          0x00000001011a0324 -[FLTLocalAuthPlugin handleErrors:flutterArguments:withFlutterResult:] + 696
	23  local_auth                          0x000000010119fe68 __67-[FLTLocalAuthPlugin authenticateWithBiometrics:withFlutterResult:]_block_invoke + 264
	24  LocalAuthentication                 0x00000001c35d6110 E07C72E2-D6CB-36C4-AFE9-108965C008F5 + 57616
	25  LocalAuthentication                 0x00000001c35d56ec E07C72E2-D6CB-36C4-AFE9-108965C008F5 + 55020
	26  libdispatch.dylib                   0x00000001031c7bcc _dispatch_call_block_and_release + 32
	27  libdispatch.dylib                   0x00000001031c96c0 _dispatch_client_callout + 20
	28  libdispatch.dylib                   0x00000001031cc0ec _dispatch_queue_override_invoke + 952
	29  libdispatch.dylib                   0x00000001031dcae0 _dispatch_root_queue_drain + 364
	30  libdispatch.dylib                   0x00000001031dd488 _dispatch_worker_thread2 + 140
	31  libsystem_pthread.dylib             0x00000001e136b7c8 _pthread_wqthread + 216
	32  libsystem_pthread.dylib             0x00000001e137275c start_wqthread + 8
)
2021-01-13 13:06:50.097005+0530 Runner[81286:6460994] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main

flutter_run.log

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (5 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (1 available)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios • iOS 14.3

! Doctor found issues in 1 category.

[✓] Flutter (Channel beta, 1.25.0-8.2.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.25.0-8.2.pre at /Users/tahatesser/Code/flutter_beta
    • Framework revision b0a2299859 (7 days ago), 2021-01-05 12:34:13 -0800
    • Engine revision 92ae191c17
    • Dart version 2.12.0 (build 2.12.0-133.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (2 available)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.3
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

[✓] Flutter (Channel dev, 1.26.0-1.0.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-1.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision 63062a6443 (4 weeks ago), 2020-12-13 23:19:13 +0800
    • Engine revision 4797b06652
    • Dart version 2.12.0 (build 2.12.0-141.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (3 available)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.3
    • macOS (desktop)      • macos                     • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

[✓] Flutter (Channel master, 1.26.0-2.0.pre.313, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.313 at /Users/tahatesser/Code/flutter_master
    • Framework revision 1cb0a24a46 (2 hours ago), 2021-01-12 21:39:27 -0800
    • Engine revision 10cee6abcb
    • Dart version 2.12.0 (build 2.12.0-214.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (3 available)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.3
    • macOS (desktop)      • macos                     • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

I can reproduce the issue using touch ID, it exactly crashes after 3+2 also on debug mode.
I only have an iPad with Touch ID since XR doesn't have it and FaceID doesn't register invalid input so it doesn't crash for me but I suspect it would crash on iPhone with Touch ID as well.

Preview

code sample
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// ignore_for_file: public_member_api_docs

import 'dart:async';

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:local_auth/local_auth.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final LocalAuthentication auth = LocalAuthentication();
  bool _canCheckBiometrics;
  List<BiometricType> _availableBiometrics;
  String _authorized = 'Not Authorized';
  bool _isAuthenticating = false;

  Future<void> _checkBiometrics() async {
    bool canCheckBiometrics;
    try {
      canCheckBiometrics = await auth.canCheckBiometrics;
    } on PlatformException catch (e) {
      print(e);
    }
    if (!mounted) return;

    setState(() {
      _canCheckBiometrics = canCheckBiometrics;
    });
  }

  Future<void> _getAvailableBiometrics() async {
    List<BiometricType> availableBiometrics;
    try {
      availableBiometrics = await auth.getAvailableBiometrics();
    } on PlatformException catch (e) {
      print(e);
    }
    if (!mounted) return;

    setState(() {
      _availableBiometrics = availableBiometrics;
    });
  }

  Future<void> _authenticate() async {
    bool authenticated = false;
    try {
      setState(() {
        _isAuthenticating = true;
        _authorized = 'Authenticating';
      });
      authenticated = await auth.authenticateWithBiometrics(
          localizedReason: 'Scan your fingerprint to authenticate',
          useErrorDialogs: true,
          stickyAuth: true);
      setState(() {
        _isAuthenticating = false;
        _authorized = 'Authenticating';
      });
    } on PlatformException catch (e) {
      print(e);
    }
    if (!mounted) return;

    final String message = authenticated ? 'Authorized' : 'Not Authorized';
    setState(() {
      _authorized = message;
    });
  }

  void _cancelAuthentication() {
    auth.stopAuthentication();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        home: Scaffold(
      appBar: AppBar(
        title: const Text('Plugin example app'),
      ),
      body: ConstrainedBox(
          constraints: const BoxConstraints.expand(),
          child: Column(
              mainAxisAlignment: MainAxisAlignment.spaceAround,
              children: <Widget>[
                Text('Can check biometrics: $_canCheckBiometrics\n'),
                RaisedButton(
                  child: const Text('Check biometrics'),
                  onPressed: _checkBiometrics,
                ),
                Text('Available biometrics: $_availableBiometrics\n'),
                RaisedButton(
                  child: const Text('Get available biometrics'),
                  onPressed: _getAvailableBiometrics,
                ),
                Text('Current State: $_authorized\n'),
                RaisedButton(
                  child: Text(_isAuthenticating ? 'Cancel' : 'Authenticate'),
                  onPressed:
                      _isAuthenticating ? _cancelAuthentication : _authenticate,
                )
              ])),
    ));
  }
}

Xcode crash logs
2021-01-13 13:06:01.747194+0530 Runner[81286:6460325] Metal API Validation Enabled
2021-01-13 13:06:01.980978+0530 Runner[81286:6460623] flutter: Observatory listening on http://<IP_ADDRESS>:57199/yX5zX1Pu4GQ=/
2021-01-13 13:06:50.026040+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.030731+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.032865+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.033073+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.033234+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.033502+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.033664+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.033759+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.033856+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.033987+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.035011+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.035401+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.035744+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.037170+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.037342+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.037484+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.068386+0530 Runner[81286:6460994] [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                           0x00000001997455f8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 17860088
	1   libdispatch.dylib                   0x00000001031c96c0 _dispatch_client_callout + 20
	2   libdispatch.dylib                   0x00000001031cb1f8 _dispatch_once_callout + 136
	3   UIKitCore                           0x000000019974557c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 17859964
	4   UIKitCore                           0x00000001997456e8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 17860328
	5   UIKitCore                           0x00000001996494cc 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 16827596
	6   UIKitCore                           0x0000000199649404 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 16827396
	7   UIKitCore                           0x000000019867eaf0 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 269040
	8   UIKitCore                           0x000000019867de4c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 265804
	9   UIKitCore                           0x000000019866b7f0 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 190448
	10  UIKitCore                           0x0000000198668be0 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 179168
	11  UIKitCore                           0x0000000198668cc8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 179400
	12  UIKitCore                           0x000000019869aff8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 385016
	13  UIKitCore                           0x00000001986c3a18 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 551448
	14  UIKitCore                           0x00000001986c2b8c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 547724
	15  UIKitCore                           0x00000001986c2af0 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 547568
	16  UIKitCore                           0x00000001986a4b60 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 424800
	17  UIKitCore                           0x0000000198ae1f50 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4869968
	18  UIKitCore                           0x0000000198ae2608 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4871688
	19  UIKitCore                           0x0000000198af9648 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4965960
	20  UIKitCore                           0x0000000198af17b8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4933560
	21  UIKitCore                           0x0000000198af4dbc 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4947388
	22  UIKitCore                           0x0000000198af5d40 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4951360
	23  UIKitCore                           0x0000000198af60a0 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4952224
	24  UIKitCore                           0x0000000198af5c8c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4951180
	25  UIKitCore                           0x0000000198af617c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4952444
	26  Flutter                             0x00000001011de838 -[FlutterViewController presentViewController:animated:completion:] + 140
	27  local_auth                          0x000000010119f5d0 -[FLTLocalAuthPlugin alertMessage:firstButton:flutterResult:additionalButton:] + 756
	28  local_auth                          0x00000001011a0324 -[FLTLocalAuthPlugin handleErrors:flutterArguments:withFlutterResult:] + 696
	29  local_auth                          0x000000010119fe68 __67-[FLTLocalAuthPlugin authenticateWithBiometrics:withFlutterResult:]_block_invoke + 264
	30  LocalAuthentication                 0x00000001c35d6110 E07C72E2-D6CB-36C4-AFE9-108965C008F5 + 57616
	31  LocalAuthentication                 0x00000001c35d56ec E07C72E2-D6CB-36C4-AFE9-108965C008F5 + 55020
	32  libdispatch.dylib                   0x00000001031c7bcc _dispatch_call_block_and_release + 32
	33  libdispatch.dylib                   0x00000001031c96c0 _dispatch_client_callout + 20
	34  libdispatch.dylib                   0x00000001031cc0ec _dispatch_queue_override_invoke + 952
	35  libdispatch.dylib                   0x00000001031dcae0 _dispatch_root_queue_drain + 364
	36  libdispatch.dylib                   0x00000001031dd488 _dispatch_worker_thread2 + 140
	37  libsystem_pthread.dylib             0x00000001e136b7c8 _pthread_wqthread + 216
	38  libsystem_pthread.dylib             0x00000001e137275c start_wqthread + 8
)
2021-01-13 13:06:50.084026+0530 Runner[81286:6460994] [Assert] Unsupported use of UIKit view-customization API off the main thread. -setHasDimmingView: sent to <_UIAlertControllerView: 0x14170f670; frame = (0 0; 1080 810); layer = <CALayer: 0x2824c63c0>>
2021-01-13 13:06:50.084239+0530 Runner[81286:6460994] [Assert] Unsupported use of UIKit view-customization API off the main thread. -setShouldHaveBackdropView: sent to <_UIAlertControllerView: 0x14170f670; frame = (0 0; 1080 810); layer = <CALayer: 0x2824c63c0>>
2021-01-13 13:06:50.084315+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.084414+0530 Runner[81286:6460994] [Assert] Unsupported use of UIKit view-customization API off the main thread. -setAlignsToKeyboard: sent to <_UIAlertControllerView: 0x14170f670; frame = (0 0; 1080 810); layer = <CALayer: 0x2824c63c0>>
2021-01-13 13:06:50.085988+0530 Runner[81286:6460994] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-01-13 13:06:50.093715+0530 Runner[81286:6460994] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.
 Stack:(
	0   CoreAutoLayout                      0x00000001aba69110 44455E87-A631-30BC-B647-11F4F92D70ED + 65808
	1   CoreAutoLayout                      0x00000001aba694e8 44455E87-A631-30BC-B647-11F4F92D70ED + 66792
	2   UIKitCore                           0x000000019965ccc8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 16907464
	3   UIKitCore                           0x000000019965e168 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 16912744
	4   UIKitCore                           0x00000001986caef8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 581368
	5   UIKitCore                           0x00000001986c64b4 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 562356
	6   UIKitCore                           0x00000001986c6728 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 562984
	7   UIKitCore                           0x00000001986c6bfc 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 564220
	8   UIKitCore                           0x00000001986cb7e4 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 583652
	9   UIKitCore                           0x00000001986cb61c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 583196
	10  UIKitCore                           0x00000001986a4ca8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 425128
	11  UIKitCore                           0x0000000198ae1f50 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4869968
	12  UIKitCore                           0x0000000198ae2608 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4871688
	13  UIKitCore                           0x0000000198af9648 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4965960
	14  UIKitCore                           0x0000000198af17b8 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4933560
	15  UIKitCore                           0x0000000198af4dbc 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4947388
	16  UIKitCore                           0x0000000198af5d40 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4951360
	17  UIKitCore                           0x0000000198af60a0 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4952224
	18  UIKitCore                           0x0000000198af5c8c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4951180
	19  UIKitCore                           0x0000000198af617c 23311071-8AD7-3E8F-836A-BE5DC8A8B0DF + 4952444
	20  Flutter                             0x00000001011de838 -[FlutterViewController presentViewController:animated:completion:] + 140
	21  local_auth                          0x000000010119f5d0 -[FLTLocalAuthPlugin alertMessage:firstButton:flutterResult:additionalButton:] + 756
	22  local_auth                          0x00000001011a0324 -[FLTLocalAuthPlugin handleErrors:flutterArguments:withFlutterResult:] + 696
	23  local_auth                          0x000000010119fe68 __67-[FLTLocalAuthPlugin authenticateWithBiometrics:withFlutterResult:]_block_invoke + 264
	24  LocalAuthentication                 0x00000001c35d6110 E07C72E2-D6CB-36C4-AFE9-108965C008F5 + 57616
	25  LocalAuthentication                 0x00000001c35d56ec E07C72E2-D6CB-36C4-AFE9-108965C008F5 + 55020
	26  libdispatch.dylib                   0x00000001031c7bcc _dispatch_call_block_and_release + 32
	27  libdispatch.dylib                   0x00000001031c96c0 _dispatch_client_callout + 20
	28  libdispatch.dylib                   0x00000001031cc0ec _dispatch_queue_override_invoke + 952
	29  libdispatch.dylib                   0x00000001031dcae0 _dispatch_root_queue_drain + 364
	30  libdispatch.dylib                   0x00000001031dd488 _dispatch_worker_thread2 + 140
	31  libsystem_pthread.dylib             0x00000001e136b7c8 _pthread_wqthread + 216
	32  libsystem_pthread.dylib             0x00000001e137275c start_wqthread + 8
)
2021-01-13 13:06:50.097005+0530 Runner[81286:6460994] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main

flutter_run.log

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (5 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (1 available)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios • iOS 14.3

! Doctor found issues in 1 category.

[✓] Flutter (Channel beta, 1.25.0-8.2.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.25.0-8.2.pre at /Users/tahatesser/Code/flutter_beta
    • Framework revision b0a2299859 (7 days ago), 2021-01-05 12:34:13 -0800
    • Engine revision 92ae191c17
    • Dart version 2.12.0 (build 2.12.0-133.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (2 available)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.3
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

[✓] Flutter (Channel dev, 1.26.0-1.0.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-1.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision 63062a6443 (4 weeks ago), 2020-12-13 23:19:13 +0800
    • Engine revision 4797b06652
    • Dart version 2.12.0 (build 2.12.0-141.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (3 available)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.3
    • macOS (desktop)      • macos                     • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

[✓] Flutter (Channel master, 1.26.0-2.0.pre.313, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.313 at /Users/tahatesser/Code/flutter_master
    • Framework revision 1cb0a24a46 (2 hours ago), 2021-01-12 21:39:27 -0800
    • Engine revision 10cee6abcb
    • Dart version 2.12.0 (build 2.12.0-214.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (3 available)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.3
    • macOS (desktop)      • macos                     • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

@TahaTesser Issues like this are very bad for Flutter as a whole.  We are making a banking app, and we need touch ID to be usable for unlocking the app.  Crashes are serious issues, especially at start of the app!  This issue alone is enough to not adopt Flutter sadly, (personally I am a big fan of Flutter but I cannot recommend the platform to the company with this issue) and the fact that solution already exists but has been sitting in an unmerged state casts doubt into the community's commitment towards the platform and its adoption.

@yaizudamashii
I agree this is a serious issue

@yaizudamashii
I agree this is a serious issue

Any updates on this?

Any updates on this?

any update on this?

Hi @TahaTesser , is there any plan to resolve this problem?

Hey everyone, we hope this issue resolves soon, I can confirm the issue persists when using the latest local_auth: ^1.1.1 on a device with touch ID (in this case, it should reproducible with any iOS device with a touch ID
Steps to reproduce

Create a fluter project
Add local_auth official sample  to the main.dart
Add the latest local_auth: ^1.1.1 to your pubspec.yaml
Run the app on an iOS with touch ID
Tap the first two options, make sure Biometrics.fingerprint is available
Then go ahead tap Authenticate: biometrics only, provide an only the wrong fingerprint, on the third attempt, it will close, tap the same button again, provide the wrong fingerprint twice

Result:
App crashes
App crashes both in debug mode and release mode, as well as from IDE or Xcode
Preview
https://user-images.githubusercontent.com/48603081/113320293-07408100-931b-11eb-924a-200d6b3bd9a3.MP4

flutter logs
[   +8 ms] Connected to _flutterView/0x109017020.
[   +3 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[        ] An Observatory debugger and profiler on Taha’s iPad is available at: http://<IP_ADDRESS>:55578/TIl4Wq8e2zg=/
[+4082 ms] The Flutter DevTools debugger and profiler on Taha’s iPad is available at: http://<IP_ADDRESS>:9105?uri=http%3A%2F%2F<IP_ADDRESS>%3A55578%2FTIl4Wq8e2zg%3D%2F
[+5146 ms] error in connection_block_invoke_2: Connection interrupted
[+9202 ms] [Assert] Cannot be called with asCopy = NO on non-main thread.
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[   +1 ms] [Assert] Cannot be called with asCopy = NO on non-main thread.
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[  +28 ms] [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                           0x00000001b06df538 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 17859896
[        ]      1   libdispatch.dylib                   0x00000001ad3dedb0 B92757B1-0434-3E9B-A3AC-B6DA6B81945C + 15792
[        ]      2   libdispatch.dylib                   0x00000001ad3e05c8 B92757B1-0434-3E9B-A3AC-B6DA6B81945C + 21960
[        ]      3   UIKitCore                           0x00000001b06df4bc 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 17859772
[        ]      4   UIKitCore                           0x00000001b06df628 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 17860136
[        ]      5   UIKitCore                           0x00000001b05e340c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 16827404
[        ]      6   UIKitCore                           0x00000001b05e3344 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 16827204
[        ]      7   UIKitCore                           0x00000001af618844 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 268356
[        ]      8   UIKitCore                           0x00000001af617ba0 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 265120
[        ]      9   UIKitCore                           0x00000001af605544 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 189764
[        ]      10  UIKitCore                           0x00000001af602934 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 178484
[        ]      11  UIKitCore                           0x00000001af602a1c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 178716
[        ]      12  UIKitCore                           0x00000001af634d4c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 384332
[        ]      13  UIKitCore                           0x00000001af65d76c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 550764
[        ]      14  UIKitCore                           0x00000001af65c8e0 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 547040
[        ]      15  UIKitCore                           0x00000001af65c844 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 546884
[        ]      16  UIKitCore                           0x00000001af63e8b4 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 424116
[        ]      17  UIKitCore                           0x00000001afa7bc7c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4869244
[        ]      18  UIKitCore                           0x00000001afa7c334 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4870964
[        ]      19  UIKitCore                           0x00000001afa93374 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4965236
[        ]      20  UIKitCore                           0x00000001afa8b4e4 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4932836
[        ]      21  UIKitCore                           0x00000001afa8eae8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4946664
[        ]      22  UIKitCore                           0x00000001afa8fa6c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4950636
[        ]      23  UIKitCore                           0x00000001afa8fdcc 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4951500
[        ]      24  UIKitCore                           0x00000001afa8f9b8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4950456
[        ]      25  UIKitCore                           0x00000001afa8fea8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4951720
[        ]      26  Flutter                             0x00000001051c0ce4 -[FlutterViewController presentViewController:animated:completion:] + 140
[        ]      27  local_auth                          0x000000010503112c -[FLTLocalAuthPlugin alertMessage:firstButton:flutterResult:additionalButton:] + 756
[        ]      28  local_auth                          0x0000000105032334 -[FLTLocalAuthPlugin handleErrors:flutterArguments:withFlutterResult:] + 696
[        ]      29  local_auth                          0x00000001050319c4 __67-[FLTLocalAuthPlugin authenticateWithBiometrics:withFlutterResult:]_block_invoke + 264
[        ]      30  LocalAuthentication                 0x00000001da7370f8 A99DFB53-F24D-3AF5-9E41-9BE0D7D32EC8 + 57592
[        ]      31  LocalAuthentication                 0x00000001da7366d4 A99DFB53-F24D-3AF5-9E41-9BE0D7D32EC8 + 54996
[        ]      32  libdispatch.dylib                   0x00000001ad3dd24c B92757B1-0434-3E9B-A3AC-B6DA6B81945C + 8780
[        ]      33  libdispatch.dylib                   0x00000001ad3dedb0 B92757B1-0434-3E9B-A3AC-B6DA6B81945C + 15792
[        ]      34  libdispatch.dylib                   0x00000001ad3e1ddc B92757B1-0434-3E9B-A3AC-B6DA6B81945C + 28124
[        ]      35  libdispatch.dylib                   0x00000001ad3ef93c B92757B1-0434-3E9B-A3AC-B6DA6B81945C + 84284
[        ]      36  libdispatch.dylib                   0x00000001ad3f0120 B92757B1-0434-3E9B-A3AC-B6DA6B81945C + 86304
[        ]      37  libsystem_pthread.dylib             0x00000001f85d57d8 _pthread_wqthread + 216
[        ]      38  libsystem_pthread.dylib             0x00000001f85dc76c start_wqthread + 8
[        ] )
[        ] [Assert] Unsupported use of UIKit view-customization API off the main thread. -setHasDimmingView: sent to <_UIAlertControllerView: 0x10ab10880; frame = (0 0; 1080 810); layer =
<CALayer: 0x2802631e0>>
[        ] [Assert] Unsupported use of UIKit view-customization API off the main thread. -setShouldHaveBackdropView: sent to <_UIAlertControllerView: 0x10ab10880; frame = (0 0; 1080 810); layer
= <CALayer: 0x2802631e0>>
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[        ] [Assert] Unsupported use of UIKit view-customization API off the main thread. -setAlignsToKeyboard: sent to <_UIAlertControllerView: 0x10ab10880; frame = (0 0; 1080 810); layer =
<CALayer: 0x2802631e0>>
[        ] [Assert] Cannot be called with asCopy = NO on non-main thread.
[   +3 ms] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.
[        ]  Stack:(
[        ]      0   CoreAutoLayout                      0x00000001c2aaf110 942D516F-2BE6-3587-9821-A450F305F686 + 65808
[        ]      1   CoreAutoLayout                      0x00000001c2aaf4e8 942D516F-2BE6-3587-9821-A450F305F686 + 66792
[        ]      2   UIKitCore                           0x00000001b05f6c08 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 16907272
[        ]      3   UIKitCore                           0x00000001b05f80a8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 16912552
[        ]      4   UIKitCore                           0x00000001af664c4c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 580684
[        ]      5   UIKitCore                           0x00000001af660208 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 561672
[        ]      6   UIKitCore                           0x00000001af66047c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 562300
[        ]      7   UIKitCore                           0x00000001af660950 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 563536
[        ]      8   UIKitCore                           0x00000001af665538 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 582968
[        ]      9   UIKitCore                           0x00000001af665370 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 582512
[        ]      10  UIKitCore                           0x00000001af63e9fc 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 424444
[        ]      11  UIKitCore                           0x00000001afa7bc7c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4869244
[        ]      12  UIKitCore                           0x00000001afa7c334 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4870964
[        ]      13  UIKitCore                           0x00000001afa93374 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4965236
[        ]      14  UIKitCore                           0x00000001afa8b4e4 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4932836
[        ]      15  UIKitCore                           0x00000001afa8eae8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4946664
[        ]      16  UIKitCore                           0x00000001afa8fa6c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4950636
[        ]      17  UIKitCore                           0x00000001afa8fdcc 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4951500
[        ]      18  UIKitCore                           0x00000001afa8f9b8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4950456
[        ]      19  UIKitCore                           0x00000001afa8fea8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4951720
[        ]      20  Flutter                             0x00000001051c0ce4 -[FlutterViewController presentViewController:animated:completion:] + 140
[        ]      21  local_auth                          0x000000010503112c -[FLTLocalAuthPlugin alertMessage:firstButton:flutterResult:additionalButton:] + 756
[        ]      22  local_auth                          0x0000000105032334 -[FLTLocalAuthPlugin handleErrors:flutterArguments:withFlutterResult:] + 696
[        ]      23  local_auth                          0x00000001050319c4 __67-[FLTLocalAuthPlugin authenticateWithBiometrics:withFlutterResult:]_block_invoke + 264
[        ]      24  LocalAuthentication                 0x00000001da7370f8 A99DFB53-F24D-3AF5-9E41-9BE0D7D32EC8 + 57592
[        ]      25  LocalAuthentication                 0x00000001da7366d4 A99DFB53-F24D-3AF5-9E41-9BE0D7D32EC8 + 54996
[        ]      26  libdispatch.dylib                   0x00000001ad3dd24c B92757B1-0434-3E9B-A3AC-B6DA6B81945C + 8780
[        ]      27  libdispatch.dylib                   0x00000001ad3dedb0 B92757B1-0434-3E9B-A3AC-B6DA6B81945C + 15792
[        ]      28  libdispatch.dylib                   0x00000001ad3e1ddc B92757B1-0434-3E9B-A3AC-B6DA6B81945C + 28124
[        ]      29  libdispatch.dylib                   0x00000001ad3ef93c B92757B1-0434-3E9B-A3AC-B6DA6B81945C + 84284
[        ]      30  libdispatch.dylib                   0x00000001ad3f0120 B92757B1-0434-3E9B-A3AC-B6DA6B81945C + 86304
[        ]      31  libsystem_pthread.dylib             0x00000001f85d57d8 _pthread_wqthread + 216
[        ]      32  libsystem_pthread.dylib             0x00000001f85dc76c start_wqthread + 8
[        ] )
[        ] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it
has been accessed from the main thread.'
[        ] *** First throw call stack:
[        ] (0x1ad7ea86c 0x1c2803c50 0x1c2aaf208 0x1c2aaf4e8 0x1b05f6c08 0x1b05f80a8 0x1af664c4c 0x1af660208 0x1af66047c 0x1af660950 0x1af665538 0x1af665370 0x1af63e9fc 0x1afa7bc7c 0x1afa7c334
0x1afa93374 0x1afa8b4e4 0x1afa8eae8 0x1afa8fa6c 0x1afa8fdcc 0x1afa8f9b8 0x1afa8fea8 0x1051c0ce4 0x10503112c 0x105032334 0x1050319c4 0x1da7370f8 0x1da7366d4 0x1ad3dd24c 0x1ad3dedb0 0x1ad3e1ddc
0x1ad3ef93c 0x1ad3f0120 0x1f85d57d8 0x1f85dc76c)
[        ] libc++abi.dylib: terminating with uncaught exception of type NSException
[ +141 ms] Process 512 stopped
[   +1 ms] * thread #6, queue = 'com.apple.root.default-qos', stop reason = signal SIGABRT
[        ]     frame #0: 0x00000001db09e414 libsystem_kernel.dylib`__pthread_kill + 8
[        ] libsystem_kernel.dylib`__pthread_kill:
[        ] ->  0x1db09e414 <+8>:  b.lo   0x1db09e434               ; <+40>
[        ]     0x1db09e418 <+12>: pacibsp
[        ]     0x1db09e41c <+16>: stp    x29, x30, [sp, #-0x10]!
[        ]     0x1db09e420 <+20>: mov    x29, sp
[        ] Target 0: (Runner) stopped.
[   +1 ms] ios-deploy exited with code 0
[  +96 ms] Service protocol connection closed.
[        ] Lost connection to device.
[   +3 ms] DevFS: Deleting filesystem on the device (file:///private/var/mobile/Containers/Data/Application/808D9289-483B-4A1D-A497-0C6162CFC2A1/tmp/stable_flutterndDYUu/stable_flutter/)
[ +255 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[   +5 ms] "flutter run" took 87,636ms.
[ +257 ms] ensureAnalyticsSent: 252ms
[   +2 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 0

Xcode crash logs
2021-04-01 18:47:35.431987+0300 Runner[533:69052] Metal API Validation Enabled
2021-04-01 18:47:35.653092+0300 Runner[533:69310] flutter: Observatory listening on http://<IP_ADDRESS>:50693/W6pxrDj-Ino=/
2021-04-01 18:47:49.840831+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.848096+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.849090+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.849362+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.849594+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.850105+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.850549+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.850746+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.851902+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.852664+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.855240+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.856380+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.856871+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.861486+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.862745+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.862968+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.890558+0300 Runner[533:69294] [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                           0x00000001b06df538 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 17859896
	1   libdispatch.dylib                   0x00000001053556c0 _dispatch_client_callout + 20
	2   libdispatch.dylib                   0x00000001053571f8 _dispatch_once_callout + 136
	3   UIKitCore                           0x00000001b06df4bc 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 17859772
	4   UIKitCore                           0x00000001b06df628 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 17860136
	5   UIKitCore                           0x00000001b05e340c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 16827404
	6   UIKitCore                           0x00000001b05e3344 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 16827204
	7   UIKitCore                           0x00000001af618844 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 268356
	8   UIKitCore                           0x00000001af617ba0 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 265120
	9   UIKitCore                           0x00000001af605544 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 189764
	10  UIKitCore                           0x00000001af602934 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 178484
	11  UIKitCore                           0x00000001af602a1c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 178716
	12  UIKitCore                           0x00000001af634d4c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 384332
	13  UIKitCore                           0x00000001af65d76c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 550764
	14  UIKitCore                           0x00000001af65c8e0 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 547040
	15  UIKitCore                           0x00000001af65c844 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 546884
	16  UIKitCore                           0x00000001af63e8b4 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 424116
	17  UIKitCore                           0x00000001afa7bc7c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4869244
	18  UIKitCore                           0x00000001afa7c334 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4870964
	19  UIKitCore                           0x00000001afa93374 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4965236
	20  UIKitCore                           0x00000001afa8b4e4 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4932836
	21  UIKitCore                           0x00000001afa8eae8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4946664
	22  UIKitCore                           0x00000001afa8fa6c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4950636
	23  UIKitCore                           0x00000001afa8fdcc 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4951500
	24  UIKitCore                           0x00000001afa8f9b8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4950456
	25  UIKitCore                           0x00000001afa8fea8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4951720
	26  Flutter                             0x00000001032d4ce4 -[FlutterViewController presentViewController:animated:completion:] + 140
	27  local_auth                          0x0000000102f7112c -[FLTLocalAuthPlugin alertMessage:firstButton:flutterResult:additionalButton:] + 756
	28  local_auth                          0x0000000102f72334 -[FLTLocalAuthPlugin handleErrors:flutterArguments:withFlutterResult:] + 696
	29  local_auth                          0x0000000102f719c4 __67-[FLTLocalAuthPlugin authenticateWithBiometrics:withFlutterResult:]_block_invoke + 264
	30  LocalAuthentication                 0x00000001da7370f8 A99DFB53-F24D-3AF5-9E41-9BE0D7D32EC8 + 57592
	31  LocalAuthentication                 0x00000001da7366d4 A99DFB53-F24D-3AF5-9E41-9BE0D7D32EC8 + 54996
	32  libdispatch.dylib                   0x0000000105353bcc _dispatch_call_block_and_release + 32
	33  libdispatch.dylib                   0x00000001053556c0 _dispatch_client_callout + 20
	34  libdispatch.dylib                   0x00000001053580ec _dispatch_queue_override_invoke + 952
	35  libdispatch.dylib                   0x0000000105368ae0 _dispatch_root_queue_drain + 364
	36  libdispatch.dylib                   0x0000000105369488 _dispatch_worker_thread2 + 140
	37  libsystem_pthread.dylib             0x00000001f85d57d8 _pthread_wqthread + 216
	38  libsystem_pthread.dylib             0x00000001f85dc76c start_wqthread + 8
)
2021-04-01 18:47:49.900979+0300 Runner[533:69294] [Assert] Unsupported use of UIKit view-customization API off the main thread. -setHasDimmingView: sent to <_UIAlertControllerView: 0x1056bef50; frame = (0 0; 1080 810); layer = <CALayer: 0x28174f200>>
2021-04-01 18:47:49.901175+0300 Runner[533:69294] [Assert] Unsupported use of UIKit view-customization API off the main thread. -setShouldHaveBackdropView: sent to <_UIAlertControllerView: 0x1056bef50; frame = (0 0; 1080 810); layer = <CALayer: 0x28174f200>>
2021-04-01 18:47:49.901246+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.901340+0300 Runner[533:69294] [Assert] Unsupported use of UIKit view-customization API off the main thread. -setAlignsToKeyboard: sent to <_UIAlertControllerView: 0x1056bef50; frame = (0 0; 1080 810); layer = <CALayer: 0x28174f200>>
2021-04-01 18:47:49.902581+0300 Runner[533:69294] [Assert] Cannot be called with asCopy = NO on non-main thread.
2021-04-01 18:47:49.910802+0300 Runner[533:69294] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.
 Stack:(
	0   CoreAutoLayout                      0x00000001c2aaf110 942D516F-2BE6-3587-9821-A450F305F686 + 65808
	1   CoreAutoLayout                      0x00000001c2aaf4e8 942D516F-2BE6-3587-9821-A450F305F686 + 66792
	2   UIKitCore                           0x00000001b05f6c08 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 16907272
	3   UIKitCore                           0x00000001b05f80a8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 16912552
	4   UIKitCore                           0x00000001af664c4c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 580684
	5   UIKitCore                           0x00000001af660208 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 561672
	6   UIKitCore                           0x00000001af66047c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 562300
	7   UIKitCore                           0x00000001af660950 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 563536
	8   UIKitCore                           0x00000001af665538 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 582968
	9   UIKitCore                           0x00000001af665370 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 582512
	10  UIKitCore                           0x00000001af63e9fc 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 424444
	11  UIKitCore                           0x00000001afa7bc7c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4869244
	12  UIKitCore                           0x00000001afa7c334 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4870964
	13  UIKitCore                           0x00000001afa93374 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4965236
	14  UIKitCore                           0x00000001afa8b4e4 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4932836
	15  UIKitCore                           0x00000001afa8eae8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4946664
	16  UIKitCore                           0x00000001afa8fa6c 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4950636
	17  UIKitCore                           0x00000001afa8fdcc 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4951500
	18  UIKitCore                           0x00000001afa8f9b8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4950456
	19  UIKitCore                           0x00000001afa8fea8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 4951720
	20  Flutter                             0x00000001032d4ce4 -[FlutterViewController presentViewController:animated:completion:] + 140
	21  local_auth                          0x0000000102f7112c -[FLTLocalAuthPlugin alertMessage:firstButton:flutterResult:additionalButton:] + 756
	22  local_auth                          0x0000000102f72334 -[FLTLocalAuthPlugin handleErrors:flutterArguments:withFlutterResult:] + 696
	23  local_auth                          0x0000000102f719c4 __67-[FLTLocalAuthPlugin authenticateWithBiometrics:withFlutterResult:]_block_invoke + 264
	24  LocalAuthentication                 0x00000001da7370f8 A99DFB53-F24D-3AF5-9E41-9BE0D7D32EC8 + 57592

	25  LocalAuthentication                 0x00000001da7366d4 A99DFB53-F24D-3AF5-9E41-9BE0D7D32EC8 + 54996
	26  libdispatch.dylib                   0x0000000105353bcc _dispatch_call_block_and_release + 32
	27  libdispatch.dylib                   0x00000001053556c0 _dispatch_client_callout + 20
	28  libdispatch.dylib                   0x00000001053580ec _dispatch_queue_override_invoke + 952
	29  libdispatch.dylib                   0x0000000105368ae0 _dispatch_root_queue_drain + 364
	30  libdispatch.dylib                   0x0000000105369488 _dispatch_worker_thread2 + 140
	31  libsystem_pthread.dylib             0x00000001f85d57d8 _pthread_wqthread + 216
	32  libsystem_pthread.dylib             0x00000001f85dc76c start_wqthread + 8
)
2021-04-01 18:47:49.913513+0300 Runner[533:69294] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'
*** First throw call stack:
(0x1ad7ea86c 0x1c2803c50 0x1c2aaf208 0x1c2aaf4e8 0x1b05f6c08 0x1b05f80a8 0x1af664c4c 0x1af660208 0x1af66047c 0x1af660950 0x1af665538 0x1af665370 0x1af63e9fc 0x1afa7bc7c 0x1afa7c334 0x1afa93374 0x1afa8b4e4 0x1afa8eae8 0x1afa8fa6c 0x1afa8fdcc 0x1afa8f9b8 0x1afa8fea8 0x1032d4ce4 0x102f7112c 0x102f72334 0x102f719c4 0x1da7370f8 0x1da7366d4 0x105353bcc 0x1053556c0 0x1053580ec 0x105368ae0 0x105369488 0x1f85d57d8 0x1f85dc76c)
libc++abi.dylib: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'
terminating with uncaught exception of type NSException
(lldb)

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.3, on macOS 11.2.3 20D91 darwin-x64, locale en-GB)
    • Flutter version 2.0.3 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 4d7946a68d (2 weeks ago), 2021-03-18 17:24:33 -0700
    • Engine revision 3459eb2436
    • Dart version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.55.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (3 available)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.4.2
    • macOS (desktop)      • macos                     • darwin-x64     • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 89.0.4389.114

• No issues found!

[✓] Flutter (Channel master, 2.1.0-13.0.pre.381, on macOS 11.2.3 20D91 darwin-x64, locale en-GB)
    • Flutter version 2.1.0-13.0.pre.381 at /Users/tahatesser/Code/flutter_master
    • Framework revision 5c57a80cf6 (6 hours ago), 2021-04-01 05:54:03 -0400
    • Engine revision 4b52a9f148
    • Dart version 2.13.0 (build 2.13.0-188.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.55.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (4 available)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E            • ios            • iOS 14.4.2
    • iPhone 12 (mobile)   • 83060656-28E7-44CD-801E-B11EC3EC89BA • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • macOS (desktop)      • macos                                • darwin-x64     • macOS 11.2.3 20D91
      darwin-x64
    • Chrome (web)         • chrome                               • web-javascript • Google Chrome
      89.0.4389.114

• No issues found!


SSR errors: 401, 403, 404

See #1931 for some details on the initial principle of how it works. I'll write a bit of documentation later.
I think we should write a new chapter in the Volto docs, "Internal documentation"

@sneridagh I think the non-hydrated version should work just as well and with a lot less hassle, I will implement it.

@sneridagh Should be ready now. For some reason this configuration just works, no hydration setup needed.

Hmm... now it hydrates. I'll change the Html component to eliminate scripts.

@tiberiuichim could be that now the Guillotina test fails because it expects for a 200 and now it returns a 401?

@sneridagh I don't know... I guess somebody has to try it with guillotina. The bad side, though, is that the test runner doesn't provide a lot of information about the cause of failure.

@plone/volto-team this is a bugfix that we will release with 9.x.x.


version.rb:191:in `strip!': can't modify frozen String

I have the following ruby in /usr/local/bin in $PATH. But install.sh shows an error about ruby. It seems that install.sh uses /usr/bin/ruby instead. Does anybody know what is wrong with install.sh?
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
==> Select the Linuxbrew installation directory
- Enter your password to install to /home/linuxbrew/.linuxbrew (recommended)
- Press Control-D to install to /home/py/.linuxbrew
- Press Control-C to cancel installation
Sorry, user py may not run sudo on regor.
==> This script will install:
/home/py/.linuxbrew/bin/brew
/home/py/.linuxbrew/share/doc/homebrew
/home/py/.linuxbrew/share/man/man1/brew.1
/home/py/.linuxbrew/share/zsh/site-functions/_brew
/home/py/.linuxbrew/etc/bash_completion.d/brew
/home/py/.cache/Homebrew/
/home/py/.linuxbrew/Homebrew

Press RETURN to continue or any other key to abort
==> Downloading and installing Linuxbrew...
HEAD is now at 851177a docs: update gems. (#569)
/usr/lib/ruby/1.9.1/rubygems/version.rb:191:in `strip!': can't modify frozen String (RuntimeError)
	from /usr/lib/ruby/1.9.1/rubygems/version.rb:191:in `initialize'
	from -e:1:in `new'
	from -e:1:in `<main>'
/home/py/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:12:in `<main>': Homebrew must be run under Ruby 2.3! You're running 1.9.3. (RuntimeError)
Failed during: /home/py/.linuxbrew/bin/brew update --force
$ which ruby
/usr/local/bin/ruby
$ ruby --version
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]
$ /usr/bin/ruby --version
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]

I believe this issue has been resolved.


reference atlas path

Mathilde (Konrad's lab) is having this issue using containerized version:

Which appears to stem from this line:
https://github.com/khanlab/hippunfold/blob/2d13299cca1c68fea8a3fe76097abb2eb0d4855c/hippunfold/workflow/rules/preproc_t1.smk#L38
This line should be written to return /src/atlases/CITI/CIT168_T1w_head_700um.nii.gz (based on what I can see inside singularity shell).
@akhanf would you mind taking a quick look?

hmm might be an old container -- just confirming that now -- did you pull it fresh from docker hub?

hmm might be an old container -- just confirming that now -- did you pull it fresh from docker hub?

fresh as of yesterday

fresh as of yesterday

Actually looks like the circleci isn't getting the hippocampal_autotop submodule -- not sure how it worked in my earlier test! In any case, making some edits to circleci to do a recursive clone, and will rebuild the container -- hopefully should be good to go by end of day!

Actually looks like the circleci isn't getting the hippocampal_autotop submodule -- not sure how it worked in my earlier test! In any case, making some edits to circleci to do a recursive clone, and will rebuild the container -- hopefully should be good to go by end of day!

Oops my copy of the image was old (ie. the atlases should NOT be in /src/atlases/CITI/CIT168_T1w_head_700um.nii.gz but i'm stil not sure where they should be as /opt/conda/lib/python3.7/site-packages/hippunfold/hippocampal_autotop/ does not exist. Maybe you forgot to pull submodules when building the docker container?

Oops my copy of the image was old (ie. the atlases should NOT be in /src/atlases/CITI/CIT168_T1w_head_700um.nii.gz but i'm stil not sure where they should be as /opt/conda/lib/python3.7/site-packages/hippunfold/hippocampal_autotop/ does not exist. Maybe you forgot to pull submodules when building the docker container?

Yup! looks like it wasn't pulling submodules. Looks like '--recursive-submodulesis needed rather than--recursive`.
https://stackoverflow.com/questions/3796927/how-to-git-clone-including-submodules

Yup! looks like it wasn't pulling submodules. Looks like '--recursive-submodulesis needed rather than--recursive`.
https://stackoverflow.com/questions/3796927/how-to-git-clone-including-submodules

--recursive will do it too, but circleci has it's own checkout step which doesn't do --recursive, so now I've replaced that, seems to be rebuilding now, hopefully once done it should work:
https://app.circleci.com/pipelines/github/khanlab/hippunfold/72/workflows/0a910b7f-a97d-43e8-a482-e2b52d6722e4/jobs/140
Note that the file gets to be in the site packages through pip install, as the MANIFEST.in contains the paths to the non-python files to also include in the package..

--recursive will do it too, but circleci has it's own checkout step which doesn't do --recursive, so now I've replaced that, seems to be rebuilding now, hopefully once done it should work:
https://app.circleci.com/pipelines/github/khanlab/hippunfold/72/workflows/0a910b7f-a97d-43e8-a482-e2b52d6722e4/jobs/140
Note that the file gets to be in the site packages through pip install, as the MANIFEST.in contains the paths to the non-python files to also include in the package..

ok, looks like the new container fixes this problem, can close once you confirm @jordandekraker @myousif9

ok, looks like the new container fixes this problem, can close once you confirm @jordandekraker @myousif9

Confirmed, its working for me now!

Confirmed, its working for me now!

Works for me too!

Works for me too!


Make install-icon portable and unbreak it on FreeBSD

GNU install -D and BSD install -D are not equivalent.

Coverage increased (+0.005%) to 57.101% when pulling d3defee7e47b9ba8208e18bc5fae8e148962c150 on t6:patch-freebsd into d8fc0ea005d99cd3b2aa7965ca109497e91ee477 on newsboat:master.

Thank you! Lesson learned; I'll start running make install in CI now. :)
This is worth a patch release. I'll wait a few more days to see if any more bugs pop up, and push it out sometime in the middle of next week.

That's egg on my face I guess, should have seen that coming :/
Sorry about that.


[nrf fromtree] Bluetooth: Controller: Periodic Advertising Synchronization related bugfixes

DNM, waiting for this to be upstream: https://github.com/zephyrproject-rtos/zephyr/pull/42664

@carlescufi  confirms DNM can be removed

DNM, waiting for this to be upstream: zephyrproject-rtos/zephyr#42664

I cherry-picked this on top after it was merged upstream

manifest CI is green on re-run in https://github.com/nrfconnect/sdk-nrf/pull/6859