Audio API 0.13.6

v0.​13.​6Patch Release

On Android the recording foreground service now follows the C++ recorder, so a recording keeps going after the screen unmounts or the app is swiped away from recents, and a remounted screen can pick it back up.

Breaking changes

  • The recording notification's actions are plain text buttons now. Icons rendered inconsistently across manufacturers and Android versions.
  • enableFileOutput cannot be changed once the recorder has started.

Features

  • Pin the Android foreground service to the C++ recorder so a recording survives the app UI with androidFSStopWithTask: false (#1234, @mdydek)
  • Add AudioRecorder.isRecordingOngoing() and the consume-once AudioRecorder.consumeLastRecordingResult() to reconnect to a recording that outlived the screen (#1234, @mdydek)
  • Add the dismissible notification option: swiping a dismissible notification stops the recording, a pinned one is re-posted after a swipe on Android 14+ (#1234, @mdydek)

Fixes

  • Unregister audio event handlers set through onXxx properties correctly (#1301, @mdydek)

Full changelog

Release card
Audio API 0.13.6 release card