Couchbase Questions: Couchbase Mobile

Have a Question? Get it answered by our community

ravilogaiya's picture
Asked 1 week 3 days ago
Latest activity 4 days 20 hours ago

Couchbase testing on Android Emulator

Dear Team,

When test my app in Android Emulator (SDK version 21), I am getting SQLiteConnectionException.mConnectionPtr not found.

Should I do any additional stuff for emulator..?

Regards,
Ravi

iceydee's picture
Asked 3 weeks 5 hours ago
Latest activity 3 weeks 4 hours 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 3 weeks 7 hours ago
Latest activity 2 weeks 6 days 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:

...
Damien Cros's picture
Asked 3 weeks 1 day ago
Latest activity 2 weeks 6 days ago

Waiting for QueryFuture to finish - LiveQuery

Hello,

I am using LiveQuery for a project and this type of error happens when changes are made in my Couchbase Server.

Query: Got exception waiting for queryFuture to finish
 java.lang.
...
dgriffin's picture
Asked 1 month 4 days ago
Latest activity 1 month 4 days ago

Multiple sessions for users and using session on the client

Hey guys,

We are using App server to generate session_id for user. I have question on multiple session for same user.

In the following dataflow when you make 2nd request to CreateSessionB, does CreateSessionA is still valid?

1st Request: User A -> Device A -> App...

dgriffin's picture
Asked 1 month 1 week ago
Latest activity 1 month 1 week ago

Limiting Initial pull

Hey guys,

We are using Sync Gateway channels as users to save user specific data.

Lets say user have data for 1 year, all the documents have "date_created" field.

On the reinstall/fresh install, How do I make pull request for last 3 months data?

I know we can create...

knedle's picture
Asked 1 month 2 weeks ago
Latest activity 1 month 1 week ago

getQueryById Android

Based on ToDoLite Android sample app I am trying to get query by ID working in my app.

Note that document is created with the same id as the content:
Document document = database.getDocument(userId);

...

dgriffin's picture
Asked 2 months 1 hour ago
Latest activity 1 month 4 weeks ago

Sync gateway shutting down on closing ssh connection

Hey guys,

I have Couchbase server and sync-gateway running on the same Amazon EC2 instance. everything is working as expected.

Except, soon as I close the SSH window from my local machine, sync gateway on server shuts down.
I am starting sync gateway with $./sync_gateway...

JonasM's picture
Asked 2 months 2 days ago
Latest activity 2 months 2 days ago

how to update gps-tracks without massive overhead?

Hello,
i want to use couchbase lite for a gps tracker.
Therefore i have to synchronize my gps position every second (very frequently).
I have to use Couchbase Lite, because i used it also for storing and synchronizing other user data.

I've checked to possibilities:...

opic's picture
Asked 2 months 1 week ago
Latest activity 2 months 1 week ago

Building views in the background with Couchbase Lite

hello,

When you have a large database (let's say 10 000 documents) building views can be very long. Could we use a type of background view build mechanism ? Would this be available for the PhoneGap connector ?

The CouchDB REST Api specifies that on a query you could use the :...

Pages