cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6872) File plugin: wrong disk space available on iOS
Date Fri, 06 Jun 2014 19:18:02 GMT

    [ https://issues.apache.org/jira/browse/CB-6872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14020263#comment-14020263
] 

ASF GitHub Bot commented on CB-6872:
------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/cordova-plugin-file/pull/50


> 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)

Mime
View raw message