AudioRecordingIntent: AVAudioSession.setActive() fails with OSStatus 561015905 on Lock Screen

Hello,

I'm implementing AudioRecordingIntent on iOS 26.

My goal is to support Action Button exactly like Apple's Voice Memos:

• press Action Button • device remains locked • recording starts immediately • no Face ID • Live Activity is shown • no application UI

My intent conforms to AudioRecordingIntent.

Inside perform() I do:

  1. AVAudioSession.sharedInstance().setCategory(.record)
  2. AVAudioSession.sharedInstance().setActive(true)
  3. AVAudioRecorder.record()

The result is:

setCategory succeeds.

setActive always fails with

NSOSStatusErrorDomain Code = 561015905 "Session activation failed"

The failure happens before AVAudioRecorder starts.

If I instead forward execution to the main application, iOS requests Face ID before recording begins.

Questions:

  1. Is AVAudioSession activation inside AudioRecordingIntent actually supported for third-party apps?

  2. If not, what is the expected architecture for implementing lock-screen recording using AudioRecordingIntent?

  3. Is there an official sample project demonstrating the intended implementation?

Thank you.

AudioRecordingIntent: AVAudioSession.setActive() fails with OSStatus 561015905 on Lock Screen
 
 
Q