You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alberto Pagliarini (JIRA)" <ji...@apache.org> on 2014/06/04 17:05:01 UTC
[jira] [Created] (CB-6872) File plugin: wrong disk space available
on iOS
Alberto Pagliarini created CB-6872:
--------------------------------------
Summary: File plugin: wrong disk space available on iOS
Key: CB-6872
URL: https://issues.apache.org/jira/browse/CB-6872
Project: Apache Cordova
Issue Type: Bug
Components: Plugin File
Reporter: Alberto Pagliarini
I have some issue on iOS trying to allocate more than 140 Mbytes with FIle plugin. I have an iPad 16 Giga with 10 Giga free on device but a QUOTA_EXCEEDED_ERR was thrown
Here the code
{code}
var requestBytes = 150 * 1024 * 1024;
window.requestFileSystem(LocalFileSystem.PERSISTENT, requestBytes, function(fs) {
// success callback
}, function (e) {
// error callback
});
{code}
I see that the free space calulated in {{requestFileSystem}} method of *CDVFile.m* results always about 144 Mbytes.
Link to thread on google groups
https://groups.google.com/d/msg/phonegap/0er5Gp2c-gQ/bTvh15z24AkJ
--
This message was sent by Atlassian JIRA
(v6.2#6252)