react-native-incall-manager icon indicating copy to clipboard operation
react-native-incall-manager copied to clipboard

setMicrophoneMute and setSpeakerPhoneOn not working in android audio call only

Open murtazakaz opened this issue 5 years ago • 1 comments

murtazakaz avatar Apr 09 '19 16:04 murtazakaz

Here is the solution if any one still wondering (https://stackoverflow.com/questions/55644565/setmicrophonemute-and-setspeakerphoneon-not-working-in-android-audio-call-only)

<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />

in the manifest file of your project. Both InCallManager.setMicrophoneMute() and InCallManager.setSpeakerphoneOn() will work.

murtazakaz avatar May 20 '19 11:05 murtazakaz