Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update VaultSync fallback kind (#2159)
Leendert de Borstf2db04d7b234
diff --git a/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/vaultstore/VaultSync.kt b/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/vaultstore/VaultSync.ktindex 872f2a396..db37f7605 100644--- a/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/vaultstore/VaultSync.kt+++ b/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/vaultstore/VaultSync.kt@@ -108,12 +108,12 @@ class VaultSync(}/**- * Classify the pending manifest migration as the engine sees it: `none`, `schema-rebuild` (runs unattended) or- * `storage-format-upgrade` (the app asks first). A vault still on the sqlite-blob chain classifies as `none`.+ * Classify the pending manifest migration as the engine sees it: `none`, `schemaRebuild` (runs unattended) or+ * `storageFormatUpgrade` (the app asks first). A vault still on the sqlite-blob chain classifies as `none`.*/suspend fun getVaultMigrationStatus(webApiService: WebApiService): String {val status = run("migrationStatus", webApiService)- return status.optString("kind").takeIf { it.isNotEmpty() } ?: "storage-format-upgrade"+ return status.optString("kind").takeIf { it.isNotEmpty() } ?: "storageFormatUpgrade"}/**diff --git a/apps/mobile-app/ios/VaultStoreKit/Services/VaultSync.swift b/apps/mobile-app/ios/VaultStoreKit/Services/VaultSync.swiftindex 20e7b1424..c04fd48ee 100644--- a/apps/mobile-app/ios/VaultStoreKit/Services/VaultSync.swift+++ b/apps/mobile-app/ios/VaultStoreKit/Services/VaultSync.swift@@ -85,11 +85,11 @@ internal final class VaultSync {return try vaultStore.getEncryptionKeyBase64()}- /// Classify the pending manifest migration as the engine sees it: `none`, `schema-rebuild` (runs unattended) or- /// `storage-format-upgrade` (the app asks first). A vault still on the sqlite-blob chain classifies as `none`.+ /// Classify the pending manifest migration as the engine sees it: `none`, `schemaRebuild` (runs unattended) or+ /// `storageFormatUpgrade` (the app asks first). A vault still on the sqlite-blob chain classifies as `none`.func getVaultMigrationStatus(using webApiService: WebApiService) async throws -> String {let status = try await run("migrationStatus", using: webApiService)- return status["kind"] as? String ?? "storage-format-upgrade"+ return status["kind"] as? String ?? "storageFormatUpgrade"}/// Bring the local vault onto the current storage model (a schema rebuild after an app update, or the one-time