flutter_inappwebview icon indicating copy to clipboard operation
flutter_inappwebview copied to clipboard

Problem with Audio Recording Inside WebView on iOS

Open shifo-stack opened this issue 6 months ago • 1 comments

  • [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

  1. Open the application using InAppWebView for audio recording.
  2. Run the application on an iOS device.
  3. Open a page with an audio recording option within the WebView.
  4. Attempt to record audio using the provided button.
  5. Observe that no audio is recorded and the microphone cannot be accessed.

shifo-stack avatar Jul 27 '24 07:07 shifo-stack