Sync Gateway Client Sync Verification
Hi @here I would like to find out how I can verify whether or not a document has successfully synced with its intended client using the Sync Gateway Admin API. Is there an endpoint that can give me...
View ArticleShell command line with cblite-tool to insert json data/arrays autmatically
I tried to find a way to insert large csv files (or json after converting them) into a prebuilt db. and i posted that on stackoverflow A guy created a file that works on several platforms ( you can...
View ArticleProblem with migrating couchbase from 2.0.2 to 2.1.0 and later version
Hello, I have following problem witch couchbase community lite for android. My client want to distribute the app through Google Play Store, they are using couchbase 2.0.2 and I need to update it to at...
View ArticleCopy Pre-populated Database and channels
I have a database that contains over 600MB of attachments. I need to embed the mobile database WITHOUT the attachments into my app. So I created two channels: data and att. Documents without...
View ArticleSync Gateway support for scopes and collections
It’s great that Couchbase Server 7.0 has been released with support for scopes and collections. We look forward to utilizing this functionality for multi-tenancy. But we require support for sync...
View ArticleHow to safely cast CouchbaseLite Array to List
In my data class (or POJO), I have a list of Strings among other things. I used setArray() to put the list of Strings in a document like so: . . . mutableDict.setArray(KEY_LIST_OF_STRINGS,...
View ArticleCrash on Android: UnsatisfiedLinkError
Hey there! I have an issue with my app and it’s basically related to this crash report: java.lang.UnsatisfiedLinkError: No implementation found for long...
View Articlejava.lang.IllegalArgumentException: handle must not be 0 when iterating...
Hello, I am running CBLite 2.8.5 on Android. I am seeing an exception being thrown on rare occasions when iterating through an Array and attempting to filter and map it is a Dictionary. Specifically...
View ArticleCheck if document synced
Hi I have a mobile application that uses couchbase lite with a replicator. After saving a document is there any way to check if the document has synced. I need a way of knowing if my application is...
View ArticleUnresolved class name in minification documentation
Setup: Android CBL 2.8 Documentation is here and here: -keep class com.couchbase.lite.ConnectionStatus { <init>(...); } -keep class com.couchbase.lite.LiteCoreException { static <methods>;...
View ArticleCouchbase lite c#.net sync gateway certificate
Hi All, I’m configuring the replicator on a mobile app in order to activate bi-directional sync with our client sync gateway. The app is developed with xamarin forms and use the latest version of...
View ArticleCan't stop replicator if socket take long time to response
Hi, Today I use cblite ce android 2.8.4 How can safe stop replicator if socket take long time or not to response ? My solution is “stop replicator, wait replicator to stop (max 10 sec), clear memory”....
View ArticleCouchbaseLite.init() IllegalStateException: Tmp dir root is null
We have a user that experiences this crash repeatedly: Caused by java.lang.IllegalStateException: Tmp dir root is null at...
View ArticleHow does Sync Gateway work under the hood?
Out of curiosity, I’ve been reading about formal approaches to data syncing. The big players I found out about are Operational Transforms and Conflict-free Resolution Data Types. Does Sync Gateway use...
View ArticleCouchbase lite 1.4.1 DB encryption issue
We still use Couchbase lite 1.4.1 for one of our projects and currently we are not able to update it to the new version. We don’t use a DB encryption now. If we add encryption - it works if we create...
View ArticleCouchbase Lite query in Swift for N1QL query?
Hi Team, Can you please suggest the Couchbase lite swift query for below N1QL query? “SELECT sellingFood,soldFood LET sellingFood = (” SELECT * FROM db where type = ‘food’ AND isSold = true AND foodID...
View ArticleHow does indexes work on CB Lite
I have tried to found how does CB Lite indexes work on Sync Gateway document replication. But i couldn’t find any information on this topic. I have and issue on android app. After initial replication...
View ArticleQuery execution crash on Windows UWP (ARM64)
I am aware that ARM64 is not supported, however the library was working with the commits before Feb 20 (366a3ec156601b75afaa34ba253cbdaf1470cae5). Any opinion on what causes this would be greatly...
View ArticleCouchbase Lite Swift Join documents of more than two types
So far i can only perform join on documents of two different types follows as follows .join( Join.join(DataSource.database(database!).as(“route”)) .on( Meta.id.from(“airline”)...
View ArticleSync gateway - revision id capture
Hi Team, we have 3 sync-gw setup and it was front ended by the Load balancer when we try to hit the SYNC GW rest end point. Question is, when I try to look up the actual document revisions, some of...
View Article