Re: LiteCore and CouchDB replication

2018-09-05 Thread Adam Wilson
a month to run. For my current project this is simply not feasible. Looks like its time to look at alternative options. On Tuesday, 4 September 2018 19:10:03 UTC+1, Jens Alfke wrote: > > > > On Sep 2, 2018, at 2:24 AM, Adam Wilson > wrote: > > My question now is, w

Re: LiteCore and CouchDB replication

2018-09-02 Thread Adam Wilson
27 UTC+1, Brendan Duddridge wrote: > > It would be great to be able to sync from CouchbaseLite 2.x to CouchDB. > But I don't think they support that. > > It's what's keeping me from upgrading to 2.x. > > Brendan > > On Saturday, September 1, 2018 at 6:32:33 PM UTC-6

LiteCore and CouchDB replication

2018-09-01 Thread Adam Wilson
I'm trying to replicate from CouchDB using LiteCore (from C++). I'm linking to the static libraries, and using C4CivetWebSocketFactory. It looks like its trying to connect via WebSocket and receiving an HTTP response. Since CouchDB does not currently support WebSockets, how can I get it to

Re: 'c4Internal::Database' has protected destructor

2018-05-27 Thread Adam Wilson
Looking into the library code a bit more, I realised I just need to use the C4Database subclass. On Sunday, 27 May 2018 10:07:55 UTC+1, Adam Wilson wrote: > > I'm using LiteCoreStatic lib in a C++ project, and hit this compilation > error: > > 'c4Internal::Database' has prote

'c4Internal::Database' has protected destructor

2018-05-27 Thread Adam Wilson
I'm using LiteCoreStatic lib in a C++ project, and hit this compilation error: 'c4Internal::Database' has protected destructor My sample code: #include "Database.hh" static const C4DatabaseConfig kDBConfig = { .flags = (kC4DB_Create | kC4DB_AutoCompact | kC4DB_SharedKeys),

LiteCore as server?

2018-02-14 Thread Adam Wilson
After a little clarfification in this thread on peer to peer replication , I have some questions regarding the use of LiteCore as a "server": 1. Would it still be possible to authenticate a user and only replicate

Re: LiteCore and IPFS

2018-02-13 Thread Adam Wilson
ealing with conflicts (the complicated part I guess). Any pointers would be much appreciated, thanks. On Saturday, 21 October 2017 00:46:48 UTC+1, Adam Wilson wrote: > > Continuing on from > https://github.com/couchbase/couchbase-lite-core/issues/274 > > I have been thinking about this,

Re: Getting notifications when run on background thread

2018-01-02 Thread adam wilson
Thanks, that makes sense, I do have observers running, and they are sending messages across the JS/native border in a React Native app, which is notoriously expensive. I'll take a look. On 2 January 2018 at 22:47, Jens Alfke <j...@couchbase.com> wrote: > > > On Jan 2, 2018, a

Re: Getting notifications when run on background thread

2018-01-02 Thread Adam Wilson
? On Tuesday, 2 January 2018 17:52:37 UTC, Jens Alfke wrote: > > > > On Dec 29, 2017, at 7:40 AM, Adam Wilson <adam.el...@gmail.com > > wrote: > > I've added an option to a library > <https://github.com/adamski/react-native-couchbase> I'm using to

Getting notifications when run on background thread

2017-12-29 Thread Adam Wilson
I've added an option to a library I'm using to replicate on a background thread. The relevant code: [manager backgroundTellDatabaseNamed:databaseLocal to:^(CBLDatabase *bgdb) { NSLog(@"Starting pull on background thread..."); // Inside

Re: Number of documents replicated less than those reported by Sync Gateway

2017-12-08 Thread Adam Wilson
> them to find the "missing" docs, which might provide some clues. > > > On Wednesday, December 6, 2017 at 2:31:08 PM UTC-8, Adam Wilson wrote: >> >> Following on from >> https://forums.couchbase.com/t/sync-replication-progress/14987 >> >> I ha

Updating document via Sync Gateway removes attachments

2017-12-07 Thread Adam Wilson
I've found that I need to re-insert attachments after a document update (via PUT). Is this normal? I'm sure the docs say that attachments are not affected by updates. -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from

Number of documents replicated less than those reported by Sync Gateway

2017-12-06 Thread Adam Wilson
Following on from https://forums.couchbase.com/t/sync-replication-progress/14987 I have a view on Sync Gateway that counts the number of documents in a view. This view is basically the same as a channel I have defined. I have also defined the same view in Couchbase Lite (iOS, v1.4). I am

LiteCore and IPFS

2017-10-20 Thread Adam Wilson
Continuing on from https://github.com/couchbase/couchbase-lite-core/issues/274 I have been thinking about this, and I think it would be a great asset to be able to use IPFS and its "Merkle DAG" storage as a remote data store for LiteCore. I have been reading around, and to answer your previous

Re: propertynameItemClass in swift

2015-09-16 Thread adam wilson
Thanks, I found the latest release 1.1.1-18 and its working fine now. Also heped to look at this project <https://github.com/24601/CBL-Bug-Demo>. On Wednesday, 16 September 2015 05:41:57 UTC+1, Jens Alfke wrote: > > > On Sep 15, 2015, at 3:30 PM, adam wilson <adam.el...@gm

Re: propertynameItemClass in swift

2015-09-15 Thread adam wilson
Has there been any progress on this? I'm in the process of building an iOS CBLite app with Swift and hit this issue with CBLModel and @dynamic properties... Or do the model classes still need to be Objective-C? On Tuesday, 4 November 2014 05:48:43 UTC, Jens Alfke wrote: > > Thanks for the test

Re: Looking for cross-platform syncing solution. Windows?

2014-10-25 Thread adam wilson
no response. I guess its all about how widely it gets adopted. And - Apple open-sourcing Swift, would be great! Have a feeling they would prefer to keep the gates locked on their walled garden... On Thursday, 23 October 2014 05:23:02 UTC+1, Jens Alfke wrote: On Oct 22, 2014, at 3:03 PM, adam

Re: Looking for cross-platform syncing solution. Windows?

2014-10-25 Thread adam wilson
25, 2014, at 1:08 AM, adam wilson adam.elemen...@gmail.com wrote: Thanks Zachary, that sounds promising. I've not seen examples of including C# in C++ projects, at least not within Xcode, my current development environment. I've used Mono in the past, so I guess its possible. It would

Looking for cross-platform syncing solution. Windows?

2014-10-22 Thread adam wilson
I'm looking for a cross-platform data syncing solution and Couchbase Lite looks like a winner atm, with Sync Gateway handling restriction of data between users. I am currently developing an iOS and Android app, but also looking to build a desktop app that will share / use the same data. OSX