I'm playing around with Interactive Widgets and I am trying to make one that starts playing audio content without bringing the app to the foreground.
The new Button used in interactive widgets accepts an AppIntent, but INPlayMediaIntent doesn't conform to AppIntent.
Starting to play something directly from an AppIntent doesn't seem to work either. The system kills my process if I try to call the following from an AppIntent:
''' try! AVAudioSession.sharedInstance().setActive(true) '''