Skip to content

Commit 4a92bbb

Browse files
wfaircloughmacdonst
authored andcommittedJul 20, 2018
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.
1 parent cc3aedb commit 4a92bbb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎www/FileWriter.js

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
var exec = require('cordova/exec');
2323
var FileError = require('./FileError');
24+
var FileReader = require('./FileReader');
2425
var ProgressEvent = require('./ProgressEvent');
2526

2627
/**

0 commit comments

Comments
 (0)