App rejection: 2.23 Apps must follow the iOS Data Storage Guidelines
My app is using Couchbase mobile and just got rejected. Here is some background:
The original app is using Couchbase and was actually approved back in February.
The upgrade was the rejected today - there are no changes in how the app is using the database!
Apple tells me that because the app creates files that iCloud is trying to back up which seems to be true when I look at Settings > iCloud > Storage & Backup > Manage Storage. When I look into the documents folder however (in the iphone simulator) the directory is empty. Has anyone dealt with this issue? Any help is appreciated. We are trying to showcase the app at Tech week which is just days away!
Is there any way to mark the files as "NO BACK UP". I don't really want the data being back up by iCloud but it would be nice if it doesn't disperser from the device at my iphone's will.
Yes, there are APIs for marking files as not to be backed up. Look in the iOS reference docs.
Thanks! I will give it a try.
> Apple tells me that because the app creates files that iCloud is trying to back up
That's intentional, since we assume the databases contain user data. Even if you sync everything up to the cloud, there may be periods during which newly entered data exists only on the device, e.g. if your upstream server is down. Thus it should be backed up.
If your databases don't contain user data, you can use the CouchbaseMobile class's API to configure the directory where it stores data, to be someplace that won't be backed up.
—Jens