just say "Show me my books". don't need your app name.
Also it seems you don't need the AppShortcutsProvider. I was able to get it working with just the AppIntent struct
struct ShowMeMyBooks: AppIntent {
static var title: LocalizedStringResource = "Show me my books"
@MainActor
func perform() async throws -> some IntentResult {
return .result(dialog: "These are your books")
}
static var openAppWhenRun: Bool = false
}
note: it seems the sample code in the WWDC session is wrong. its right in the video but not in the attached code.
Topic:
App & System Services
SubTopic:
General
Tags: