plus_plugins
plus_plugins copied to clipboard
Error: UnimplementedError: shareFiles() has not been implemented on Web.
Use case
Hi, I'm trying to use the share_plus plugin to share an image from a Flutter web app. When I try to share an image using the shareFiles() syntax I get the following message:
"Error: UnimplementedError: shareFiles() has not been implemented on Web."
From the docs it looks like this just hasn't been implemented yet.
Proposal
Add file sharing support for Flutter web. FYI, here is a related issue from the old share plugin.
Correct me if I am wrong, but if we're sharing a image file, it will have a null path on flutter web. The plugin will have to make an exception and maybe pass a Uint8list of the file bytes to make it work.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days
@mhadaily I'll like to work on this
This should have been fixed for a while. "Share files" is supported on web (on those browsers that are supported, of couse)