Path Error - PCLStorage

dimikkdimikk RUMember ✭✭
edited November 2017 in Xamarin.Forms

Hello.
I use the library of PSLtorage in my project.

                 FileData filedata = await CrossFilePicker.Current.PickFile ();
                 string filePath = filedata.FilePath;

There is a problem with Android:
When you receive a file from internal memory, the full path to the file is written correctly.
However, when using a file with the SD CARD, the path is distorted.
For example, instead of:
storage/sd-037-12F/folder
we get:
document/sd-037-12F:folder

Sign In or Register to comment.