From 444e14138752899c72fce27a16d61f4572ce4636 Mon Sep 17 00:00:00 2001 From: Herbert Poul Date: Tue, 21 May 2024 11:13:42 +0200 Subject: [PATCH] update changelog. --- CHANGELOG.md | 6 ++++++ example/lib/main.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b57819..3dc285b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 5.1.0-rc.1 + +* Split Split authenticationValidityDurationSeconds between android and iOS + * `darwinTouchIDAuthenticationForceReuseContextDuration`: Basically the equivalent to `androidAuthenticationValidityDuration` + * `darwinTouchIDAuthenticationAllowableReuseDuration` + ## 5.0.1 * Add option for iOS/MacOS to allow non-biometric authentication (`darwinBiometricOnly`) #101 diff --git a/example/lib/main.dart b/example/lib/main.dart index 15ee52a..de3042a 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -137,7 +137,7 @@ class MyAppState extends State { options: StorageFileInitOptions( androidAuthenticationValidityDuration: const Duration(seconds: 5), - darwinTouchIDAuthenticationAllowableReuseDuration: + darwinTouchIDAuthenticationForceReuseContextDuration: const Duration(seconds: 5), ), promptInfo: const PromptInfo( diff --git a/pubspec.yaml b/pubspec.yaml index 1a10cb1..db743b7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: biometric_storage description: | Secure Storage: Encrypted data store optionally secured by biometric lock with support for iOS, Android, MacOS. Partial support for Linux, Windows and web (localStorage). -version: 5.0.1 +version: 5.1.0-rc.1 homepage: https://github.com/authpass/biometric_storage/ environment: