Skip to content
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

Closed
sallymoc opened this issue Aug 19, 2024 · 6 comments
Closed

To support biometric authentication for the Mac OS app #70

sallymoc opened this issue Aug 19, 2024 · 6 comments
Milestone

Comments

@sallymoc
Copy link
Contributor

sallymoc commented Aug 19, 2024

The method used to check if the device supports/has configured biometric authentication is apparently not available for Mac OS

image

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.

@depombo
Copy link

depombo commented Aug 20, 2024

following

@Qubic-Hub
Copy link
Contributor

@sallymoc According to https://pub.dev/packages/local_auth it seems that MacOS is now supported. Maybe we need to update ?

@sallymoc
Copy link
Contributor Author

sallymoc commented Sep 4, 2024

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.

@sallymoc
Copy link
Contributor Author

sallymoc commented Sep 4, 2024

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.

@sallymoc
Copy link
Contributor Author

sallymoc commented Sep 5, 2024

@icyblob could you please try this and let us know if works for you so we can close it?

@sallymoc sallymoc added this to the 1.2.0 milestone Sep 5, 2024
@icyblob
Copy link
Contributor

icyblob commented Sep 5, 2024

I can confirm that the MacOS bio authen works with the Qubic Wallet MacOS release from @sallymoc

@sallymoc sallymoc closed this as completed Sep 5, 2024
@github-project-automation github-project-automation bot moved this from In QA to Done in Wallet App Kanban Board Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

4 participants