Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 492f6c8

Browse files
committed
Upgrade local_auth to 2.1.3
1 parent 4ab1e1e commit 492f6c8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
flutter:
1313
sdk: flutter
1414
shared_preferences: ^2.0.5
15-
local_auth: ^1.1.1
15+
local_auth: ^2.1.3
1616

1717
pin_lock:
1818
# When depending on this package from a real application you should use:

lib/src/entities/authenticator_impl.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ class AuthenticatorImpl with WidgetsBindingObserver implements Authenticator {
277277
try {
278278
final isSuccessful = await _biometricAuth.authenticate(
279279
localizedReason: userFacingExplanation,
280-
biometricOnly: true,
280+
options: AuthenticationOptions(biometricOnly: true),
281281
);
282282
if (isSuccessful) {
283283
_lockController.unlock();

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
dartz: ^0.10.1
1717
flutter_bloc: ^8.0.1
1818
equatable: ^2.0.3
19-
local_auth: ^1.1.1
19+
local_auth: ^2.1.3
2020
crypto: ^3.0.1
2121
shared_preferences: ^2.0.5
2222

0 commit comments

Comments
 (0)