Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Mobile

App rejection: 2.23 Apps must follow the iOS Data Storage Guidelines

4 replies [Last post]
  • Login or register to post comments
Mon, 06/18/2012 - 15:44
thmr
Offline
Joined: 03/13/2012
Groups: None

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!

Top
  • Login or register to post comments
Mon, 06/18/2012 - 15:52
jens
Offline
Joined: 10/04/2011
Groups: None

> 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

Top
  • Login or register to post comments
Mon, 06/18/2012 - 15:59
thmr
Offline
Joined: 03/13/2012
Groups: None

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.

Top
  • Login or register to post comments
Mon, 06/18/2012 - 16:15
jens
Offline
Joined: 10/04/2011
Groups: None

Yes, there are APIs for marking files as not to be backed up. Look in the iOS reference docs.

Top
  • Login or register to post comments
Mon, 06/18/2012 - 16:19
thmr
Offline
Joined: 03/13/2012
Groups: None

Thanks! I will give it a try.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker