onesky / plugin-ios-ota

Over the air plugin
50 stars 8 forks source link

OTA downloaded files included in iCloud backups #18

Closed RetepV closed 8 years ago

RetepV commented 8 years ago

Hi,

Our app was recently rejected because we were storing too much data in the iCloud backup. So we went through all our files, to see what was marked for Exclude From Backup, and what not.

Amongst the files that are included in the backup, there is OneSkyStrings.plist. This file is downloaded by this OTA plugin and stored in the Documents folder of the app.

This file should not be included in iCould backups, as it can be easily regenerated after iOS decides to delete it. So it either needs to be stored in the Library/Caches folder, or it needs to be saved and marked with the 'NSURLIsExcludedFromBackupKey' file resource property set to YES. Will that be possible?

Please check out this: https://developer.apple.com/library/ios/qa/qa1719/_index.html

Cheers! Peter

bretdabaker commented 8 years ago

Will add support for that by this week.

bretdabaker commented 8 years ago

Fixed in 0.9.12

RetepV commented 8 years ago

Thanks! Great work!