This is an automated email from the ASF dual-hosted git repository. macdonst pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cordova-plugin-file.git
The following commit(s) were added to refs/heads/master by this push: new 4a92bbb require FileReader in FileWriter to fix 'write' exec not being called (#237) 4a92bbb is described below commit 4a92bbbea755aa9e5bf8cfd160fb9da1cd3287cd Author: Will Fairclough <wfairclo...@gmail.com> AuthorDate: Fri Jul 20 16:17:23 2018 -0400 require FileReader in FileWriter to fix 'write' exec not being called (#237) FileWriter is missing the require('./FileReader') module causing the native FileReader to be used instead of the FileReader proxy. Oddly this does not happen everytime, but I could consistently reproduce the issue when running subsequent `cordova run android` commands on an Ionic app running in a 7.1.1 Android Emulator. --- www/FileWriter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/FileWriter.js b/www/FileWriter.js index c6de375..75ec9dc 100644 --- a/www/FileWriter.js +++ b/www/FileWriter.js @@ -21,6 +21,7 @@ var exec = require('cordova/exec'); var FileError = require('./FileError'); +var FileReader = require('./FileReader'); var ProgressEvent = require('./ProgressEvent'); /** --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org