Issue
I'm trying to export data from datatable like this using inAppWebview package but the download failed because the URL is using BLOB, I try to follow this answer but still unable to download that file. Any suggestion?
Solution
It is known issue (Download Blob file from Website inside Android WebViewClient).
There is another question about .pdf files with exactly the same problem Flutter WebView blob pdf download.
I have updated my answer to support extension that depends on mimeType that blob has instead of hardcoding it for .pdf. You can try it.
You would need to map the mimeType that you get e.g. application/vnd.ms-excel
to .xlsx
etc.
Answered By - wpazio
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.