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

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

Image may be NSFW.
Clik here to view.

CSG: Changing user password incredibly slow

I’m running CSG 3.0.9 and Couchbase Server 7.1.1. Lately, a strange problem started to appear: changing CSG user passwords for existing users via POST to the _user REST api is incredibly slow...

View Article

Browsing all 1117 articles
Browse latest View live