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

Image may be NSFW.
Clik here to view.

Prioritize the push of certain documents

Hello Is there a way to prioritize the push of a type of document ? For example, in our application, we push two documents : a document A and a document B. They have a strong business link. When there...

View Article


Sync Gateway - Add new Field in SYNC function

Hi Team, is it possible to add new field in syncgw function? we have tried with below, let’s say we want to add field called ($MdfdTmstmp ) doc.$MdfdTmstmp = “2021-06-11”...

View Article


Android couchbase-lite-core poll() crash when in background

I encountered several crashes on Android, all happening after onPause() or onStop() events (so while the application is in background). Is there any knowledge about this issue? Should the...

View Article

Memory leak in replication

In my Xamarin Forms application (a UWP application) I have a use case that continuously does PushAndPull replications for up to an hour. My initial implementation used the continuous-mode...

View Article

Internal error: Partial errors in view

I have two Couchbase Server nodes (v6.6.0 CE) in my cluster and one Sync Gateway (v2.8.2 CE) running on top of them. When querying a view through the admin API (port 4985) with stale=false, the Sync...

View Article


Image may be NSFW.
Clik here to view.

Query certain properties given their "visibility"

Hello, I’d like to Query some properties from my Document if their “read” nested property is “Public”, here I attach the Document JSON structure : { type: "avatar", name:{ read: "Public", write:...

View Article

Syncing only recent data from server to couchbaselite

Hi, we have an application that has a lot of historical data for users. If they login we don’t want them having to sync down 100’s of MBs of data. To avoid this we would like to only sync the last...

View Article

Single database, one channel per user?

This must be a very common scenario, but I don’t see it documented anywhere or mentioned in best practices. It seems to be used in the userprofile sample db, but that is a toy example. I have a mobile...

View Article


[Couchbase lite 2.8.4] - purging tombstones in cbl

Hello everybody, Is there a way to purge tombstones in cbl ? In sync gateway document I can read “Purging of tombstones is also required on Couchbase Lite. For example, you might decide that if a...

View Article


[Couchbase lite 2.8.4] - reindexation only with couchbase support?

Hi, I’ve just discovered the performMaintenace method but I don’t understand the comment about the MaintenanceType.REINDEX. why this comment ? “Use only in collaboration with Couchbase Support” ? 2...

View Article

Xamarin.Forms / iOS app cannot find the litecore.framework

Hi, I’ve updated VS 2019 16.10.2 / XCode 12.5 / newest nuget packages in my Xamarin.Forms app (with Couchbase.Lite 2.8.4). When I start the debbuger, the Visual Studio tries to deploy the app to the...

View Article

SGW What happens to _attachments after an upgrade?

We are looking on upgrading SGW 2.7.x, but this version has moved attachments from _attachment to sync.attachments What happens to older documents that have _attachments, to they get migrated? 2 posts...

View Article

Get fields of a specific index

For a task I am doing, I need to know the fields that make up an index. For e.g. I have created an index like this: database.createIndex("indexName", IndexBuilder.valueIndex(...

View Article


How to permanently delete Couchbase attachments (obsolete)

We use Couchbase server to store documents with media attachements (images). We also need to be able to delete documents with attchements. I came around this issue lately...

View Article

Image may be NSFW.
Clik here to view.

IOS --> Replicator::pendingDocumentIDs crashing

We are facing crashing issues while trying to get pendingDocumentIDs from replicator. This issue is not occurring everytime. Herewith, I am attaching the crashing report from Instabug. Version:...

View Article


Why sqlite as an embedded database?

I’m wondering why not embed Couchbase instead of sqlite? Not a full server. Perhaps a stripped down one node server (removing analytics and whatever else is not needed) ? 4 posts - 3 participants Read...

View Article

Handle revision rejected from sync function

What is the best practice for handling a revision rejected from the sync function? At the moment when it happens the document stop syncing and won’t get new revisions. It is stucked to the rejected...

View Article


Image may be NSFW.
Clik here to view.

couchbase-lite-C usage for a production app

Hello @borrrden @jens , GitHub couchbaselabs/couchbase-lite-C C language bindings for the Couchbase Lite embedded NoSQL database engine - couchbaselabs/couchbase-lite-C Help us understand when can one...

View Article

Conflict resolver don't sync blob

Hi, We work wtih cblite v2.7.1 and sync gateway 2.7.4 on an Android environment . After applying document custom conflict resolution, the document is sent without binary document/attachement, the...

View Article

Replicator with proxy

Hello. Here I tried to develop a small application with CouchBase and CouchBase Lite. On the other hand I find myself in front of a problem. In a normal environment the synchronization works...

View Article
Browsing all 1116 articles
Browse latest View live