React-native-webview: Record Audio permissions for android not working as expected

Created on 16 May 2019  路  3Comments  路  Source: react-native-webview/react-native-webview

Bug description:
I have a weblink which i need to integrate for recording audio, even after allowing recording permissions in android it gives error. The same link works properly on mobile chrome.
Wondering what is happening differently in webview that it is not allowing to record audio. It gives Error getting audio as the error message.

Following is the url for testing audio recorder :
https://webaudiodemos.appspot.com/AudioRecorder/index.html

Following are the permissions used in android :

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

Expected behavior:
If the Url works properly on mobile chrome browser it should work in webview also.

Can anyone please help me get through this issue. its really critical for me to find solution to this.

Environment:

  • OS: Android
  • OS version: 7.1.1
  • react-native version: 0.59.5
  • react-native-webview version: 5.8.2
Stale bug report

All 3 comments

I am also getting same problem. App is opening file manager for fetching audio files. It should open audio recorder. Please reply this soon.

I'm also having the same problem

Hello 馃憢, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like _still searching for solutions_ and if you found one, please open a pull request! You have 7 days until this gets closed automatically

Was this page helpful?
0 / 5 - 0 ratings