incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "christophe benoit (JIRA)" <>
Subject [jira] [Commented] (CB-471) LocalFileSystem.PERSISTENT "do not back up" file attribute iOS
Date Wed, 20 Jun 2012 09:21:42 GMT


christophe benoit commented on CB-471:

I had a look at the first commit (CDVFile.m file) and it's using a now deprecated method to
set the 'do not backup' attribute according to:

"Warning The code that follows has been deprecated and should only be used on iOS 5.0.1 or
earlier. When running in iOS 5.1, apps should use the NSURL and CFURL keys described above."

I guess you want to keep backward compatibility with ios 5.0.1 and earlier, but in the case
of iOS forward compatibility look more important as most devices are up to date. with iOS
6 coming soon, this fix looks already obsolete.

Wouldn't that be possible to use the new methods when available, and fallback to the old method
if necessary?
> LocalFileSystem.PERSISTENT "do not back up" file attribute iOS
> --------------------------------------------------------------
>                 Key: CB-471
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Lee Crossley
>            Assignee: Shazron Abdullah
>             Fix For: 1.8.0
> According to the developer documentation on Apple's website:
> Starting in iOS 5.0.1 a new "do not back up" file attribute has been introduced allowing
developers to clearly specify which files should be backed up. (
> Persistance is easily achievable (LocalFileSystem.PERSISTENT) but there seems to be no
way of specifying if a saved file is not backed up to the iCloud or not.
> Apps may be rejected by Apple (depending on the data) if the "do not back up" file attribute
is not set.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message