What API controls these quick links?
Spotlight your app with App Shortcuts - WWDC23 - Videos - Apple Developer

Discover how to use App Shortcuts to surface frequently used features from your app in Spotlight or through Siri. Find out how to...

Apple Developer
@brandonhorst @caseyliss I don't know - my app uses AppShortcuts, but it doesn't look like Amazon’s. When looking at this view, it seems like they have a single 'Open Amazon' OpenIntent, with different parameters applied, and somehow stylized.

@matt1corey @brandonhorst @caseyliss It is App Shortcuts, and they've taken the Open action & made parameterized instances of it with App Shortcuts.

This is a combination of parameterized phrases from the first year of App Shortcuts & the Spotlight integration from the second year.

Here's where they start to talk about it: https://developer.apple.com/wwdc22/10170?time=851 Then the rest is in Brandon's linked video.

You can also use Suggested Entities to show nicely-designed entities in Spotlight as well

Implement App Shortcuts with App Intents - WWDC22 - Videos - Apple Developer

Discover how you can create Shortcuts in your app with zero user setup. We'll show you how App Intents can help you present custom...

Apple Developer
@matthewcassinelli @matt1corey @brandonhorst Granted I've only been looking at this for ten minutes, but I'm having trouble figuring out how to write an Intent that basically just deep-links into the app…? I just watched that section of the video — thank you! — but I don't think I'm grokking how to just open the app.
OpenURLIntent | Apple Developer Documentation

An app intent that opens a universal link.

Apple Developer Documentation
@caseyliss @matthewcassinelli @matt1corey Haha looks like you beat me by 6 seconds.
@brandonhorst @matthewcassinelli @matt1corey Although that looks like it requires a web endpoint, which Callsheet doesn't have 😩
@caseyliss @matthewcassinelli @matt1corey It doesn’t! You can use `onOpenURL` to handle it directly from SwiftUI. I think you may also need `.handlesExternalEvents` and an Info.plist param to support a custom url sceheme.
OpenURLIntent | Apple Developer Documentation

An app intent that opens a universal link.

Apple Developer Documentation
@caseyliss @matthewcassinelli @matt1corey Oh wow, I think that line (and enforcement) was added in some recent beta. It definitely worked at one point in this beta cycle, but it is indeed failing for me now. Wicked bummer.
@brandonhorst @caseyliss @matt1corey There's been a couple other threads about this, it seems like it wasn't intentional that it was possible and isn't allowed. Probably because they can't validate the destination, and URL schemes are a major vector for security issues
@matthewcassinelli @brandonhorst @caseyliss Universal Links are a pain to setup, but once I did it, I find plenty of use for them, including In-App events
@matt1corey @matthewcassinelli @brandonhorst Honestly I really need to set up some sort of web front-end for universal links but I **so very much** do **not** want to run any sort of web server

@caseyliss @matthewcassinelli @brandonhorst For sure - my website is hosted on SquareSpace, but to enable UniversalLinks, I had to jump through hoops to get the apple-app-site-association file hosted through S3 on Amazon.

So I guess I'm technically still not running a web server to do this? 🤣

(I have a terribly written and unpublished blog post I can share for this, if it applies)

@matt1corey @caseyliss @brandonhorst Matt please do, any and all App Intents blog posts are extremely useful resources because every developer is going through this
@matthewcassinelli It's coming, for sure - just need to take the time to clean it up.

@matt1corey @matthewcassinelli I just finished finally properly implementing universal links 😅 it was a wild ride

Haha typos 😅