fluttercommunity / flutter_webview_plugin

Community WebView Plugin - Allows Flutter to communicate with a native WebView.

Home Page:https://pub.dev/packages/flutter_webview_plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Download a static file by href, on post request or XMLHttpRequest

okarpov opened this issue · comments

Use case

We have a mobile app and at some point our users need to import some data into our mobile app but to do it
users need to export this data from a 3rd party website first.
So we open a webview to allow our users to still "be inside" of our app, sign in to a 3rd party website and
click on an Export button there to download a file. After that users click on our Import button and imports
the just downloaded file.

Proposal

Because of there different 3rd party websites they do provide different ways of export.
So it would be really great to have all of them like:

  • Download a static file by
  • Download on post/get request
  • Download on XMLHttpRequest