Hi, 

Couchbase mobile for android didn't worked out of the box with Proguard for 
me. The doc advice here 
<http://developer.couchbase.com/mobile/develop/training/build-first-android-app/get-started-studio/index.html#troubleshooting>
 
to disable it and I didn't find a lot about this topic, except this 
<http://fxthomas.github.io/android-plugin/tutorial/annex-b-cookbook.html>. 
I empirically get those rules, which may interest some :
-keepnames class org.codehaus.jackson.** { *; }
-dontwarn org.codehaus.jackson.map.ext.**

-keep class com.couchbase.touchdb.TDCollateJSON { *; }
-keep class com.couchbase.lite.android.AndroidLogger { *; }
-keep class com.couchbase.lite.android.AndroidSQLiteStorageEngine { *; }

Does someone have a bullet-proof Proguard config ?

Jeff

-- 
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/7fa4a4fb-5e29-4ad6-a3f4-7278b2bc163b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to