filterParams (again) with CouchDB from Android

15 views
Skip to first unread message

Michael Hines

unread,
Aug 16, 2016, 2:53:48 PM8/16/16
to Couchbase Mobile
Hey guys,

I'm having exactly this problem: https://github.com/couchbase/couchbase-lite-ios/issues/1139

I upgraded my app from an 1.0.0 to 1.3.0 on Android (community version).

When I issue:
pull.setFilterParams(params);

I'm sure the parameters get posted, but since CouchDB is looking for them in the URL, not the body, I'm hitting the same bug.

Is there a workaround for me?


Michael R. Hines

unread,
Aug 16, 2016, 3:32:55 PM8/16/16
to Couchbase Mobile
FWIW: Setting this to 'false' did solve my problem. But, it would be nice if it was exposed in the API instead of having to rebuild the source.

https://github.com/couchbase/couchbase-lite-java-core/blob/release/1.3.0/src/main/java/com/couchbase/lite/replicator/ChangeTracker.java#L108

- Michael
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/G5LVj98q62s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/70909500-c31a-4959-a97c-dcf958d9f2f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
/*
 * Michael R. Hines
 * https://michael.hinespot.com
 */
Reply all
Reply to author
Forward
0 new messages