-
Notifications
You must be signed in to change notification settings - Fork 250
Description
I'm facing a background recording issue on iOS when another app like Voice Memos is used.
My React Native app records audio in the background (using react-native-audio-recorder-player). However, when the Voice Memos app starts recording, the following occurs:
My app's background recording is interrupted or paused silently.
After Voice Memos is done recording and closed, returning to my app shows that the previously recorded audio has been lost or removed — it doesn’t resume and no audio file is saved.
This seems to be an iOS-level microphone resource conflict. Voice Memos takes over exclusive access to the microphone, and when it finishes, my app doesn’t recover or retain the existing audio session/data.
Expected Behavior:
When another app like Voice Memos interrupts recording, my app should detect this and gracefully pause, preserving the already recorded audio.
After the interruption ends, my app should still have access to the previously recorded audio file, even if recording cannot resume.
Any guidance or help on resolving this would be greatly appreciated.