[ https://issues.apache.org/jira/browse/CB-6872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14017757#comment-14017757 ]
julio cesar commented on CB-6872: --------------------------------- I'm getting 144MB too. I've found the problem, I'll send a pull request to the file plugin soon. > 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 > Affects Versions: 3.4.0 > 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)