cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Krones (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6195) Mark file with the "do not back up" attribute not working.
Date Wed, 12 Mar 2014 11:49:43 GMT

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

Tom Krones commented on CB-6195:
--------------------------------

The fault might be with the file transfer download function.  The file it returns doesn't
have the correct full path.

> Mark file with the "do not back up" attribute not working.
> ----------------------------------------------------------
>
>                 Key: CB-6195
>                 URL: https://issues.apache.org/jira/browse/CB-6195
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugin File
>    Affects Versions: 3.4.0
>            Reporter: Tom Krones
>            Assignee: Shazron Abdullah
>            Priority: Critical
>
> I've been using the Cordova File Plugin for a while and in the past I've set files I
stored to the documents folder with the "do not back up" attribute using the following code:
> theFile.setMetadata(function(){}, function(){}, { "com.apple.MobileBackup": 1});
> I just submitted an app which was denied from apple because that attribute wasn't being
set correctly and iCloud was trying to back up those files. 
> I don't know objective c very well but I set a few breakpoints to check that I was at
least calling the plugin correctly.  From what I can tell it's calling the setMetadata function
in the CDVFile.m file but the setMetadataForURL function never gets called.  
> Any help with this would be great.  Right now apple is blocking my application from being
approved.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message