Quantcast
Channel: Mobile - Couchbase Forums
Browsing all 1117 articles
Browse latest View live

Get all docs api endpoint return Bad Request

curl -X GET "http://127.0.0.1:4985/foo/-Cl1xFEbqiZWjstOYw-QfRr?attachments=false&revs=false&show_exp=false" -H "accept: application/json" I call the api above and return doc...

View Article


Support java.time

In Android, it is now possible to use LocalDateTime, ZonedDateTime, LocalDate, and OffsetDateTime with coreLibraryDesugaring. Couchbase should as well. 1 post - 1 participant Read full topic

View Article


Inspect Android couchbase lite 2.8.1

Hi. How can we inspect and look into the couchbase lite on android device for debugging purpose? Thanks. 4 posts - 3 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

Waiting for other connection(s) to close before deleting

OS: WIndows 10 Language C++ inside UWP app I cannot delete the database(cbl::Database) neither using the deleteDatabase method or the static one. The replicator was closed, verified to be closed and...

View Article

NoClassDefFoundError : com.couchbase.lite.ConnectionStatus

This is a naive question. I have a simple gradle project (in IntelliJ) on Ubuntu with the dependencies specified as below: dependencies { testImplementation ‘org.junit.jupiter:junit-jupiter-api:5.6.0’...

View Article


Get filtered data from Couchbase to sync it with local PouchDb

I have a website running on local PouchDb and i have some transaction docs on Couchbase server for different regions. I need to sync the transaction data to pouchdb from couchbase specific to the...

View Article

Setting up couchbase server and sync gateway

Is there anyone in the community that can assist me with setting up a workable couchbase server and sync gateway that I can connect to from android application? I am a newbie with servers so I will...

View Article

Delete a database after stopping the sync not working

Hi, I want to delete a database but so far, I cant with this error: Cannot delete the database. Please stop all of the replicators before closing the database. I am doing: replicator.stop();...

View Article


Image may be NSFW.
Clik here to view.

Sync gateway grant access process 1 record over a second (N1QL...

Hello Couchbase Lover , I am using a community version Couchbase Server, Sync Gateway, Couchbase Lite, and Talend Open Studio to handle mobile synchronization interact with PostgreSQL. Here is my...

View Article


Sync Gateway sync function in Helm values.yaml

How do you define the sync gateway sync function in a values.yaml to configure a Helm release? I get an error like Error: failed to parse values.yaml: error converting YAML to JSON: yaml: line 112:...

View Article

Sync with remote db not happening

Sync with Couchbase server (community version) not happening , whenever a json document is pushed to local client database, its not syncing with server. Following is the code I am trying to execute...

View Article

Documentation of init() method

Simple documentation issue from: https://docs.couchbase.com/couchbase-lite/current/android/learn/java-android-database.html: The init() API accepts no parameters. Example 1. Initializer code //...

View Article

Data is visible from other channels for a user

I have created a user for sync gateway with access to a particular channel . However I am seeing that all the documents not marked for that channel are also visible. This is the sample...

View Article


Couchbase Lite Document URL

Is there a notion of Document URL that can be used on the client side to access a specific document using URLs? This could help leverage some of the existing libraries (for caching etc.,) built for...

View Article

Delete and re-create database

I am looking for a way to delete or even flush all the documents then re-create the database before I insert documents. Basically I have an array to insert with batch insertion so i want to delete the...

View Article


CBL & Android Version Mapping

Dear Experts, I have implemented Android native application with below version details: Android Version - 5.1 Couchbase Lite version - 2.1.0 SyncGateway version - 2.1.0 Couchbase Server - 5.1.1 We are...

View Article

When does CBL-ios 2.8.2 or 2.9.0 release?

I just check the CBL-ios master branch and it has updated vendor/couchbase-lite-core to recent commit, which is essential for supporting Apple Sillicon. So I’m wondering when will the next version...

View Article


Couchbase Webhook is not triggered

I have this sync gateway config: { “adminInterface”: “:4985”, “interface”: “:4984”, “log”:[“REST+”,“CRUD+”,“Events”,“Events+”,“HTTP+”], “databases”: { “suites_bucket”: { “server”:...

View Article

Couchbase sync gateway user's credential update

Hi, I have updated couchbase sync gateway user’s credentials in sync_gateway.json. But still, Couchbase lite able to connect with old credentials and even able to use sync gateway public rest API. How...

View Article

Can't update import_filter via admin api

When attempting to update a database via the admin api on SG 2.8 I get the following result { "error": "Bad Request", "reason": "Bad JSON: rest.DbConfig.ImportFilter: ReadString: expects \" or n, but...

View Article
Browsing all 1117 articles
Browse latest View live