In this article
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.
enableFileOutputcannot 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-onceAudioRecorder.consumeLastRecordingResult()to reconnect to a recording that outlived the screen (#1234, @mdydek) - Add the
dismissiblenotification 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
onXxxproperties correctly (#1301, @mdydek)
Release card