So, I've declared an AppIntent that indicates my app can "Open files" that conform to UTType.Image
.
I've got a @AssistantEntity(schema: .files.file)
and a
@AssistantIntent(schema: .files.openFile)
declared.
So I navigate to the files app, quicklook an image, and open type-to-siri.
I tell siri "open this in <app name>" and all it does is act like "open <app name>". No breakpoint is hit in my intent's perform method.
Am I doing something wrong? How can I test these cross-app behaviors?
Are they... not actually possible? Does an "OpenIntent" only work on my app's own URLs and not on file URLs from other apps?