if #available(iOS 16.0, *) {
print("donated")
let intent = BasicIntent()
IntentDonationManager.shared.donate(intent: intent)
}
Trying to test if donations work with the new App Intents framework.
- Donating the shortcut once a user taps a button.
- The shortcut is not appearing on the lock screen.
- Everything else is working as expected. The Shortcut is appearing in the Shortcuts App and is working via Siri.
In developer settings I have
Display Recent Shortcuts
-> On
Display Donations on Lock Screen
-> On
Allow Any domain
-> On
Allow Unverified sources
-> On
Running iOS 16.2, iPhone 11.