Skip to content

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

Update AppInfo files which are now auto-generated (#2159)

Leendert de Borst4c77d87e5fab
diff --git a/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/utils/AppInfo.kt b/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/utils/AppInfo.kt
index 054b36937..9e144dec3 100644
--- a/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/utils/AppInfo.kt
+++ b/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/utils/AppInfo.kt
@@ -1,27 +1,28 @@
+// <auto-generated />
+// This file is auto-generated from core/models/src/defaults/AppDefaults.ts
+// Do not edit this file directly. Run 'core/models/build.sh' (or
+// 'node core/models/scripts/generate-app-defaults.cjs') to regenerate.
+
package net.aliasvault.app.utils
/**
- * Application configuration constants.
- * This file contains version requirements and other app-wide configuration values.
+ * Client-wide connection defaults shared by every AliasVault client.
*/
object AppInfo {
/**
- * The minimum supported AliasVault server (API) version.
- *
- * If the server version is below this minimum, the client will reject the connection
- * and throw a vault sync error, indicating that the server should be updated to a newer version.
- *
- * This ensures that the mobile app only communicates with servers that support
- * all required API features and prevents compatibility issues with older server versions.
- *
- * **Version Format**: Follows Semantic Versioning (SemVer) with optional pre-release tags
- * - Examples: "0.12.0", "0.12.0-dev", "1.0.0-beta"
- *
- * **When to Update**: This value should be updated when:
- * - The mobile app requires new API endpoints that don't exist in older servers
- * - Breaking changes in API request/response formats require newer server versions
- *
- * **Note**: This is used by vault sync operations.
+ * The minimum supported AliasVault server (API) version. A client refuses to work against an older server and
+ * tells the user to update it. Raise it when a client starts to depend on an endpoint or a response shape that
+ * older servers lack.
*/
const val MIN_SERVER_VERSION = "0.12.0-dev"
+
+ /**
+ * The default AliasVault web client URL.
+ */
+ const val DEFAULT_CLIENT_URL = "https://app.aliasvault.com"
+
+ /**
+ * The default AliasVault web API URL.
+ */
+ const val DEFAULT_API_URL = "https://app.aliasvault.com/api"
}
diff --git a/apps/mobile-app/ios/VaultStoreKit/AppInfo.swift b/apps/mobile-app/ios/VaultStoreKit/AppInfo.swift
index 9de3c6f77..8753e509f 100644
--- a/apps/mobile-app/ios/VaultStoreKit/AppInfo.swift
+++ b/apps/mobile-app/ios/VaultStoreKit/AppInfo.swift
@@ -1,22 +1,20 @@
+// <auto-generated />
+// This file is auto-generated from core/models/src/defaults/AppDefaults.ts
+// Do not edit this file directly. Run 'core/models/build.sh' (or
+// 'node core/models/scripts/generate-app-defaults.cjs') to regenerate.
+
import Foundation
-/// Application configuration constants
-/// This file contains version requirements and other app-wide configuration values
+/// Client-wide connection defaults shared by every AliasVault client.
public enum AppInfo {
- /// The minimum supported AliasVault server (API) version.
- ///
- /// If the server version is below this minimum, the client will reject the connection
- /// and throw a `AppError.serverVersionNotSupported` error, indicating that the
- /// server should be updated to a newer version.
- ///
- /// This ensures that the mobile app only communicates with servers that support
- /// all required API features and prevents compatibility issues with older server versions.
- ///
- /// **Version Format**: Follows Semantic Versioning (SemVer) with optional pre-release tags
- /// - Examples: "0.12.0", "0.12.0-dev", "1.0.0-beta"
- ///
- /// **When to Update**: This value should be updated when:
- /// - The mobile app requires new API endpoints that don't exist in older servers
- /// - Breaking changes in API request/response formats require newer server versions
+ /// The minimum supported AliasVault server (API) version. A client refuses to work against an older server and
+ /// tells the user to update it. Raise it when a client starts to depend on an endpoint or a response shape that
+ /// older servers lack.
public static let minServerVersion = "0.12.0-dev"
+
+ /// The default AliasVault web client URL.
+ public static let defaultClientUrl = "https://app.aliasvault.com"
+
+ /// The default AliasVault web API URL.
+ public static let defaultApiUrl = "https://app.aliasvault.com/api"
}