Failing to download or move file to external storage

133 Views Asked by At

Using internal storage all works fine. But when trying to download to external storage I'm getting "PLATFORM ERROR" or "Incorrect destination" errors. Using the path: {storage.label}/dir

I'm able to create empty directories and text files on external storage using the File system API.

1

There are 1 best solutions below

0
MichaelS On

The problem was using storage.label as path. You need to resolve the storage.label and use the directory.fullPath.