Merge pull request #145 from cake-tech/CAKE-336-BA-issue

CAKE-336 | updated local_auth package and fixed isAuthenticated() met…
This commit is contained in:
M 2021-06-04 18:32:47 +03:00
commit 897ed2e7f5
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ class BiometricAuth {
Future<bool> isAuthenticated() async { Future<bool> isAuthenticated() async {
try { try {
return await _localAuth.authenticateWithBiometrics( return await _localAuth.authenticate(
localizedReason: S.current.biometric_auth_reason, localizedReason: S.current.biometric_auth_reason,
useErrorDialogs: true, useErrorDialogs: true,
stickyAuth: false); stickyAuth: false);

View file

@ -593,7 +593,7 @@ packages:
name: local_auth name: local_auth
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.1" version: "1.1.6"
logging: logging:
dependency: transitive dependency: transitive
description: description:

View file

@ -49,7 +49,7 @@ dependencies:
path: ./cw_monero path: ./cw_monero
hive: ^1.4.4+1 hive: ^1.4.4+1
hive_flutter: ^0.3.1 hive_flutter: ^0.3.1
local_auth: ^1.1.1 local_auth: ^1.1.6
package_info: ^2.0.0 package_info: ^2.0.0
devicelocale: ^0.4.1 devicelocale: ^0.4.1
auto_size_text: ^2.1.0 auto_size_text: ^2.1.0