Do not back up attribute

Hello,

Apple said :

  1. Use the “do not back up” attribute for specifying files that should remain on device, even in low storage situations. Use this attribute with data that can be recreated but needs to persist even in low storage situations for proper functioning of your app or because customers expect it to be available during offline use. This attribute works on marked files regardless of what directory they are in, including the Documents directory. These files will not be purged and will not be included in the user’s iCloud or iTunes backup. Because these files do use on-device storage space, your app is responsible for monitoring and purging these files periodically."

How to use or to enable the do not back up attribute ?

Best,

Frédéric
[import]uid: 5578 topic_id: 24702 reply_id: 324702[/import]

Ansca hasn’t given us that feature yet, though it is frequently asked for. [import]uid: 19626 topic_id: 24702 reply_id: 100117[/import]

It seems there is also the possibility to get a private directory for the app :

http://developer.apple.com/library/ios/#qa/qa1699/_index.html

Is it possible to get into it with Corona ?

I will not be allowed to use Documents directory as my data are not generated by the user.

The cache directory can be erased at anytime : I have to check at every launch but also *always* if the iphone becomes low in storage : I am not sure that the data would be erased when the app is in the background.

The private solution is great : you can store datas but they won’t be copied to icloud (Apple is then happy).
[import]uid: 5578 topic_id: 24702 reply_id: 100584[/import]

Hey guys, we’re looking into this, there was a comprehensive thread posted (by Karnak, I think?) requesting this on Friday. [import]uid: 52491 topic_id: 24702 reply_id: 100967[/import]

My app was just rejected because of this. They recommend I mark the file with the “do not back up” attribute.

Any news on this one? [import]uid: 126708 topic_id: 24702 reply_id: 104303[/import]

I believe @ewing posted in another thread that this feature should drop very soon along with more file system bits. Watch the daily builds!
[import]uid: 19626 topic_id: 24702 reply_id: 104305[/import]

Hey Adam, Rob is spot on. Link; http://developer.anscamobile.com/forum/2012/04/13/donotbackup-flag-comply-new-apple-guidelines-downloaded-content-also-allow-folder

Peach :slight_smile: [import]uid: 52491 topic_id: 24702 reply_id: 104379[/import]