You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2014/06/06 21:20:02 UTC

[jira] [Assigned] (CB-6872) File plugin: wrong disk space available on iOS

     [ https://issues.apache.org/jira/browse/CB-6872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Clelland reassigned CB-6872:
--------------------------------

    Assignee: Ian Clelland

> 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
>            Assignee: Ian Clelland
>
> 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)