Open juligupta opened 3 years ago
Since version 2+ is not maintained, could you also try our recent version which currently is 3.0.9
?
I would really like to know if anyone got this to work. I want to record audio 24/7 and stream the recording to an api without having the app open (personal research project). Please email me at cfa AT karsens.com
Doesn't need to be Android + iOS but preferably iOS. Android is also fine if iOS doesn't work.
iOS working fine I have issues in android alone in background state audio is not recording in Android @CodeFromAnywhere
the same issue
Any news on this ?
Ok, if someone still has this issue, I figured out for iOS that you simply have to add :
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
</array>
In your Info.plist
file. By doing this, the recording should continue if the app goes in background.
I'm wondering, is there any update on this for Android?
If someone can provide guidance, my team is willing to help add this feature.
Version of react-native-audio-recorder-player
2.5.3
Version of React Native
0.63.3
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
When application goes to background, the audio recording should continue
Actual behavior
When application goes to background, the audio recording stops
Steps to reproduce the behavior
Start the audio recording while application is in active state Press home button to move application to background. Come back to application after some time. The recording resumes from the time when it went to background. It is not recording while in background.