Hi,
I have some issue on iOS trying to allocate more than 140 Mbytes with FIle plugin 1.0.1. I have 10 giga free on device but a QUOTA_EXCEEDED_ERROR was thrown
Here the code
var requestBytes = 150 * 1024 * 1024;
window.requestFileSystem(LocalFileSystem.PERSISTENT, requestBytes, function(fs) {
// success callback
}, function (e) {
// error callback
});
I see that the free space calulated in requestFileSystem method of CDVFile.m results always about 144 Mbytes.
Any idea? How is the free space calculated? Are there some limits for iOS apps?
Note that on android I haven't any issues.
regards Alberto