import AppIntents import UIKit @available(iOS 16.0, *) struct OpenTimerIntent: AppIntent { static var title: LocalizedStringResource = "Open Time Clock" static var description = IntentDescription("Open the beenvoice time clock.") static var openAppWhenRun: Bool = false func perform() async throws -> some IntentResult { guard let url = URL(string: "beenvoice://timer") else { return .result() } await MainActor.run { UIApplication.shared.open(url) } return .result() } }