Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update supported browser extension list in API (#581)

Leendert de Borst26624e165ae1
diff --git a/src/Shared/AliasVault.Shared.Core/AppInfo.cs b/src/Shared/AliasVault.Shared.Core/AppInfo.cs
index f2233fd5a..573406728 100644
--- a/src/Shared/AliasVault.Shared.Core/AppInfo.cs
+++ b/src/Shared/AliasVault.Shared.Core/AppInfo.cs
@@ -32,6 +32,13 @@ public static class AppInfo
/// </summary>
public const int VersionPatch = 3;
+ /// <summary>
+ /// Gets the minimum supported AliasVault client version. Normally the minimum client version is the same
+ /// for all clients as we are using a monorepo to build all clients from the same source code. But it's
+ /// possible to override the minimum client version for a specific client if needed.
+ /// </summary>
+ public const string MinimumClientVersion = "0.12.0";
+
/// <summary>
/// Gets a dictionary of minimum supported client versions that the WebApi supports.
/// If client version is lower than the minimum supported version, the client will show a message
@@ -39,8 +46,22 @@ public static class AppInfo
/// </summary>
public static IReadOnlyDictionary<string, string> MinimumClientVersions { get; } = new Dictionary<string, string>
{
- { "chrome", "0.12.0" },
- { "web", "0.12.0" },
+ // Main WASM client.
+ { "web", MinimumClientVersion },
+
+ // Browser extensions.
+ { "chrome", MinimumClientVersion },
+ { "firefox", MinimumClientVersion },
+ { "edge", MinimumClientVersion },
+ { "safari", MinimumClientVersion },
+ { "brave", MinimumClientVersion },
+
+ // Fallback for unknown browsers.
+ { "browser", MinimumClientVersion },
+
+ // Mobile apps.
+ { "ios", MinimumClientVersion },
+ { "android", MinimumClientVersion },
}.AsReadOnly();
/// <summary>