Quantcast
Channel: Mobile - Couchbase Forums

Couchbase Lite C: Crashing on fresh Windows 11 installation

I found out, that the cblite.dll was not able to load MSVCP140.dll, VCRuntime140_1.dll and VCRuntime140.dll. Does this mean that I need to install the Visual C++ Runtime? This surprises me a bit...

View Article


Couchbase Edge - channels and Sync Function?

I see in the _changes feed docs there is filtered replication by channels? Is that feature available in CouchBase Edge? if so how do you get to the JS sync functions 1 post - 1 participant Read full...

View Article


Sync Gateway 2.5 Fails to Find GCS-Stored Attachments During Replication

I am running Couchbase Lite v3.2 against a Sync Gateway v2.5 and Couchbase v5 on the server. Replication is working except for attachments. Our Sync Gateway config includes: “attachmentsGCSBucket”:...

View Article

Is there away to know the connection is stuck and needs a manual restart?

I am brand new to couchbase and trying to do simple syncing. While it works, there are times the syncing appears to be stuck. I have to kill the app and restart it and then the syncing starts again....

View Article

CouchbaseLiteException{CouchbaseLite, 10403: rejected by validation function}

I am curious to know what causes the above. I see in my log. payment_0b68e04f-0332-48d2-bf42-f791424566a4 CouchbaseLiteException{CouchbaseLite, 10403: rejected by validation function...

View Article


Any downsides to using plain SQL++ queries over the Query Builder in...

I’m working with Couchbase Lite. I know that I can write queries either using the SQL++ or through the query builder. Are there any downsides (performance, safety, etc) to using SQL++ compared to...

View Article

Libicu in custom location

A Kotbase user asked about how to ensure their app can provide the required libicu version for users running their app on Linux, if they don’t have the required library version installed already. This...

View Article

Can I enforce sync order using a push filter and pendingDocumentIDs?

I have documents A and B where A needs to be synced before B. Can I use a push filter and pendingDocumentIDs to do this? My plan was to, in the push filter, check the if A is in pending docs, and...

View Article


Image may be NSFW.
Clik here to view.

AdminRest API documentation update

Hello folks, I wanted to contribute by pointing out an error in the Sync Gateway documentation, specifically in the “Start or Stop Resync” section. The error is in the request sample: When I tested...

View Article


Single vs Multiple Field Indexes

Context: In Couchbase Lite (via the Swift SDK), suppose I have model objects like this: class Song { var title: String var normalizedTitle: String var artist: String var normalizedArtist: String var...

View Article

Image may be NSFW.
Clik here to view.

Swift SDK: Please Improve Indexing Docs

Can we get improved documentation for the indexing APIs in the Swift SDK? Here’s what’s there right now: Questions the Docs should answer: Why would indexes() throw? Under what conditions do the other...

View Article

Couchbase Mobile Writes Significantly Delaying Reads: Is This a Known Issue?

Hello everyone, I’m encountering a consistent delay with Couchbase Mobile in my SwiftUI app. Specifically, writes are causing subsequent reads to be delayed by several seconds, and this delay seems to...

View Article

SG 2.8.0 and CB upgrade to 7.6.6

In a test environment I upgraded CB from 7.2.3 EE to 7.6.6 EE (2 server cluster). There is an existing SG 2.8.0 which was working in 7.2.3. After the upgrade I am getting the following warning...

View Article


Image may be NSFW.
Clik here to view.

Monitor Each Document Sync to Each CBL Clients

Hi, we have a case that we want to monitor whether there are still pending document sync for each collection between our Couchbase Sync Gateway and each client’s Couchbase Lite. Currently we are using...

View Article

Creating a user session is not assigning any channel

Hi, I’m creating a multi tenant app using sync gateway. The sync configuration function its like this: "sync": ` function sync(doc, oldDoc) { if (!doc.tenant_id) { throw({ forbidden: "Document missing...

View Article


CBL Optimal Decoding & Date Decoding Inconsistencies

As part of trying to optimise time spent on large queries (fetch + decode), i am trying to find the fastest solution to decode results. At the moment, the fastest way i found by my benchmarking that...

View Article

Error re-creating DB after password change; started happening with 3.x upgrade

Error re-creating DB after password change; started happening with upgrade We recently had to upgrade Couchbase Lite from 2.x to 3.2 due to Apple rejecting builds due to something our DevOps called...

View Article


Query change listener inner workings

First of all, an important question to anyone with deep knowledge on the lite sdk (i am working with the swift one but i imagine they all work the same?): Under the hood, does the...

View Article

Image may be NSFW.
Clik here to view.

Couchbase Swift SDK: Sync Progress Percentage is Not Useful

Summary In the Swift SDK, Replicator offers Status and Progress structs: But, in practice, if you divide completed by total during sync, here’s what the progress looks like: It’s always 99%! This...

View Article

Kotlin 2.1.x Support

Hello Team, We would like to double check if the current version of kotlin that couchbase is using is 1.9.24 ( Ref: couchbase-lite-java-ce-root/build.gradle at d1847e73d15663b16486aabefc10d1a5aead3095...

View Article

Android Application adding Index to collection

Can someone please help me? I’m working on an Android application and trying to add an index to a Couchbase Lite collection. However, when I run a query, it seems like the query actually takes...

View Article


Sync gateway does not delete sessions

The admin endpoint to delete all sessions for a user does not work. On our mobile app the sync stops but if we check the session is says valid. On our dashboard nothing changes, the session keeps...

View Article


Couchbase Lite Android – Failed to save remote checkpoint (HTTP 404 "No...

Hi, I’m trying to set up a Couchbase Lite replicator in an Android Java app that connects to a client’s Couchbase Server. Versions: Couchbase Server: 7.1.0 (build 2556) Couchbase Lite for Android:...

View Article

SQL++ COLLATE NODIACRITIC doesn't work as documented

I received a report from a Kotbase user that using a SQL++ query string with COLLATE NODIACRITIC or COLLATE DIACRITIC as documented results in the error: java.lang.IllegalStateException: Failed...

View Article

Can see my user in list of users but failed to authenticate

I created the user via curl (201) and can see his details curl -u Administrator:password http://localhost:4985/mydb/_user/Edge1User...

View Article