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

Image may be NSFW.
Clik here to view.

DllNoteFoundException after upgrading Dev Mac to Ventura/XCode 14.1

Summary Has something changed between MacOS Monterey (12.x) and the newly released Ventura (13.x) that would cause problems with Couchbase.Lite 3.0.2? There was an issue with hardened apps (link),...

View Article


Using SUBSTR() function

I am using ASP .Net Core 6 and Couchbase Mobile Lite 3.0.2 I have a query like below using SUBSTR and whenrunning I am getting the error like “N1QL syntax error near character 14.'” Does Couchbase...

View Article


FTS index issue when using a JOIN

I am using Couchbase mobile version 3.0.2 I would like to use the FTS index in a query with a join. Example: select * from _ as cat left join _ as dog on cat.favouriteHuman = dog.favouriteHuman where...

View Article

CBL_CopyDatabase fails if fromPath does not have trailing path separator

Couchbase Lite C SDK: 3.0.2 On non-Apple platforms, CBL_CopyDatabase fails if the fromPath does not end with a path separator. For more context, please see this issue: Database.copy throwing an error...

View Article

How can I retrieve a blob from a Result (ResultSet) returned by executing a...

Hi I’m saving a couple of blobs in a document. String addJsonDocument(String docId, String json, Map<String, Blob> blobs) { MutableDocument doc = new MutableDocument(docId, json);...

View Article


Couchbase.lite android exception Delete Database Failed: there are still open...

I tried to delete my couchbase database on the device with database.delete(), but pretty often it failed with error: "error=Can’t delete db file while other connections are open. The open connections...

View Article

How to iterate coubase lite sub query using Java

SELECT DBCollection.collectionType, Configuration FROM DBCollection UNNEST Configurations AS Configuration WHERE Configuration.Id = “01”; 1 post - 1 participant Read full topic

View Article

CBLDatabase not creating in iPad

When I am creating CBLDatabase using below code CBLDatabaseConfiguration* config = [[CBLDatabaseConfiguration alloc] init]; [config setDirectory:[[NSBundle mainBundle] resourcePath]]; CBLDatabase *db...

View Article


Image may be NSFW.
Clik here to view.

Invalid login when calling _session endpoint of Public REST API

Hello, as part of the migration of our Flutter app from Firebase to Couchbase, we also need to migrate Firebase Auth. We have decided to use a Keycloak server. Logging in to this already works without...

View Article


In-development REST API documentation

@priya.rajagopal where can i get the example config or rest api for the current GitHub - couchbase/sync_gateway: Manages access and synchronization between Couchbase Lite and Couchbase Server master...

View Article

Document Synced to the server only from the first Device sync it the Server

We have an app that have a server replication and peer replications , we notice that the document only Synced with the server only from the Device who make the first Sync to the Server . 3 posts - 2...

View Article

Image may be NSFW.
Clik here to view.

Fixing a crash "Attempt to perform an operation on a closed database"

Heads up, Code Owner of CouchDB Lite iOS! Please review this PR at your earliest convenience, thanks a lot! github.com/couchbase/couchbase-lite-ios Fixing a crash “Attempt to perform an operation on a...

View Article

Upgrading Couchbase lite from 1.x to 3.x

Hi, I am updating Couchbase Lite 1.x version to Couchbase Lite 3.x version in iOS Objective C. I am having Couchbase Lite 1.x code written in programming language Objective -C. Can any one tell me...

View Article


Code updating from Couchbase Lite 1.x to 3.x in iOS

What will be the equivalent of below code in Couchbase Lite 3.x ? Below is the Objective C Couchbase Lite 1.x code 1) CBLDocument *doc = [self getDocumentWithKey:documentID]; CBLUnsavedRevision...

View Article

Embarrassingly dumb question - can't get sync going on .Net 6 or 7

I have an app that works on Xam.Mac and iOS, but SG and CBL are not supported there. Upgrading my mac to Ventura caused the Mac app to stop working. I could never get it going again (after several...

View Article


Sync Function does not update

For some reason I can’t explain, I can no longer change the sync function for my server. I am using the Couchbase Postman Collection (Postman Collections for Sync Gateway Administration - The...

View Article

Document access control (authorization) in multiple android devices...

Is it possible to restrict a document access in synced mobile devices? My use case: there are several mobile users that live in an area without internet access. I am creating an app for them to gather...

View Article


Couchbase lite Android Kotlin

Hello i am trying to find out if there is a internal Queue in couchbase Lite and response on success for example i am using the following database.save(mutable_doc) database.get(mutable_doc) and this...

View Article

How to use an index in couchbase lite api

How can I instruct the query builder which index to use by name I know the engine can pick whatever index matches the query, but it’s not always accurate to my needs, so I need to specify which index...

View Article

Get documents that are not RED or GREEN not working with query builder

I have documents like {status: ‘RED’}, {status:‘GREEN’}, {status:‘YELLOW’}… Now I want to get all documents that re not RED or GREEN. The query below works well with vs code Couchbase Lite extension:...

View Article
Browsing all 1136 articles
Browse latest View live