Enable App Store builds without EAS, iOS 18 App Intents plugins, and signing fixes for distribution export. Add mobile invoice PDF preview, compact line items, and more reliable shortcut deep-link handling. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
527 B
Swift
20 lines
527 B
Swift
import AppIntents
|
|
|
|
@available(iOS 18.0, *)
|
|
struct OpenTimerIntent: AppIntent {
|
|
static var title: LocalizedStringResource = "Open Time Clock"
|
|
static var description = IntentDescription("Open the beenvoice time clock.")
|
|
static var openAppWhenRun: Bool = true
|
|
|
|
@MainActor
|
|
func perform() async throws -> some IntentResult {
|
|
guard let url = URL(string: "beenvoice://timer") else {
|
|
return .result()
|
|
}
|
|
|
|
BeenVoiceIntentHelpers.openDeepLink(url)
|
|
|
|
return .result()
|
|
}
|
|
}
|