plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

Error: UnimplementedError: shareFiles() has not been implemented on Web.

Open jtmuller5 opened this issue 2 years ago • 2 comments

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.

jtmuller5 avatar Mar 22 '22 22:03 jtmuller5

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.

Chinmay-KB avatar Apr 10 '22 08:04 Chinmay-KB

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

github-actions[bot] avatar Jun 10 '22 00:06 github-actions[bot]

@mhadaily I'll like to work on this

Odinachi avatar Oct 02 '22 10:10 Odinachi

This should have been fixed for a while. "Share files" is supported on web (on those browsers that are supported, of couse)

miquelbeltran avatar Mar 28 '24 14:03 miquelbeltran