I've finally got this functionality up and running. It was necessary to configure the AVAudioSession category as '.playback' and subsequently activate the AVAudioSession.
Post
Replies
Boosts
Views
Activity
Still doesn't work! Getting the same error even after confirming to AudioPlaybackIntent. Maybe there is something which I'm still missing. How did you managed to get it work with Interactive Widget Buttons? Do we have to activate AVAudioSession ?
Applying .contentMarginsDisabled() modifier crashes Widgets in Xcode 15 Beta 3. Has anything changed?
It's macOS Monterey 12.4. Build with Xcode 13.4.1/ iOS 15.5