getFile

destination is an android.net.Uri, a java.io.File or a String path.

destination is an NSURL or a String path.

Downloads the object to the file destination (see the platform file types above). Fails on JS, whose SDK has no file downloads.

Fails: the JS SDK downloads through URLs, not to files; use StorageReference.getBytes or StorageReference.getDownloadUrl.

Fails: the JS SDK downloads through URLs, not to files; use StorageReference.getBytes or StorageReference.getDownloadUrl.