355b14faef
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>
38 lines
1.2 KiB
Swift
38 lines
1.2 KiB
Swift
import AppIntents
|
|
|
|
@available(iOS 18.0, *)
|
|
struct BeenVoiceShortcuts: AppShortcutsProvider {
|
|
@AppShortcutsBuilder
|
|
static var appShortcuts: [AppShortcut] {
|
|
AppShortcut(
|
|
intent: ClockInIntent(),
|
|
phrases: [
|
|
"Clock in with \(.applicationName)",
|
|
"Start timer in \(.applicationName)",
|
|
"Start tracking time in \(.applicationName)",
|
|
],
|
|
shortTitle: "Clock In",
|
|
systemImageName: "play.circle.fill"
|
|
)
|
|
AppShortcut(
|
|
intent: ClockOutIntent(),
|
|
phrases: [
|
|
"Clock out in \(.applicationName)",
|
|
"Stop timer in \(.applicationName)",
|
|
"Stop tracking time in \(.applicationName)",
|
|
],
|
|
shortTitle: "Clock Out",
|
|
systemImageName: "stop.circle.fill"
|
|
)
|
|
AppShortcut(
|
|
intent: OpenTimerIntent(),
|
|
phrases: [
|
|
"Open time clock in \(.applicationName)",
|
|
"Open timer in \(.applicationName)",
|
|
],
|
|
shortTitle: "Time Clock",
|
|
systemImageName: "timer"
|
|
)
|
|
}
|
|
}
|