breautek commented on issue #636: URL: https://github.com/apache/cordova-plugin-file/issues/636#issuecomment-2364547098
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) makes sense is if https://github.com/apache/cordova-plugin-file/blob/03a4f4cb53e54de31344851cc5d01b5da96aa0d7/www/FileReader.js#L43 uses the false condition and assigns `_realReader` to `{}` which obviously has no methods and would explain the "readAsArrayBuffer is not a function ... readAsArrayBuffer is undefined" -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org