When will the 'auto-restart' flag be available for iOS, and how will it be implemented? Is it a property of the CouchbaseMobile object, or somewhere else in the 'ini' files?
(It looks like you also asked the question on the mobile-couchbase Google group, but I'll add the answer here for the benefit of posterity)
It's been in the nighties for a while; http://files.couchbase.com/developer-previews/mobile/ios/nightlybuild/
It's a property:
/** Defaults to YES, set to NO to prevent auto-restart behavior when app returns from background */
@property (assign) BOOL autoRestart;
We also provide a method to manually trigger the restart if you've set it to NO:
/** Restart the server, necessary if app being suspended closes its listening socket */
- (void) restart;
© 2013 COUCHBASE All rights reserved.