receive_sharing_intent icon indicating copy to clipboard operation
receive_sharing_intent copied to clipboard

[iOS] Space character in file name are replace by "%20"

Open JeanChristopheMobizel opened this issue 4 years ago • 1 comments

When receiving a share intent on iOS devices, for a file, the value received contain"%20" character instead of space " ".

I'm fixing it with a

 final String cleanValue = rawValue.replaceAll("%20", " ");

But it's not very clean.

JeanChristopheMobizel avatar Oct 16 '20 13:10 JeanChristopheMobizel

You can use Uri.decodeFull the remove all url encoding. (https://api.dart.dev/stable/1.20.1/dart-core/Uri/decodeFull.html)

The-Redhat avatar Jun 30 '21 11:06 The-Redhat