CAKE-336 | updated local_auth package and fixed isAuthenticated() method in the biometric_auth.dart
OleksandrSobol committed
Jun 3, 2021 at 20:59 UTC
b1cda209876ad78c4148cdb211abce9b2c55901e
3 files changed
+3
-3
lib/entities/biometric_auth.dart
+1
-1
@@ -7,7 +7,7 @@ class BiometricAuth {
7
8
Future<bool> isAuthenticated() async {
9
try {
10
- return await _localAuth.authenticateWithBiometrics(
10
+ return await _localAuth.authenticate(
11
localizedReason: S.current.biometric_auth_reason,
12
useErrorDialogs: true,
13
stickyAuth: false);
pubspec.lock
+1
-1
@@ -565,7 +565,7 @@ packages:
565
name: local_auth
566
url: "https://pub.dartlang.org"
567
source: hosted
568
- version: "1.1.1"
568
+ version: "1.1.6"
569
logging:
570
dependency: transitive
571
description:
pubspec.yaml
+1
-1
@@ -49,7 +49,7 @@ dependencies:
49
path: ./cw_monero
50
hive: ^1.4.4+1
51
hive_flutter: ^0.3.1
52
- local_auth: ^1.1.1
52
+ local_auth: ^1.1.6
53
package_info: ^2.0.0
54
devicelocale: ^0.4.1
55
auto_size_text: ^2.1.0