Couchbase Questions: iOS

Have a Question? Get it answered by our community

iceydee's picture
Asked 2 weeks 1 day ago
Latest activity 2 weeks 1 day ago

How can I fix autosaveAllModels when running my database in background thread (iOS)?

Hi!

I'm running CBLDatabase in a dispatch queue of my own - following the concurrency guidelines (iOS app). However, when the app is minimized, autosaveAllModels: is getting called on the main thread. This causes a crash because the database is being used on the wrong thread. How can I...

Diabolus333's picture
Asked 2 weeks 1 day ago
Latest activity 2 weeks 6 hours ago

Error while trying to sync via SSL

Hi everyone,

i'm trying to sync my data between an iOS-App and a CB server using the Sync Gateway and I want to use a crypted connection using SSL. This is my config-file, the certificate is a self-signed one:

...
Kartheek67's picture
Asked 2 months 3 weeks ago

how to get the response from the url in ios through couchbase lite?

i am using an url for getting json data and i need to use the data to display the contents in my mobile ui
how can it be done

flo_vonderuni's picture
Asked 3 months 6 days ago

Building views (indexing) while syncing data

Hello,

The app I'm writing takes a long time syncing the docs from the Sync Gateway, and it also takes a long time building the views.

Is it possible to run the two processes in parallel? What needs to be done for it?

Thanks in advance

Florian

flo_vonderuni's picture
Asked 3 months 1 week ago
Latest activity 3 months 1 week ago

"returned unparseable data" warning

Hello experts,

I'm getting lots of warnings like this during a big sync:

WARNING CBLRemoteJSONRequest . . .
sync_gateway/_all_docs?include_docs=true returned unparseable data '{"rows":[
{"id":"asset_3201670","key":"asset_3201670","value":{"rev":"1-...

flo_vonderuni's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 1 week ago

How to partition the dataset that is synced to Couchbase Lite (via Sync Gateway)

Hello,

I’m developing a document management app with Couchbase Lite and Sync Gateway.

We have a few thousand documents, and everyone one has a (potentially unique) subset of natural languages assigned to it (Languages are given as an array property for every document in CB. We...

rivka.s@tvinci.com's picture
Asked 3 months 3 weeks ago
Latest activity 3 months 3 weeks ago

Couchbase light ios - Writing to the database in validation block

Hi ,
I'm trying to create an new document that relay on other documents in the data base ,
I thought that it will be perfect if i'll do it on the validation block ( [dataBase setValidationNamed: @"Name" asBlock: VALIDATIONBLOCK ... ) but i'm getting crash , the stack looks :

0...

bmhardy's picture
Asked 5 months 1 week ago
Latest activity 5 months 1 week ago

Persona and couchbase

I was thinking of using persona authentication with my android application.

Can someone please enlighten me about what couchbase does with persona? Does the server run some code that responds to a persona request? Does authentication happen at a...

yuzkan's picture
Asked 6 months 1 day ago
Latest activity 4 weeks 2 hours ago

Couchbase lite ios with session cookie

Hi,

I need a bit of help how to run a replication using sync gateway cookie/sessionID.
I'm setting the cookie like this:

[self.replication.headers setValue:value forKey:@"Cookie"];
...
bmhardy's picture
Asked 7 months 1 week ago
Latest activity 7 months 1 week ago

CHANGE_EVENT not received

Hello,

I have an iOS Titanium client built using the couchbaseLite titanium iOS module. Pull and Push replication is configured and working well in general, however I noticed a problem. If I update the same json document via the sync gateway using a REST PUT command two times in a row,...

Pages