-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To support biometric authentication for the Mac OS app #70
Comments
following |
@sallymoc According to https://pub.dev/packages/local_auth it seems that MacOS is now supported. Maybe we need to update ? |
Correct @Qubic-Hub . With this config in the yaml file local_auth: ^2.3.0 is 'works'. I have some issues when debugging but seems not to be related to the library itself and happening only in debug mode. Need to test a bit more. |
With the upgrade of the library, iOS authentication in release mode works fine. Debug mode is failing with or without this change. I reported the following issue #92. |
@icyblob could you please try this and let us know if works for you so we can close it? |
I can confirm that the MacOS bio authen works with the Qubic Wallet MacOS release from @sallymoc |
The method used to check if the device supports/has configured biometric authentication is apparently not available for Mac OS
Connecting to VM Service at ws://127.0.0.1:63950/F2pbDHYazKw=/ws
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method getAvailableBiometrics on channel plugins.flutter.io/local_auth)
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7)
#1 MethodChannel.invokeListMethod (package:flutter/src/services/platform_channel.dart:520:35)
#2 DefaultLocalAuthPlatform.deviceSupportsBiometrics (package:local_auth_platform_interface/default_method_channel_platform.dart:65:10)
#3 _SignInState.initState. (package:qubic_wallet/pages/auth/sign_in.dart:78:35)
I found this flutter/flutter#140685 that might be useful.
The text was updated successfully, but these errors were encountered: