Open brenonesto opened 2 years ago
for android you to enable foregroundService for keep microPhone work on background/foreground state
for android you to enable foregroundService for keep microPhone work on background/foreground state
Can you provide any working example?
I'm having this issue that, during video calls using
react-native-twilio-video-webrtc
(https://github.com/blackuy/react-native-twilio-video-webrtc), after the user minimizes and goes back to the app, the microphone stops working.This problem happens specifically on Android devices (I've already tested it on iOS) and the curious thing is that, while the app is in the background, right after minimized, the microphone continues to work and only stops when the app is reopened.
I've checked Android permissions and features in
AndroidManifest.xml
and tried removing/adding some, but nothing seems to work. I don't think that's the problem either, because the call works fine if the user doesn't minimize it. These are my current permissions: