I am redirected to a site using webview. A photo needs to be selected on the site I reference, but when I call the site with webview, this selection screen does not appear. How can i fix that?
Here is my android-manifest permissions:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
CodePudding user response:
webview_flutter plugin has yet to have support for file upload. You can track the currently open ticket related to this issue here. In the meantime, you can use flutter_webview_plugin as a workaround.
CodePudding user response:
This package work for me
Here is my code:
WebviewScaffold(
url: 'www.google.com',
withLocalStorage: true, //for upload files
);