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.
The problem was using
storage.labelas path. You need toresolvethestorage.labeland use thedirectory.fullPath.