Norman Breau
Norman Breau
`cordova.file.externalDataDirectory` isn't guaranteed to exist and the value can be `null` if the device doesn't have emulated external storage or external storage attached. It might be a reason for: ```...
**IF** `externalDataDirectory` is actually null, then it would be the first time I've ever heard of it being null if I were to be honest. I thought all modern devices...
The file plugin is written to W3C specs with the idea that eventually the plugin won't be needed eventually (in fact most Apache plugins were written like this). They are...
> @breautek Nobody reacted on this except you, is this a lazy agreement? I would send out a "final call" email which can read something to the effect of: >...
I don't think so. The file plugin has a lot of really old code that obviously has been mangled and manipulated to not only keep up with standard changes previously...
`FileWriter` is defined in https://dev.w3.org/2009/dap/file-system/file-writer.html, which is one of the documents that has been discontinued. So on that merit I think we are free to promise-ify the writer.
> Saw this : still really evil to not follow the MDN [#316 (comment)](https://github.com/apache/cordova-plugin-file/issues/316#issuecomment-2173349010) I haven't really had a chance to take a look, but changing anything is probably going...
It would be interesting to see in your environment what is being returned by: https://github.com/apache/cordova-plugin-file/blob/03a4f4cb53e54de31344851cc5d01b5da96aa0d7/www/FileReader.js#L27 Because the only way > this._realReader.readAsArrayBuffer is not a function. (In 'this._realReader.readAsArrayBuffer(file)', 'this._realReader.readAsArrayBuffer' is undefined)...
Moving this to the cordova-docs repo because I think we should treat this as a doc bug.
> Code runs successfully and falls under the success block and even present the toast of 'File downloaded successfully.' But file is not downloaded on device. This suggest that your...