refactor(log): Log.swift auf ManaAppLog (mana-swift-core v1.7.0) + appGroup-Konsolidierung
Audit V4. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
4b00c4ecdf
commit
30e371b9d7
2 changed files with 24 additions and 16 deletions
|
|
@ -7,12 +7,18 @@ import ManaCore
|
|||
/// `webBaseURL` (zitare.com, für WKWebView und Universal-Links)
|
||||
/// und `appBaseURL` (zitare.mana.how, für eingeloggte Pfade).
|
||||
enum AppConfig {
|
||||
/// App-Group für Daten-Sharing zwischen App ↔ Widget ↔ ShareExt.
|
||||
/// Single-Source: wird in ``manaAppConfig`` und in
|
||||
/// `SnapshotModels.appGroup` (Widget-shared) gespiegelt.
|
||||
static let appGroup = "group.ev.mana.zitare"
|
||||
|
||||
static let manaAppConfig: ManaAppConfig = DefaultManaAppConfig(
|
||||
authBaseURL: URL(string: "https://auth.mana.how")!,
|
||||
keychainService: "ev.mana.zitare",
|
||||
// Explizit auf TeamID.BundleID, statt nil. Vermeidet Logout
|
||||
// bei TestFlight-Cert-Drift (siehe mana-swift-core v1.5.1).
|
||||
keychainAccessGroup: "QP3GLU8PH3.ev.mana.zitare"
|
||||
keychainAccessGroup: "QP3GLU8PH3.ev.mana.zitare",
|
||||
appGroup: appGroup
|
||||
)
|
||||
|
||||
/// `zitare-api.mana.how` — API-Backend (Hono+Bun).
|
||||
|
|
@ -34,9 +40,6 @@ enum AppConfig {
|
|||
/// kommt das zurück auf `publicWebURL`.
|
||||
static let webBaseURL = appBaseURL
|
||||
|
||||
/// App-Group für Daten-Sharing zwischen App ↔ Widget ↔ ShareExt.
|
||||
static let appGroup = "group.ev.mana.zitare"
|
||||
|
||||
/// Endpoint für den Korpus-Snapshot (Phase ζ-2). Heute noch nicht
|
||||
/// als statische HTTP-Datei publiziert — Aufgabe im Web-Repo:
|
||||
/// `apps/zitare/static/index-min.json` aus dem Snapshot-Job
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue