It's work for me, and wanted to share. I was also curious to know if it could be improved.
Jeff Le mardi 4 novembre 2014 19:32:28 UTC+1, Traun Leyden a écrit : > > Are you saying you cannot (or don't want to) disable Proguard? > > I remember when Google enabled Proguard by default at some point, I spent > a chunk of time writing a Proguard file that would work with Couchbase > Lite. I don't remember if I ever got it fully working, but I think I > discovered the ability to disable Proguard completely, and so I threw away > what I had come up with. > > Did your Proguard config work for you, and you are just looking to enhance > it? Or did you get errors? > > > On Fri, Oct 31, 2014 at 3:09 PM, Geoffrey Marizy <[email protected] > <javascript:>> wrote: > >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/mobile-couchbase/7fa4a4fb-5e29-4ad6-a3f4-7278b2bc163b%40googlegroups.com >> >> <https://groups.google.com/d/msgid/mobile-couchbase/7fa4a4fb-5e29-4ad6-a3f4-7278b2bc163b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/0f359594-b90f-41dc-a7a4-f645b70c286c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
