// Test-only target. The production application never reads fixture credentials. import SwiftUI import RastrilloApple import SheetsKit @main struct ReviewPhone: App { private let client: NativeHTTP init() { let path = URL.documentsDirectory.appendingPathComponent("review.json") let input = try! JSONDecoder().decode(ReviewInput.self, from: Data(contentsOf: path)) precondition(input.origin.scheme == "http" && input.origin.host == "127.0.0.1") client = NativeHTTP(origin: input.origin, credential: input.credential) } var body: some Scene { WindowGroup { SheetsWorkspace(client: client, signOut: {}) .preferredColorScheme(.light) } } }