η-0: De-Hybrid — WKWebView raus, native Tabs mit Platzhaltern
Lift von Hybrid (WKWebView für Lesen/Erkunden) auf fully-native ist beschlossen. Diese Phase entfernt die WebShell-Infrastruktur; das volle native Read-Surface folgt in η-2..η-5 nach docs/NATIVE_LIFT_PLAN.md. - ManaWebShell-Dep raus aus project.yml - Sources/Core/WebShell/CookieBridge.swift gelöscht - RootView auf vier native Tabs (Lesen + Erkunden = Platzhalter, Submit + Konto unverändert nativ) - DocComments in DeepLinkRouter / AppConfig / Account / Settings von WebView-Verweisen befreit - CLAUDE.md Invarianten von Hybrid auf η umgestellt (13 Invarianten, pure SwiftUI + Offline-first + SafariView-Ausnahme für Legal) - PLAN.md auf η-0 + Phasenübersicht η-0..η-10 - AppConfigTests.test_keychainService_matchesSharedGroup auf ManaSharedKeychainGroup aktualisiert (war drift seit Cross-App-SSO) Verifikation: - xcodebuild iOS-Simulator iPhone 16e: BUILD SUCCEEDED - nm ZitareNative | grep WKWebView: 0 Referenzen - otool -L: kein WebKit-Framework-Link - 20/20 Tests grün Cross-Repo-Follow-up (η-1 Blocker): - zitare/apps/zitare/ muss index-full.json + 7 Stammdaten-JSONs liefern - zitare/apps/api/ Volltext-Search-Endpoint bestätigen/ergänzen Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
58eb2807c7
commit
1d770123f5
11 changed files with 619 additions and 365 deletions
|
|
@ -1,9 +1,9 @@
|
|||
import ManaCore
|
||||
import XCTest
|
||||
@testable import ZitareNative
|
||||
|
||||
/// Phase ζ-0 Basis-Tests: Konfigurations-Konstanten sind konsistent
|
||||
/// mit dem mana-Plattform-Setup (Bundle-ID, Keychain-Service,
|
||||
/// Endpoint-Domains).
|
||||
/// Basis-Tests: Konfigurations-Konstanten sind konsistent mit dem
|
||||
/// mana-Plattform-Setup (Bundle-ID, Keychain-Service, Endpoint-Domains).
|
||||
final class AppConfigTests: XCTestCase {
|
||||
func test_authBaseURL_pointsToManaAuth() {
|
||||
XCTAssertEqual(
|
||||
|
|
@ -12,8 +12,11 @@ final class AppConfigTests: XCTestCase {
|
|||
)
|
||||
}
|
||||
|
||||
func test_keychainService_matchesBundle() {
|
||||
XCTAssertEqual(AppConfig.manaAppConfig.keychainService, "ev.mana.zitare")
|
||||
func test_keychainService_matchesSharedGroup() {
|
||||
// Zitare-native teilt die Keychain-Group mit den 11 anderen
|
||||
// nativen mana-Apps (Cross-App-SSO via
|
||||
// QP3GLU8PH3.ev.mana.session, siehe mana-swift-core).
|
||||
XCTAssertEqual(AppConfig.manaAppConfig.keychainService, ManaSharedKeychainGroup)
|
||||
}
|
||||
|
||||
func test_apiBaseURL_pointsToZitareApi() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue