At this site,
https://github.com/apache/cordova-plugin-file, create, read,write and remove file operations are demonstrated. I am attempting to use these functions, but there are problems. First of all, the created file overwrites itself each time it is executed, yet the isAppend variable value doesn't seem to matter. However, most disturbing for me is the write function definition and the corresponding call to that function. I suspect it has something very basic to do with javascript that I have yet to learn but here it is:
The write function is defined as so:
function writeFile(fileEntry, dataObj)
{
....
}
Yet, the call to the write function is specified like this:
writeFile(fileEntry, null, isAppend);
I have no idea how the differing and different number of function arguments can possibly work. Any assistance will be appreciated.