Реализована проверка версионности и требование soft\force обновлений приложения

This commit is contained in:
mi
2026-09-03 19:12:38 +03:00
parent 465a70d488
commit 44db38f6fe
37 changed files with 3057 additions and 53 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ import { describe, expect, it, vi } from "vitest";
const secureValues = vi.hoisted(() => new Map<string, string>());
vi.mock("expo-constants", () => ({
default: { expoConfig: { version: "1.0.0" } },
default: { expoConfig: { version: "1.0.1" } },
}));
vi.mock("expo-crypto", () => ({
CryptoDigestAlgorithm: { SHA256: "SHA-256" },
@@ -217,7 +217,7 @@ describe("OIDC device metadata", () => {
expect(first).toMatchObject({
han_fingerprint: "stable-fingerprint",
han_platform: "android",
han_app_version: "1.0.0",
han_app_version: "1.0.1",
});
});
});