Proguard rules for CouchbaseLite v3.0.0-beta02

Hi !

Can you tell me what are the Proguard rules for CouchbaseLite v3.0.0-beta02 ?

I tried the same as 2.8 :

-keep class com.couchbase.lite.ConnectionStatus { <init>(...); }
-keep class com.couchbase.lite.LiteCoreException { static <methods>; }
-keep class com.couchbase.lite.internal.core.C4* {
    static <methods>;

but when I build with “minifyEnabled true” it seems that I can’t access my database.

I have nothing in Logcat indicating that rules are missing, the only Couchbase related log is :

ContextImpl: Failed to ensure directory: /storage/extSdCard/Android/data/

Thanks for your help !

Hmmm… I’d have guessed that those rules wold still work. I haven’t tested them in a while, though.

I’ve created: to track this.

Hi, the Proguard rules for CBL 3.0 are like what you have. I have tested those rules and verified that they work as expected. Please let us know if you still need help.