We really don't want to move away from Couchbase lite, we have been using 
it since TouchDB. 
Also, do you have ideas why NSJSONSerialization dataWithJSONObject can 
cause a crash in Couchbase lite during pull replication? It is really 
critical since it causes our app to crash during replication.

On Sunday, September 10, 2017 at 10:03:12 PM UTC-7, Jens Alfke wrote:
>
>
>
> On Sep 10, 2017, at 9:13 PM, dyowee <[email protected] <javascript:>> 
> wrote:
>
> We are unable to update beyond 1.1.1, due to lesser support for CouchDB, 
> such as the filter functions.
>
>
> You mean the inconsistency in how CouchDB accepts _changes parameters in a 
> POST vs a GET? If you're willing to make a few changes in CBL to be 
> compatible with whatever CouchDB is expecting, it would probably save you 
> trouble in the long run; there have been so many fixes and improvements in 
> CBL since 1.1.1.
>
> When we added support for sending _changes as a POST (in CBL and Sync 
> Gateway), we simply moved all the URL parameters to equivalent POST body 
> parameters. But for some reason when CouchDB made the same change, they 
> only enabled a small subset of the parameters to go in the POST; the rest 
> still have to go in the URL. I have no idea why.
>
> In the ChangeTracker class in CBL you can disable the use of POST if the 
> server isn't known to be SG; that would be the easiest and safest approach. 
> Or if you need to send POST, you can figure out which parameters CouchDB 
> wants, and then modify the code to put only those parameters in the body.
>
> —Jens
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/49086556-a266-4c5e-adeb-4fcca3e45f9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to