Closed jfbourne closed 1 week ago
https://docs.agora.io/en/help/quality-issues/android_background @jfbourne pls check here
@guoxianzhe thanks. I did came across that post but, that means I have to implement some android native code and bridge that back to react-native. I’m want to see if agora-react-native already implements some solution that won’t require the community to write custom native code.
@jfbourne understood, We will consider it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug The application stops getting audio from the microphone if it is put in the background.
To Reproduce Steps to reproduce the behavior:
Expected behavior The app continues to function when in the background
Smartphone (please complete the following information):
Additional context I already trying adding
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
to the manifest and addedsetParameters('{"che.audio.opensl":true}');
to the engine but it does not work.