flutter_inappwebview
flutter_inappwebview copied to clipboard
Problem with Audio Recording Inside WebView on iOS
- [x] I have read the Getting Started section
- [x] I have already searched for the same problem
Environment
Technology | Version |
---|---|
Flutter version | 3.22.1 |
Plugin version | 6.0.0 |
Xcode version | 15.4 |
Description
I have a Flutter application that uses the InAppWebView library to upload files, including recording audio within the WebView. The application works fine on Android without any issues, but on iOS, when I press the record button, no audio is recorded, and the website within the WebView cannot access the microphone، .. and the same issue on real device. Expected behavior: Audio recording and sending from within the WebView on iOS.
Current behavior: On iOS, when pressing the record button within the WebView, no audio is recorded, and the microphone cannot be accessed.
Steps to reproduce
- Open the application using
InAppWebView
for audio recording. - Run the application on an iOS device.
- Open a page with an audio recording option within the WebView.
- Attempt to record audio using the provided button.
- Observe that no audio is recorded and the microphone cannot be accessed.