mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 23:42:53 +08:00
116169a4c5
The FileEntry.createWriter() method passes in a FileEntry object instead of a File object. As a result the FileWriter.length was not being set properly so when you do a writer.seek(writer.length) it would go to 0, so your next write would overwrite your file. In order to fix this issue the FileEntry.createWriter() method now makes a call to FileEntry.file() to get the correct file size. The File object is now passed to the FileWriter constructor. |
||
---|---|---|
.. | ||
js | ||
www |