mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +00:00
bio auth mac fix
This commit is contained in:
parent
e48962361a
commit
08c992654c
2 changed files with 6 additions and 2 deletions
|
@ -18,6 +18,8 @@ class BiometricAuth {
|
|||
bool canAuthenticate;
|
||||
try {
|
||||
canAuthenticate = await _flutterLocalAuthenticationPlugin.canAuthenticate();
|
||||
// Setup TouchID Allowable Reuse duration
|
||||
await _flutterLocalAuthenticationPlugin.setTouchIDAuthenticationAllowableReuseDuration(2);
|
||||
} catch (error) {
|
||||
print("Exception checking support. $error");
|
||||
canAuthenticate = false;
|
||||
|
|
|
@ -26,7 +26,7 @@ dependencies:
|
|||
path_provider: ^2.0.11
|
||||
mobx: ^2.1.4
|
||||
flutter_mobx: ^2.0.6+5
|
||||
flutter_slidable: ^2.0.0
|
||||
flutter_slidable: ^3.0.1
|
||||
share_plus: ^4.0.10
|
||||
# date_range_picker: ^1.0.6
|
||||
#https://api.flutter.dev/flutter/material/showDateRangePicker.html
|
||||
|
@ -34,7 +34,9 @@ dependencies:
|
|||
hive: ^2.2.3
|
||||
hive_flutter: ^1.1.0
|
||||
local_auth_android: 1.0.21
|
||||
flutter_local_authentication: ^1.2.0
|
||||
flutter_local_authentication:
|
||||
git:
|
||||
url: https://github.com/cake-tech/flutter_local_authentication
|
||||
package_info: ^2.0.0
|
||||
#package_info_plus: ^1.4.2
|
||||
devicelocale:
|
||||
|
|
Loading…
Reference in a new issue