Skip to content

Commit 2a2f958

Browse files
committed
Update messaging for iOS
1 parent f11b28e commit 2a2f958

File tree

5 files changed

+15
-9
lines changed

5 files changed

+15
-9
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Kee Vault 2 is a password manager for multiple devices. Password databases (Vaul
66

77
The optional paid subscription service to enable synchronisation (among other benefits and morally good feelings) is fully compatible with the first version of Kee Vault so version 1 and 2 can be used interchangeably depending upon your specific requirements.
88

9-
Initially we offer only an Android version of Kee Vault 2 but the underlying development platform (Flutter) should allow us to release versions in the future for iOS, desktop devices and/or fully replace the web app version (Kee Vault v1).
9+
We offer an Android and iOS version of Kee Vault 2 but the underlying development platform (Flutter) should allow us to release versions in the future for desktop devices and/or fully replace the web app version (Kee Vault v1).
1010

1111
To subscribe to the Kee Vault service or view the code for version 1, see the https://github.com/kee-org/keevault repository.
1212

lib/generated/intl/messages_en.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ class MessageLookup extends MessageLookupByLibrary {
308308
"integrationSettings":
309309
MessageLookupByLibrary.simpleMessage("Integration settings"),
310310
"integrationSettingsExplainer": MessageLookupByLibrary.simpleMessage(
311-
"These settings help you to refine when this entry is autofilled into other apps and websites. Some settings apply only to when you use Kee on a desktop computer and others only to specific mobile platforms (such as Android, or iOS)."),
311+
"These settings help you to refine when this entry is autofilled into other apps and websites. Some settings apply only to when you use Kee on a desktop computer and others only to specific mobile platforms (such as Android)."),
312312
"introFilter": MessageLookupByLibrary.simpleMessage(
313313
"\nFilter by group, label, colour and text"),
314314
"introSortYourEntries":

lib/generated/l10n.dart

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/l10n/intl_en.arb

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"manageAccountSettingsDetail": "Edit your subscription, payment details or email contact preferences from the Kee Vault Account website.",
4040
"deviceSettings": "Device Settings",
4141
"integrationSettings": "Integration settings",
42-
"integrationSettingsExplainer": "These settings help you to refine when this entry is autofilled into other apps and websites. Some settings apply only to when you use Kee on a desktop computer and others only to specific mobile platforms (such as Android, or iOS).",
42+
"integrationSettingsExplainer": "These settings help you to refine when this entry is autofilled into other apps and websites. Some settings apply only to when you use Kee on a desktop computer and others only to specific mobile platforms (such as Android).",
4343
"additionalUrlsToMatch": "Additional URLs to match",
4444
"androidAppIdsToMatch": "Android app technical names to match",
4545
"showEntryInBrowsersAndApps": "Show this entry in Kee browser extension (desktop), mobile apps and browsers",

lib/quick_unlocker.dart

+10-4
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,14 @@ class QuickUnlocker {
3434
return val;
3535
}
3636

37-
Future<BiometricStorageFile> _storageFile() => _storageFileCached ??= BiometricStorage().getStorage(storageFileName,
38-
forceInit: true, options: StorageFileInitOptions(authenticationValidityDurationSeconds: authGracePeriod));
37+
final iosPromptInfo = IosPromptInfo(accessTitle: S.current.unlock, saveTitle: S.current.rememberVaultPassword);
38+
39+
Future<BiometricStorageFile> _storageFile() => _storageFileCached ??= BiometricStorage().getStorage(
40+
storageFileName,
41+
forceInit: true,
42+
options: StorageFileInitOptions(authenticationValidityDurationSeconds: authGracePeriod),
43+
promptInfo: PromptInfo(iosPromptInfo: iosPromptInfo),
44+
);
3945

4046
Future<QUStatus> initialiseForUser(String user, bool force) async {
4147
if (!force && _currentCreds != null && _currentUser != null && _currentUser == user) {
@@ -110,7 +116,7 @@ class QuickUnlocker {
110116
Future<String?> _read(BiometricStorageFile storage) async {
111117
try {
112118
final contents = await storage.read(
113-
perActionPromptInfo: PromptInfo(
119+
promptInfo: PromptInfo(
114120
androidPromptInfo: AndroidPromptInfo(title: S.current.unlock, description: S.current.confirmItsYou)));
115121
return contents;
116122
} on AuthException catch (e, stackTrace) {
@@ -132,7 +138,7 @@ $stackTrace''');
132138
Future<void> _write(BiometricStorageFile storage, String contents) async {
133139
try {
134140
await storage.write(contents,
135-
perActionPromptInfo: PromptInfo(
141+
promptInfo: PromptInfo(
136142
androidPromptInfo: AndroidPromptInfo(
137143
title: S.current.rememberVaultPassword, description: S.current.biometricsStoreDescription)));
138144
} on AuthException catch (e, stackTrace) {

0 commit comments

Comments
 (0)