[
https://issues.apache.org/jira/browse/CB-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397720#comment-13397720
]
christophe benoit commented on CB-471:
--------------------------------------
Though the name 'com.apple.MobileBackup' will be misleading as it won't
actually be setting this parameter (or people will wonder if 1.9.0 is not using
this deprecated feature). There also might be nuances between those two methods
other than their primary goal (to say 'do not backup'), so the old name
(com.apple.MobileBackup) will favour this misconception.
Don't you think the JS property name also should change to something more in
the lines of 'NSURLIsExcludedFromBackupKey'? - there could also be a backward
compability 'com.apple.MobileBackup' property still kept by cordova API, but
defined as deprecated in the documentation.
> LocalFileSystem.PERSISTENT "do not back up" file attribute iOS
> --------------------------------------------------------------
>
> Key: CB-471
> URL: https://issues.apache.org/jira/browse/CB-471
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Reporter: Lee Crossley
> Assignee: Shazron Abdullah
> Fix For: 1.9.0
>
>
> According to the developer documentation on Apple's website:
> https://developer.apple.com/library/ios/#qa/qa1719/_index.html
> 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. (com.apple.MobileBackup)
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira