Condition on AppShortcutsProvider

I'm building an new App Intent that I'm planning to add to the list of AppShortcuts provided by my app, however this new Intent will only work for users on iOS 17.

Is it possible to add this new Intent only for users on the newer version? The AppShortcutsProvider doesn't seem to support conditionals and I don't wan't to drop support of my current AppShortcuts for users or previous versions.

I've also tried returning an array of AppShortcuts to the provider instead of using the AppShortcutsBuilder, but then no App Shortcuts are displayed on the Shortcuts app. Has anyone ran into this issue before? Thanks for the help

Condition on AppShortcutsProvider
 
 
Q