Swift SDK: Dates Lose Precision
Context Using the Couchbase Swift SDK, suppose I do this: let now = Date() someMutableDocument.setDate(now, forKey: "now") I save this document to a collection, then fetch it again and use the SDK to...
View ArticleSync only partial data, query capella when needed
Hello, I am trying to figure out if Couchbase Lite and Capella database is the correct approach for an application. The application is developed in Flutter. On the user device I would like to have...
View ArticleApplication is crashing when updating the new application with couchbaseLite...
We are encountering a crash issue while updating the older application (Couchbase Lite version 3.1.3) to newer application (Couchbase Lite version with 3.2.1). Please find the crash details below:...
View ArticlePthread_mutex_lock called on a destroyed mutex
We are experience a crash in our android app in the version v.3.1.7 The logs is the following. FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x) backtrace: #00 pc 0x0000000000066b78...
View ArticleCouchbase Lite bi-directional sync is not working as expected
We are trying to create a proof of concept for our new android project that requires offline first capabilities. We are using free tier hosted by Couchbase. Current behavior: Local documents are...
View ArticleSync Gateway Upgrade Braking Sync
Hi I hope someone can point me in the right directions, after upgrading my sync gateway from 3.0 to 3.2, the replicators are no longer able to sync with the following error in the logs:...
View ArticleJava ProGuard rules
A Kotbase user reported that the documented ProGuard rules are insufficient. I noticed these changes that were made to the documentation haven’t been published. There was also a small addition to...
View ArticleSync Gateway Not Syncing Custom Collection to Mobile Database
I am new to Couchbase and need guidance to resolve the following issue: When I start a replication process from my React Native Android app (using Kotlin), the default collection syncs correctly if I...
View ArticleAuto-Create Remote Collections?
I’m using the Couchbase Swift SDK to build an application. I’d like to configure sync so that collections I create in the local database are automatically created on the server if they don’t already...
View ArticleLive Query that updates only when the set of matching documents changes?
I’m using the Couchbase Lite Swift SDK syncing with Capella. Suppose I have an SQL++ query like this: SELECT *, Meta.id() FROM `scopeX.CollectionFoo` WHERE someFooProperty = “blah” If I turn this into...
View ArticleCouch base query for nesting docs from another collection
I have a Playlist collection and Audio collection. I want to fetch a document from Playlist collection using a specified playlist id. I also want to fetch all the Audio documents from Audio collection...
View ArticleCouchbase Lite 3.1.3 – Peer-to-Peer Sync & Capella Collection Issues
I am using Couchbase Lite version 3.1.3 and experiencing issues with peer-to-peer replication. Data transfer between two devices is happening, but the received data is not being stored on the receiver...
View ArticleLive Query Dynamic Date
Is there as of a yet a way to use a dynamic date inside a couchbase lite live query? I.e. Is there a way to rewrite the following WHERE clause WHERE STR_TO_MILLIS(item.date) <...
View ArticleAttempt to perform an operation on a closed database or a deleted collection
Hi, I am building a mobile application using swift and couchbase lite with replication. I am having issues with logging out. Right now, I can successfully logout a user upon request with this code:...
View ArticleKeeping data after app uninstall
I sense it might not be a CBL issue but here I go. Due to business requirements, some documents will not be syncing all the way to couch base. But now challenge is user might uninstall the app before...
View ArticleCompile vector search lib without AVX2
Hey there, We distribute Couchbase Lite in our desktop application, and we’re running into difficultites with vector search on devices without AVX2 support. I know this is expected behavior, but this...
View ArticleSet App User Role using OIDC
Hi! My team is using OIDC to authenticate our users. We are wanting to assign all users created to the “basic-user” app role so they have access to some documents that should be publicly available. I...
View ArticleCBL Count With multiple Left Joins
Hi! How can I modify this Couchbase Lite Query to correctly return the distinct count of tasks and notes, along with an accurate sum of both? Right now, the query inflates the values. For example, I...
View ArticleSyncing seems to stop randomly and restarts if I restart the app
Hi! I really don’t have a unique code but just syncing with sync gateway that works really well. But at times, there is no syncing that happens (but I know there is data in the Couch Base server). If...
View ArticleCouchbase Edge Server 1.0 is here!
Introducing the newest addition to Couchbase Mobile product family - a lightweight standalone database server for the resource constrained edge. The Edge Server is designed to cater to specific Edge...
View Article