ShoutSocial / share_handler

A plugin to facilitate receiving and handling share intents
43 stars 45 forks source link

Path needs to use URI parser #10

Closed ollyde closed 2 years ago

ollyde commented 2 years ago

Simple fix for your path by the way. You need to use

final path = Uri(path: attachment!.path);

Because sometimes paths are encoded or have some weird platform inserts that are handled by Uri.

Apart from that, great job on the library, working like a dream.